public class DefaultMultiCurve extends AbstractMultiCurve
AbstractMultiCurve.MultiCurveIteratorGeometry.DIMENSIONS, Geometry.OPERATIONS, Geometry.SUBTYPES, Geometry.TYPES, Geometry.ValidationStatusLOGGERBEST, 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 |
|---|
DefaultMultiCurve(GeometryType geometryType) |
DefaultMultiCurve(int subtype) |
| Modifier and Type | Method and Description |
|---|---|
Geometry |
cloneGeometry()
Creates a clone of this geometry.
|
protected Geometry |
fixPrimitive(Primitive primitive) |
void |
flip()
Flip the coordinates of the geometry.
|
Geometry |
force2D() |
Geometry |
force2DM() |
Geometry |
force3D() |
Geometry |
force3DM() |
int |
getDimension()
Returns the largest number n such that each direct position in a
geometric set can be associated with a subset that has the direct
position in its interior and is similar (isomorphic) to Rn, Euclidean
n-space.
|
com.vividsolutions.jts.geom.Geometry |
getJTS() |
Geometry |
offset(double distance) |
Geometry |
offset(int joinStyle,
double distance) |
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
|
addCurve, dissolve, getCurveAt, getGeneralPath, getPathIterator, getPathIteratoraddPrimitive, addPrimitives, addPrimitives, addPrimitives, clonePrimitives, getHandlers, intersection, unioncanBeReprojected, canBeTransformed, ensureCapacity, equals, get, getPrimitiveAt, getPrimitivesNumber, getShape, getShape, is3D, isEmpty, iterator, reProject, size, transformarea, 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, 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, waitaddPrimitive, addPrimitives, addPrimitives, ensureCapacitygetPrimitiveAt, getPrimitivesNumber, intersection, unionarea, boundary, buffer, buffer, canBeReprojected, canBeTransformed, 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, getShape, getShape, getType, getValidationStatus, intersection, intersects, intersects, invokeOperation, invokeOperation, isCCW, isEmpty, isSimple, isValid, isWithinDistance, makeValid, move, out, overlaps, perimeter, reProject, rotate, scale, setProjection, setProjection, setProjectionIffNull, snapTo, touches, transform, union, withincontains, contains, contains, contains, getBounds, intersectsisEmpty, isEmpty, isEmpty, isEmptyQuietlypublic DefaultMultiCurve(GeometryType geometryType)
geometryType - public DefaultMultiCurve(int subtype)
subtype - public Geometry cloneGeometry()
Geometrypublic Geometry force2D() throws GeometryOperationNotSupportedException, GeometryOperationException
GeometryOperationNotSupportedExceptionGeometryOperationExceptionpublic Geometry force2DM() throws GeometryOperationNotSupportedException, GeometryOperationException
force2DM in class AbstractGeometryGeometryOperationNotSupportedExceptionGeometryOperationExceptionpublic Geometry force3D() throws GeometryOperationNotSupportedException, GeometryOperationException
force3D in class AbstractGeometryGeometryOperationNotSupportedExceptionGeometryOperationExceptionpublic Geometry force3DM() throws GeometryOperationNotSupportedException, GeometryOperationException
force3DM in class AbstractGeometryGeometryOperationNotSupportedExceptionGeometryOperationExceptionpublic int getDimension()
Geometrypublic MultiPoint toPoints() throws GeometryException
GeometryGeometryExceptionpublic MultiLine toLines() throws GeometryException
GeometryGeometryExceptionpublic MultiPolygon toPolygons() throws GeometryException
GeometryGeometryExceptionpublic void flip()
throws GeometryOperationNotSupportedException,
GeometryOperationException
Geometryprotected Geometry fixPrimitive(Primitive primitive)
fixPrimitive in class AbstractMultiPrimitivepublic com.vividsolutions.jts.geom.Geometry getJTS()
public Geometry offset(double distance) throws GeometryOperationNotSupportedException, GeometryOperationException
GeometryOperationNotSupportedExceptionGeometryOperationExceptionpublic Geometry offset(int joinStyle, double distance) throws GeometryOperationNotSupportedException, GeometryOperationException
GeometryOperationNotSupportedExceptionGeometryOperationException