public class Spline2DM extends BaseSpline2DM implements Spline
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 |
|---|
Spline2DM() |
Spline2DM(ArrayListCoordinateSequence coordinates) |
Spline2DM(Coordinate[] coordinates) |
| Modifier and Type | Method and Description |
|---|---|
OrientablePrimitive |
addVertex(double x,
double y)
Utility method for add a vertex
|
OrientablePrimitive |
addVertex(double x,
double y,
double z)
Utility method for add a vertex
|
Geometry |
cloneGeometry()
Creates a clone of this geometry.
|
boolean |
equals(java.lang.Object obj) |
protected Point |
fixPoint(Point point) |
Geometry |
force2DM() |
protected ArrayListCoordinateSequence |
getSplineCoordinates() |
Point |
getVertex(int index)
Gets a vertex (direct position)
|
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
|
addMoveToVertex, addVertex, canBeReprojected, canBeTransformed, cloneCoordinates, closePrimitive, ensureCapacity, flip, force2D, force3D, force3DM, getCoordinateAt, getDimension, getGeneralPath, getJTS, getNumVertices, getPathIterator, getPathIterator, getShape, getShape, insertVertex, is3D, isClosed, removeVertex, reProject, 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, closePrimitive, ensureCapacity, getCoordinateAt, getNumVertices, 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, force2D, 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, reProject, rotate, scale, setProjection, setProjection, setProjectionIffNull, snapTo, touches, transform, union, withincontains, contains, contains, contains, getBounds, intersectsisEmpty, isEmpty, isEmpty, isEmptyQuietlypublic Spline2DM()
public Spline2DM(Coordinate[] coordinates)
coordinates - public Spline2DM(ArrayListCoordinateSequence coordinates)
public OrientablePrimitive addVertex(double x, double y)
OrientablePrimitiveaddVertex in interface OrientablePrimitiveaddVertex in class BaseSpline2DMOrientablePrimitive.addVertex(Point)public OrientablePrimitive addVertex(double x, double y, double z)
OrientablePrimitiveaddVertex in interface OrientablePrimitiveaddVertex in class BaseSpline2DMOrientablePrimitive.addVertex(Point)public Geometry cloneGeometry()
GeometrycloneGeometry in interface Geometryprotected Point fixPoint(Point point)
fixPoint in class BaseSpline2DMprotected ArrayListCoordinateSequence getSplineCoordinates()
getSplineCoordinates in class BaseSpline2DMpublic MultiPoint toPoints() throws GeometryException
GeometrytoPoints in interface GeometrytoPoints in class BaseSpline2DMGeometryExceptionpublic MultiLine toLines() throws GeometryException
GeometrytoLines in interface GeometrytoLines in class BaseSpline2DMGeometryExceptionpublic MultiPolygon toPolygons() throws GeometryException
GeometrytoPolygons in interface GeometrytoPolygons in class BaseSpline2DMGeometryExceptionpublic Point getVertex(int index)
OrientablePrimitivegetVertex in interface OrientablePrimitivegetVertex in class BaseSpline2DMindex - The index of the vertex to getpublic Geometry offset(double distance) throws GeometryOperationNotSupportedException, GeometryOperationException
offset in interface GeometryGeometryOperationNotSupportedExceptionGeometryOperationExceptionpublic Geometry offset(int joinStyle, double distance) throws GeometryOperationNotSupportedException, GeometryOperationException
offset in interface GeometryGeometryOperationNotSupportedExceptionGeometryOperationExceptionpublic boolean equals(java.lang.Object obj)
equals in interface Geometryequals in class AbstractGeometrypublic Geometry force2DM() throws GeometryOperationNotSupportedException, GeometryOperationException
force2DM in class AbstractSplineGeometryOperationNotSupportedExceptionGeometryOperationException