public abstract class AbstractMultiPolygon extends AbstractMultiSurface implements MultiPolygon
Modifier and Type | Class and Description |
---|---|
protected class |
AbstractMultiPolygon.MultiPolygonIterator |
AbstractMultiSurface.MultiSurfaceIterator
Geometry.DIMENSIONS, Geometry.OPERATIONS, Geometry.SUBTYPES, Geometry.TYPES, Geometry.ValidationStatus
logger
BEST, E, EXTENDED_GEOMSUBTYPE_OFFSET, EXTENDED_GEOMTYPE_OFFSET, N, NE, NW, S, SE, SELECTHANDLER, STRETCHINGHANDLER, SW, W
Constructor and Description |
---|
AbstractMultiPolygon(int subtype) |
Modifier and Type | Method and Description |
---|---|
void |
addSurface(Surface surface)
Adds a new surface to the multi surface
|
void |
flip()
Flip the coordinates of the geometry.
|
GeneralPathX |
getGeneralPath()
Get GeneralPathIterator, to do registered operations to it.
|
com.vividsolutions.jts.geom.Geometry |
getJTS() |
PathIterator |
getPathIterator(AffineTransform at)
If applies an affine transformation and returns the GeneralPathXIterator
with this geometry's information.
|
PathIterator |
getPathIterator(AffineTransform at,
double flatness)
If applies an affine transformation and returns the GeneralPathXIterator
with this geometry's information.
|
Shape |
getShape() |
Shape |
getShape(AffineTransform affineTransform) |
getSurfaceAt
addPrimitive, clonePrimitives, fixPrimitive, getHandlers, intersection, union
ensureCapacity, equals, getPrimitiveAt, getPrimitivesNumber, is3D, iterator, reProject, transform
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, 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
getSurfaceAt
addPrimitive, ensureCapacity
getPrimitiveAt, getPrimitivesNumber, intersection, union
area, buffer, centroid, cloneGeometry, closestPoints, contains, convertToEWKB, convertToEWKB, convertToEWKBForcingType, convertToWKB, convertToWKB, convertToWKBForcingType, convertToWKT, convexHull, coveredBy, covers, crosses, difference, disjoint, distance, ensureOrientation, fastIntersects, getBounds2D, getDimension, getEnvelope, getGeometryType, getHandlers, getInteriorPoint, getInternalShape, getType, getValidationStatus, intersection, intersects, intersects, invokeOperation, invokeOperation, isCCW, isSimple, isValid, isWithinDistance, makeValid, move, offset, out, overlaps, perimeter, reProject, rotate, scale, snapTo, toLines, toPoints, toPolygons, touches, transform, union, within
contains, contains, contains, contains, getBounds, intersects
compareTo
public com.vividsolutions.jts.geom.Geometry getJTS()
getJTS
in interface GeometryJTS
public PathIterator getPathIterator(AffineTransform at)
Geometry
getPathIterator
in interface Shape
getPathIterator
in interface Geometry
getPathIterator
in class AbstractMultiSurface
at
- The transformation to apply.public PathIterator getPathIterator(AffineTransform at, double flatness)
Geometry
getPathIterator
in interface Shape
getPathIterator
in interface Geometry
getPathIterator
in class AbstractMultiSurface
at
- The affine transformation.public GeneralPathX getGeneralPath()
Geometry
getGeneralPath
in interface Geometry
getGeneralPath
in class AbstractMultiSurface
public void flip() throws GeometryOperationNotSupportedException, GeometryOperationException
Geometry
flip
in interface Geometry
GeometryOperationNotSupportedException
GeometryOperationException
public void addSurface(Surface surface)
MultiSurface
addSurface
in interface MultiSurface
surface
- The surface to addpublic Shape getShape(AffineTransform affineTransform)
getShape
in interface Geometry
getShape
in class AbstractMultiSurface
public Shape getShape()
getShape
in interface Geometry
getShape
in class AbstractMultiSurface