public interface Circle extends Surface
This interface is equivalent to the GM_Circle specified in ISO 19107. Same as Arc, but closed to form a full circle. The "start" and "end" points are equal.
Geometry.DIMENSIONS, Geometry.OPERATIONS, Geometry.SUBTYPES, Geometry.TYPES, Geometry.ValidationStatus
BEST, E, EXTENDED_GEOMSUBTYPE_OFFSET, EXTENDED_GEOMTYPE_OFFSET, N, NE, NW, S, SE, SELECTHANDLER, STRETCHINGHANDLER, SW, W
Modifier and Type | Method and Description |
---|---|
Point |
getCenter()
Returns the center of the circle.
|
double |
getRadious()
Returns the radius of the circle
|
Point |
getRectangleCorner()
Returns minimum corner of the framing rectangle.
|
double |
getRectangleHeight()
Return the height of the framing rectangle.
|
double |
getRectangleWidth()
Return the width of the framing rectangle.
|
void |
setPoints(Point center,
double radious)
Sets the two values to define a circle.
|
void |
setPoints(Point center,
Point radious)
Sets the two values to define a circle.
|
void |
setPoints(Point p1,
Point p2,
Point p3)
Sets the values to define a circle from three points.
|
addInteriorRing, addInteriorRing, addInteriorRing, getInteriorRing, getNumInteriorRings, getSurfaceAppearance, removeInteriorRing, setSurfaceAppearance
addMoveToVertex, addVertex, addVertex, addVertex, closePrimitive, ensureCapacity, getCoordinateAt, getNumVertices, getVertex, insertVertex, removeVertex, setCoordinateAt, setGeneralPath, setVertex
area, buffer, centroid, cloneGeometry, closestPoints, contains, convertToEWKB, convertToEWKB, convertToEWKBForcingType, convertToWKB, convertToWKB, convertToWKBForcingType, convertToWKT, convexHull, coveredBy, covers, crosses, difference, disjoint, distance, ensureOrientation, fastIntersects, flip, getBounds2D, getDimension, getEnvelope, getGeneralPath, getGeometryType, getHandlers, getInteriorPoint, getInternalShape, getPathIterator, getPathIterator, getShape, getShape, getType, getValidationStatus, intersection, intersects, intersects, invokeOperation, invokeOperation, isCCW, isSimple, isValid, isWithinDistance, makeValid, move, offset, out, overlaps, perimeter, reProject, rotate, scale, snapTo, toLines, toPoints, toPolygons, touches, transform, union, within
contains, contains, contains, contains, getBounds, intersects
compareTo
void setPoints(Point center, Point radious)
center
- The center point of the circle.radious
- A point that is used to calculate the radius.void setPoints(Point center, double radious)
center
- The center point of the circle.radious
- The radius of the circle.void setPoints(Point p1, Point p2, Point p3)
p1
- First pointp2
- Second pointp3
- Third pointPoint getCenter()
double getRadious()
Point getRectangleCorner()
double getRectangleHeight()
double getRectangleWidth()