类 EllipseShape
- java.lang.Object
-
- org.meteoinfo.geometry.shape.Shape
-
- org.meteoinfo.geometry.shape.PolygonShape
-
- org.meteoinfo.geometry.shape.EllipseShape
-
- 所有已实现的接口:
java.lang.Cloneable
public class EllipseShape extends PolygonShape
Ellipse shape class- 作者:
- Yaqiang Wang
-
-
构造器概要
构造器 构造器 说明 EllipseShape()ConstructorEllipseShape(double x, double y, double width, double height)Constructor
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 java.lang.Objectclone()ClonefloatgetAngle()Get angleorg.meteoinfo.common.PointDgetCenter()Get center pointdoublegetHeight()Get heightShapeTypesgetShapeType()Get shape typedoublegetWidth()Get widthvoidsetAngle(float value)Set angle-
从类继承的方法 org.meteoinfo.geometry.shape.PolygonShape
addHole, addHole, addVertice, clone_back, cloneValue, difference, getArea, getPartIndex, getPartNum, getParts, getPointNum, getPoints, getPolygons, getSphericalArea, removeHole, removeVerice, reverse, setPartNum, setParts, setPoints, setPoints, setPoints_keep, setPolygons, toGeometry, updatePolygons, updatePolygons_keep, valueClone
-
从类继承的方法 org.meteoinfo.geometry.shape.Shape
buffer, contains, convexHull, coveredBy, covers, crosses, disjoint, equals, geometry2Shape, getExtent, getLegendIndex, getValue, intersection, intersects, isEditing, isSelected, isVisible, move, moveVertice, overlaps, reform, setEditing, setExtent, setLegendIndex, setSelected, setValue, setVisible, split, symDifference, toGeometry, touches, union, within
-
-
-
-
方法详细资料
-
getShapeType
public ShapeTypes getShapeType()
从类复制的说明:ShapeGet shape type- 覆盖:
getShapeType在类中PolygonShape- 返回:
- Shape type
-
getCenter
public org.meteoinfo.common.PointD getCenter()
Get center point- 返回:
- Center point
-
getWidth
public double getWidth()
Get width- 返回:
- Width
-
getHeight
public double getHeight()
Get height- 返回:
- Height
-
getAngle
public float getAngle()
Get angle- 返回:
- Angle
-
setAngle
public void setAngle(float value)
Set angle- 参数:
value- Angle
-
clone
public java.lang.Object clone()
Clone- 覆盖:
clone在类中PolygonShape- 返回:
- EllipseShape
-
-