类 CylinderShape
- java.lang.Object
-
- org.meteoinfo.geometry.shape.Shape
-
- org.meteoinfo.geometry.shape.CylinderShape
-
-
构造器概要
构造器 构造器 说明 CylinderShape()ConstructorCylinderShape(List<PointZ> points, double radius)ConstructorCylinderShape(PointZ p1, PointZ p2, double radius)Constructor
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 doublegetDiameter()Get diameterdoublegetHeight()Get cylinder heightPointZgetPoint(int i)Get a vertex pointList<PointZ>getPoints()Get vertex pointsdoublegetRadius()Get radiusShapeTypesgetShapeType()Get shape typevoidsetPoints(List<? extends PointD> value)Set vertex pointsvoidsetRadius(double value)Set radiusorg.locationtech.jts.geom.GeometrytoGeometry(org.locationtech.jts.geom.GeometryFactory factory)To geometry method-
从类继承的方法 org.meteoinfo.geometry.shape.Shape
addVertice, buffer, clone, cloneValue, contains, convexHull, coveredBy, covers, crosses, difference, disjoint, equals, factory, geometry2Shape, getExtent, getLegendIndex, getPartNum, getPointNum, getValue, intersection, intersects, isEditing, isSelected, isVisible, move, moveVertice, overlaps, reform, removeVertice, reverse, setEditing, setExtent, setLegendIndex, setSelected, setValue, setVisible, split, symDifference, toGeometry, touches, union, updateExtent, 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)
从类复制的说明:ShapeTo geometry method- 指定者:
toGeometry在类中Shape- 参数:
factory- GeometryFactory- 返回:
- Geometry
-
getPoint
public PointZ getPoint(int i)
Get a vertex point- 参数:
i- The index- 返回:
- A vertex point
-
getRadius
public double getRadius()
Get radius- 返回:
- Radius
-
setRadius
public void setRadius(double value)
Set radius- 参数:
value- Radius
-
getDiameter
public double getDiameter()
Get diameter- 返回:
- Diameter
-
getHeight
public double getHeight()
Get cylinder height- 返回:
- Cylinder height
-
-