类 PointShape
- java.lang.Object
-
- org.meteoinfo.geometry.shape.Shape
-
- org.meteoinfo.geometry.shape.PointShape
-
- 所有已实现的接口:
java.lang.Cloneable
- 直接已知子类:
BarShape,ImageShape,PointZShape,StationModelShape,WeatherSymbol,WindArrow,WindBarb
public class PointShape extends Shape implements java.lang.Cloneable
Point shape class- 作者:
- Yaqiang Wang
-
-
字段概要
字段 修饰符和类型 字段 说明 protected org.meteoinfo.common.PointDpoint
-
构造器概要
构造器 构造器 说明 PointShape()ConstructorPointShape(org.locationtech.jts.geom.Geometry geometry)Constructor
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 java.lang.Objectclone()Clonejava.lang.Objectclone_back()Cloneorg.meteoinfo.common.PointDgetPoint()Get pointjava.util.List<org.meteoinfo.common.PointD>getPoints()Get pointsShapeTypesgetShapeType()Get shape typevoidsetPoint(org.meteoinfo.common.PointD aPoint)Set pointvoidsetPoints(java.util.List<? extends org.meteoinfo.common.PointD> points)Set pointsorg.locationtech.jts.geom.GeometrytoGeometry(org.locationtech.jts.geom.GeometryFactory factory)To geometry method-
从类继承的方法 org.meteoinfo.geometry.shape.Shape
addVertice, buffer, cloneValue, contains, convexHull, coveredBy, covers, crosses, difference, disjoint, equals, geometry2Shape, getExtent, getLegendIndex, getPartNum, getPointNum, getValue, intersection, intersects, isEditing, isSelected, isVisible, move, moveVertice, overlaps, reform, removeVerice, reverse, setEditing, setExtent, setLegendIndex, setSelected, setValue, setVisible, split, symDifference, toGeometry, touches, union, within
-
-
-
-
方法详细资料
-
getShapeType
public ShapeTypes getShapeType()
从类复制的说明:ShapeGet shape type- 指定者:
getShapeType在类中Shape- 返回:
- Shape type
-
toGeometry
public org.locationtech.jts.geom.Geometry toGeometry(org.locationtech.jts.geom.GeometryFactory factory)
To geometry method- 指定者:
toGeometry在类中Shape- 参数:
factory- GeometryFactory- 返回:
- Geometry
-
getPoint
public org.meteoinfo.common.PointD getPoint()
Get point- 返回:
- point
-
setPoint
public void setPoint(org.meteoinfo.common.PointD aPoint)
Set point- 参数:
aPoint- point
-
getPoints
public java.util.List<org.meteoinfo.common.PointD> getPoints()
Get points
-
setPoints
public void setPoints(java.util.List<? extends org.meteoinfo.common.PointD> points)
Set points
-
clone_back
public java.lang.Object clone_back()
Clone- 返回:
- PointShape
-
-