public class DefaultMultiSurface extends AbstractMultiSurface
AbstractMultiSurface.MultiSurfaceIteratorGeometry.DIMENSIONS, Geometry.OPERATIONS, Geometry.SUBTYPES, Geometry.TYPES, Geometry.ValidationStatusloggerBEST, E, EXTENDED_GEOMSUBTYPE_OFFSET, EXTENDED_GEOMTYPE_OFFSET, N, NE, NW, S, SE, SELECTHANDLER, STRETCHINGHANDLER, SW, W| Constructor and Description |
|---|
DefaultMultiSurface(GeometryType geometryType) |
| Modifier and Type | Method and Description |
|---|---|
void |
addSurface(Surface surface)
Adds a new surface to the multi surface
|
Geometry |
cloneGeometry()
Creates a clone of this geometry.
|
protected Geometry |
fixPrimitive(Primitive primitive) |
void |
flip()
Flip the coordinates of the geometry.
|
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) |
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
|
getGeneralPath, getPathIterator, getPathIterator, getShape, getShape, getSurfaceAtaddPrimitive, clonePrimitives, getHandlers, intersection, unionensureCapacity, equals, getPrimitiveAt, getPrimitivesNumber, is3D, iterator, reProject, transformarea, buffer, centroid, closestPoints, compareTo, contains, contains, contains, contains, contains, convertToEWKB, convertToEWKB, convertToEWKBForcingType, convertToWKB, convertToWKB, convertToWKBForcingType, convertToWKT, convexHull, coveredBy, covers, crosses, difference, disjoint, distance, ensureOrientation, 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, withinclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddPrimitive, ensureCapacitygetPrimitiveAt, getPrimitivesNumber, intersection, unionarea, 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, reProject, rotate, scale, snapTo, touches, transform, union, withincontains, contains, contains, contains, getBounds, intersectscompareTopublic DefaultMultiSurface(GeometryType geometryType)
type - subtype - public Geometry cloneGeometry()
Geometrypublic void addSurface(Surface surface)
MultiSurfacesurface - The surface to addpublic 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