Cloneablepublic class CircleShape extends PolygonShape
| 构造器 | 说明 |
|---|---|
CircleShape() |
Constructor
|
CircleShape(double x,
double y,
double radius) |
Constructor
|
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
Object |
clone() |
Clone
|
boolean |
contains(PointD p) |
If this shape contains a point
|
boolean |
contains(Shape other) |
If this shape contains another one
|
PointD |
getCenter() |
Get circle center point
|
double |
getRadius() |
Get radius
|
ShapeTypes |
getShapeType() |
Get shape type
|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddHole, 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, valueClonebuffer, 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, withinpublic CircleShape()
public CircleShape(double x,
double y,
double radius)
x - Center xy - Center yradius - Radiuspublic ShapeTypes getShapeType()
ShapegetShapeType 在类中 PolygonShapepublic PointD getCenter()
public double getRadius()
public boolean contains(Shape other)
public boolean contains(PointD p)
p - Pointpublic Object clone()
clone 在类中 PolygonShapeCopyright © 2019. All rights reserved.