public class Arc2DZ extends AbstractArc
Geometry.DIMENSIONS, Geometry.OPERATIONS, Geometry.SUBTYPES, Geometry.TYPES, Geometry.ValidationStatus
end, init, middle
logger
BEST, E, EXTENDED_GEOMSUBTYPE_OFFSET, EXTENDED_GEOMTYPE_OFFSET, N, NE, NW, S, SE, SELECTHANDLER, STRETCHINGHANDLER, SW, W
Constructor and Description |
---|
Arc2DZ() |
Modifier and Type | Method and Description |
---|---|
Geometry |
cloneGeometry()
Creates a clone of this geometry.
|
protected Point |
fixPoint(Point point) |
Point |
getCenterPoint()
Return the center of the arc, that is, the center of the ellipse/circle
in which the arc is based.
|
com.vividsolutions.jts.geom.Geometry |
getJTS() |
void |
setPoints(Point center,
double radius,
double startAngle,
double angleExt)
Sets the values to define an arc.
|
MultiLine |
toLines()
Converts the geometry to be lines and makes with them a multiLine
|
MultiPoint |
toPoints()
Converts the geometry to be points and makes with them a multiPoint
|
MultiPolygon |
toPolygons()
Converts the geometry to be polygons and makes with them a multiPolygon
|
addMoveToVertex, addVertex, addVertex, addVertex, closePrimitive, ensureCapacity, flip, getCoordinateAt, getDimension, getEndAngle, getEndPoint, getGeneralPath, getInitPoint, getMiddlePoint, getNumVertices, getPathIterator, getPathIterator, getScaleAffineTransform, getShape, getShape, getStartAngle, getVertex, insertVertex, is3D, normalizeAngle, offset, removeVertex, reProject, setCoordinateAt, setGeneralPath, setPoints, setPoints, setPointsStartEnd, setPointsStartExt, setVertex, transform
getHandlers
area, buffer, centroid, closestPoints, compareTo, contains, contains, contains, contains, contains, convertToEWKB, convertToEWKB, convertToEWKBForcingType, convertToWKB, convertToWKB, convertToWKBForcingType, convertToWKT, convexHull, coveredBy, covers, crosses, difference, disjoint, distance, ensureOrientation, equals, fastIntersects, getBounds, getBounds2D, getEnvelope, getGeometryType, getInteriorPoint, getInternalShape, getManager, getType, getValidationStatus, intersection, intersects, intersects, intersects, invokeOperation, invokeOperation, isCCW, isSimple, isValid, isWithinDistance, makeValid, move, notifyDeprecated, out, overlaps, perimeter, rotate, scale, snapTo, toString, touches, union, within
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
area, buffer, centroid, closestPoints, contains, convertToEWKB, convertToEWKB, convertToEWKBForcingType, convertToWKB, convertToWKB, convertToWKBForcingType, convertToWKT, convexHull, coveredBy, covers, crosses, difference, disjoint, distance, ensureOrientation, fastIntersects, getBounds2D, getEnvelope, getGeometryType, getHandlers, getInteriorPoint, getInternalShape, getType, getValidationStatus, intersection, intersects, intersects, invokeOperation, invokeOperation, isCCW, isSimple, isValid, isWithinDistance, makeValid, move, out, overlaps, perimeter, rotate, scale, snapTo, touches, union, within
contains, contains, contains, contains, getBounds, intersects
compareTo
public void setPoints(Point center, double radius, double startAngle, double angleExt)
Arc
center
- The center of the arc.radius
- The radius.startAngle
- The start angle of the arc (in radians)angleExt
- The angular extent of the arc (in radians).
The sign convention is:
startAngle = 0 is "3 o'clock";
startAngle = (PI / 3) is "1 o'clock";
angleExt > 0 means "advancing clockwise";
angleExt < 0 means "advancing counterclockwise".public Point getCenterPoint()
Arc
public Geometry cloneGeometry()
Geometry
protected Point fixPoint(Point point)
fixPoint
in class AbstractArc
public com.vividsolutions.jts.geom.Geometry getJTS()
public MultiPoint toPoints() throws GeometryException
Geometry
GeometryException
public MultiLine toLines() throws GeometryException
Geometry
GeometryException
public MultiPolygon toPolygons() throws GeometryException
Geometry
GeometryException