类 PointShape
- java.lang.Object
-
- org.meteoinfo.shape.Shape
-
- org.meteoinfo.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
-
-
构造器概要
构造器 构造器 说明 PointShape()ConstructorPointShape(org.locationtech.jts.geom.Geometry geometry)Constructor
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 java.lang.Objectclone()Clonejava.lang.Objectclone_back()ClonePointDgetPoint()Get pointjava.util.List<PointD>getPoints()Get pointsShapeTypesgetShapeType()Get shape typevoidsetPoint(PointD aPoint)Set pointvoidsetPoints(java.util.List<? extends PointD> points)Set pointsorg.locationtech.jts.geom.GeometrytoGeometry(org.locationtech.jts.geom.GeometryFactory factory)To geometry method-
从类继承的方法 org.meteoinfo.shape.Shape
addVertice, buffer, cloneValue, contains, convexHull, coveredBy, covers, crosses, difference, disjoint, equals, geometry2Shape, getExtent, getLegendIndex, getValue, intersection, intersects, isEditing, isSelected, isVisible, move, moveVertice, overlaps, reform, removeVerice, reverse, setEditing, setExtent, setLegendIndex, setSelected, setValue, setVisible, split, symDifference, toGeometry, touches, union, within
-
-
-
-
字段详细资料
-
point
protected PointD point
-
-
方法详细资料
-
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 PointD getPoint()
Get point- 返回:
- point
-
setPoint
public void setPoint(PointD aPoint)
Set point- 参数:
aPoint- point
-
getPoints
public java.util.List<PointD> getPoints()
Get points
-
setPoints
public void setPoints(java.util.List<? extends PointD> points)
Set points
-
clone_back
public java.lang.Object clone_back()
Clone- 返回:
- PointShape
-
-