类 PointShape
- java.lang.Object
-
- org.meteoinfo.geometry.shape.Shape
-
- org.meteoinfo.geometry.shape.PointShape
-
- 所有已实现的接口:
Cloneable
- 直接已知子类:
BarShape,ImageShape,PointZShape,StationModelShape,WeatherSymbol,WindArrow,WindBarb
public class PointShape extends Shape implements Cloneable
Point shape class- 作者:
- Yaqiang Wang
-
-
构造器概要
构造器 构造器 说明 PointShape()ConstructorPointShape(org.locationtech.jts.geom.Geometry geometry)ConstructorPointShape(PointD point)Constructor
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 Objectclone()ClonePointDgetPoint()Get pointShapeTypesgetShapeType()Get shape typevoidsetPoint(PointD point)Set pointorg.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, factory, geometry2Shape, getExtent, getLegendIndex, getPartNum, getPointNum, getPoints, getValue, intersection, intersects, isEditing, isSelected, isVisible, move, moveVertice, overlaps, reform, removeVertice, reverse, setEditing, setExtent, setLegendIndex, setPoints, setSelected, setValue, setVisible, split, symDifference, toGeometry, touches, union, updateExtent, within
-
-
-
-
构造器详细资料
-
PointShape
public PointShape()
Constructor
-
PointShape
public PointShape(PointD point)
Constructor- 参数:
point- The point
-
PointShape
public PointShape(org.locationtech.jts.geom.Geometry geometry)
Constructor- 参数:
geometry- Geometry
-
-
方法详细资料
-
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 point)
Set point- 参数:
point- Point
-
-