public class Arc2DZM extends AbstractArc
Geometry.DIMENSIONS, Geometry.OPERATIONS, Geometry.SUBTYPES, Geometry.TYPES, Geometry.ValidationStatusend, init, middleLOGGERBEST, 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| Constructor and Description |
|---|
Arc2DZM() |
| 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, canBeReprojected, canBeTransformed, closePrimitive, ensureCapacity, flip, force2D, force2DM, force3D, force3DM, getCoordinateAt, getDimension, getEndAngle, getEndPoint, getGeneralPath, getInitPoint, getMiddlePoint, getNumVertices, getPathIterator, getPathIterator, getScaleAffineTransform, getShape, getShape, getStartAngle, getVertex, insertVertex, is3D, isEmpty, normalizeAngle, offset, offset, removeVertex, reProject, setCoordinateAt, setGeneralPath, setPoints, setPoints, setPointsStartEnd, setPointsStartExt, setVertex, transformget, sizegetHandlersarea, boundary, buffer, buffer, centroid, clone, closestPoints, compareTo, contains, contains, contains, contains, contains, convertTo, convertToEWKB, convertToEWKB, convertToEWKBForcingType, convertToGeoJson, convertToGeoJson, convertToHexEWKB, convertToHexEWKBQuietly, convertToHexWKB, convertToHexWKBQuietly, convertToWKB, convertToWKB, convertToWKBForcingType, convertToWKBQuietly, convertToWKT, convertToWKTQuietly, convexHull, coveredBy, covers, crosses, difference, disjoint, distance, ensureOrientation, equals, fastIntersects, fix, forceSubtype, getBounds, getBounds2D, getEnvelope, getGeometryType, getInteriorPoint, getInternalShape, getManager, getProjection, getType, getValidationStatus, intersection, intersects, intersects, intersects, invokeOperation, invokeOperation, isCCW, isSimple, isValid, isWithinDistance, makeValid, move, notifyDeprecated, out, overlaps, perimeter, rotate, scale, setGeometryType, setProjection, setProjection, setProjectionIffNull, snapTo, toString, touches, union, withinfinalize, getClass, hashCode, notify, notifyAll, wait, wait, waitarea, boundary, buffer, buffer, centroid, clone, 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, forceSubtype, getBounds2D, getEnvelope, getGeometryType, getHandlers, getInteriorPoint, getInternalShape, getProjection, getType, getValidationStatus, intersection, intersects, intersects, invokeOperation, invokeOperation, isCCW, isSimple, isValid, isWithinDistance, makeValid, move, out, overlaps, perimeter, rotate, scale, setProjection, setProjection, setProjectionIffNull, snapTo, touches, union, withincontains, contains, contains, contains, getBounds, intersectsisEmpty, isEmpty, isEmptyQuietlypublic void setPoints(Point center, double radius, double startAngle, double angleExt)
Arccenter - 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()
Arcpublic Geometry cloneGeometry()
Geometryprotected Point fixPoint(Point point)
fixPoint in class AbstractArcpublic com.vividsolutions.jts.geom.Geometry getJTS()
public MultiPoint toPoints() throws GeometryException
GeometryGeometryExceptionpublic MultiLine toLines() throws GeometryException
GeometryGeometryExceptionpublic MultiPolygon toPolygons() throws GeometryException
GeometryGeometryException