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, JOIN_STYLE_BEVEL, JOIN_STYLE_MITRE, JOIN_STYLE_ROUND, 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, getInteriorRings, getNumInteriorRings, getSurfaceAppearance, removeInteriorRing, setSurfaceAppearance, split
addMoveToVertex, addVertex, addVertex, addVertex, closePrimitive, ensureCapacity, getCoordinateAt, getNumVertices, getVertex, insertVertex, removeVertex, setCoordinateAt, setGeneralPath, setVertex
area, boundary, buffer, buffer, canBeReprojected, canBeTransformed, centroid, clone, cloneGeometry, closestPoints, contains, convertTo, convertToEWKB, convertToEWKB, convertToEWKBForcingType, convertToGeoJson, convertToHexEWKB, convertToHexEWKBQuietly, convertToHexWKB, convertToHexWKBQuietly, convertToWKB, convertToWKB, convertToWKBForcingType, convertToWKBQuietly, convertToWKT, convertToWKTQuietly, convexHull, coveredBy, covers, crosses, difference, disjoint, distance, ensureOrientation, equals, fastIntersects, fix, flip, force2D, forceSubtype, getBounds2D, getDimension, getEnvelope, getGeneralPath, getGeometryType, getHandlers, getInteriorPoint, getInternalShape, getPathIterator, getPathIterator, getProjection, getShape, getShape, getType, getValidationStatus, intersection, intersects, intersects, invokeOperation, invokeOperation, isCCW, isEmpty, isSimple, isValid, isWithinDistance, makeValid, move, offset, offset, out, overlaps, perimeter, reProject, rotate, scale, setProjection, setProjection, setProjectionIffNull, snapTo, toLines, toPoints, toPolygons, touches, transform, union, within
contains, contains, contains, contains, getBounds, intersects
isEmpty, isEmpty, isEmpty, isEmptyQuietly
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()