public class FilledSpline2DM extends BaseSpline2DM implements FilledSpline
AbstractSpline.SplineIteratorGeometry.DIMENSIONS, Geometry.OPERATIONS, Geometry.SUBTYPES, Geometry.TYPES, Geometry.ValidationStatusanyVertex, coordinates, SUBSEGMENTSLOGGERBEST, 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 |
|---|
FilledSpline2DM() |
FilledSpline2DM(ArrayListCoordinateSequence coordinates) |
FilledSpline2DM(Coordinate[] coordinates) |
| Modifier and Type | Method and Description |
|---|---|
void |
addInteriorRing(Line line)
Creates a ring from the coordinates of the line and adds it to the surface like an inner ring.
|
void |
addInteriorRing(Polygon polygon)
Creates a ring from the coordinates of the shell of the polygon and adds it to the surface like an inner ring.
|
void |
addInteriorRing(Ring ring) |
Geometry |
cloneGeometry()
Creates a clone of this geometry.
|
boolean |
equals(java.lang.Object obj) |
Geometry |
force2D() |
Geometry |
force2DM() |
Geometry |
force3D() |
Geometry |
force3DM() |
Ring |
getInteriorRing(int index) |
java.util.List<Ring> |
getInteriorRings() |
com.vividsolutions.jts.geom.Geometry |
getJTS() |
int |
getNumInteriorRings() |
SurfaceAppearance |
getSurfaceAppearance()
Gets surface appearance
|
Geometry |
offset(double distance) |
Geometry |
offset(int jointStyle,
double distance) |
void |
removeInteriorRing(int index) |
void |
reProject(ICoordTrans ct)
Reprojects this geometry by the coordinate transformer passed as
parameter.
|
void |
setSurfaceAppearance(SurfaceAppearance app)
Sets the appearance of the Surface
|
Geometry |
split(Geometry splitter) |
addVertex, addVertex, fixPoint, getSplineCoordinates, getVertex, toLines, toPoints, toPolygonsaddMoveToVertex, addVertex, canBeReprojected, canBeTransformed, cloneCoordinates, closePrimitive, ensureCapacity, flip, getCoordinateAt, getDimension, getGeneralPath, getNumVertices, getPathIterator, getPathIterator, getShape, getShape, insertVertex, is3D, isClosed, removeVertex, setCoordinateAt, setGeneralPath, setPoints, setVertex, transformget, isEmpty, 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, 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, waitaddMoveToVertex, addVertex, addVertex, addVertex, closePrimitive, ensureCapacity, getCoordinateAt, getNumVertices, getVertex, insertVertex, removeVertex, setCoordinateAt, setGeneralPath, setVertexarea, 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, fastIntersects, fix, flip, forceSubtype, getBounds2D, getDimension, getEnvelope, getGeneralPath, getGeometryType, getHandlers, getInteriorPoint, getInternalShape, getPathIterator, getPathIterator, getProjection, getShape, getShape, getType, getValidationStatus, intersection, intersects, intersects, invokeOperation, invokeOperation, isCCW, isEmpty, isSimple, isValid, isWithinDistance, makeValid, move, out, overlaps, perimeter, rotate, scale, setProjection, setProjection, setProjectionIffNull, snapTo, toLines, toPoints, toPolygons, touches, transform, union, withincontains, contains, contains, contains, getBounds, intersectsisEmpty, isEmpty, isEmpty, isEmptyQuietlypublic FilledSpline2DM()
public FilledSpline2DM(Coordinate[] coordinates)
coordinates - public FilledSpline2DM(ArrayListCoordinateSequence coordinates)
public void setSurfaceAppearance(SurfaceAppearance app)
SurfacesetSurfaceAppearance in interface Surfaceapp - The appearance of the surfacepublic SurfaceAppearance getSurfaceAppearance()
SurfacegetSurfaceAppearance in interface Surfacepublic int getNumInteriorRings()
getNumInteriorRings in interface Surfacepublic Ring getInteriorRing(int index)
getInteriorRing in interface Surfacepublic void addInteriorRing(Ring ring)
addInteriorRing in interface Surfacepublic void addInteriorRing(Line line)
SurfaceaddInteriorRing in interface Surfacepublic void addInteriorRing(Polygon polygon)
SurfaceaddInteriorRing in interface Surfacepublic void removeInteriorRing(int index)
removeInteriorRing in interface Surfacepublic java.util.List<Ring> getInteriorRings()
getInteriorRings in interface Surfacepublic Geometry cloneGeometry()
GeometrycloneGeometry in interface Geometrypublic com.vividsolutions.jts.geom.Geometry getJTS()
getJTS in interface GeometryJTSgetJTS in class AbstractSplinepublic Geometry offset(double distance) throws GeometryOperationNotSupportedException, GeometryOperationException
offset in interface GeometryGeometryOperationNotSupportedExceptionGeometryOperationExceptionpublic Geometry offset(int jointStyle, double distance) throws GeometryOperationNotSupportedException, GeometryOperationException
offset in interface GeometryGeometryOperationNotSupportedExceptionGeometryOperationExceptionpublic void reProject(ICoordTrans ct)
GeometryreProject in interface GeometryreProject in class AbstractSplinect - Coordinate Transformer.public boolean equals(java.lang.Object obj)
equals in interface Geometryequals in class AbstractGeometrypublic Geometry force2D() throws GeometryOperationNotSupportedException, GeometryOperationException
force2D in interface Geometryforce2D in class AbstractSplineGeometryOperationNotSupportedExceptionGeometryOperationExceptionpublic Geometry force2DM() throws GeometryOperationNotSupportedException, GeometryOperationException
force2DM in class AbstractSplineGeometryOperationNotSupportedExceptionGeometryOperationExceptionpublic Geometry force3D() throws GeometryOperationNotSupportedException, GeometryOperationException
force3D in class AbstractSplineGeometryOperationNotSupportedExceptionGeometryOperationExceptionpublic Geometry force3DM() throws GeometryOperationNotSupportedException, GeometryOperationException
force3DM in class AbstractSplineGeometryOperationNotSupportedExceptionGeometryOperationException