public class Spline2DM extends BaseSpline2DM implements Spline
AbstractSpline.SplineIterator
Geometry.DIMENSIONS, Geometry.OPERATIONS, Geometry.SUBTYPES, Geometry.TYPES, Geometry.ValidationStatus
anyVertex, coordinates, SUBSEGMENTS
BEST, E, EXTENDED_GEOMSUBTYPE_OFFSET, EXTENDED_GEOMTYPE_OFFSET, N, NE, NW, S, SE, SELECTHANDLER, STRETCHINGHANDLER, SW, W
Constructor and Description |
---|
Spline2DM() |
Spline2DM(Coordinate[] coordinates) |
Modifier and Type | Method and Description |
---|---|
void |
addVertex(double x,
double y)
Utility method for add a vertex
|
void |
addVertex(double x,
double y,
double z)
Utility method for add a vertex
|
Geometry |
cloneGeometry()
Creates a clone of this geometry.
|
boolean |
equals(Object obj) |
protected Point |
fixPoint(Point point) |
protected ArrayListCoordinateSequence |
getSplineCoordinates() |
Point |
getVertex(int index)
Gets a vertex (direct position)
|
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
|
addMoveToVertex, addVertex, cloneCoordinates, closePrimitive, ensureCapacity, flip, getCoordinateAt, getDimension, getGeneralPath, getJTS, getNumVertices, getPathIterator, getPathIterator, getShape, getShape, insertVertex, is3D, isClosed, removeVertex, reProject, setCoordinateAt, setGeneralPath, setPoints, setVertex, transform
getHandlers
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
addMoveToVertex, addVertex, closePrimitive, ensureCapacity, getCoordinateAt, getNumVertices, insertVertex, removeVertex, setCoordinateAt, setGeneralPath, setVertex
area, buffer, centroid, closestPoints, contains, convertToEWKB, convertToEWKB, convertToEWKBForcingType, convertToWKB, convertToWKB, convertToWKBForcingType, convertToWKT, convexHull, coveredBy, covers, crosses, difference, disjoint, distance, ensureOrientation, fastIntersects, flip, getBounds2D, getDimension, getEnvelope, getGeneralPath, getGeometryType, getHandlers, getInteriorPoint, getInternalShape, getPathIterator, getPathIterator, getShape, getShape, getType, getValidationStatus, intersection, intersects, intersects, invokeOperation, invokeOperation, isCCW, isSimple, isValid, isWithinDistance, makeValid, move, out, overlaps, perimeter, reProject, rotate, scale, snapTo, touches, transform, union, within
contains, contains, contains, contains, getBounds, intersects
compareTo
public Spline2DM()
subtype
- public Spline2DM(Coordinate[] coordinates)
public void addVertex(double x, double y)
OrientablePrimitive
addVertex
in interface OrientablePrimitive
addVertex
in class BaseSpline2DM
OrientablePrimitive.addVertex(Point)
public void addVertex(double x, double y, double z)
OrientablePrimitive
addVertex
in interface OrientablePrimitive
addVertex
in class BaseSpline2DM
OrientablePrimitive.addVertex(Point)
public Geometry cloneGeometry()
Geometry
cloneGeometry
in interface Geometry
protected Point fixPoint(Point point)
fixPoint
in class BaseSpline2DM
protected ArrayListCoordinateSequence getSplineCoordinates()
getSplineCoordinates
in class BaseSpline2DM
public MultiPoint toPoints() throws GeometryException
Geometry
toPoints
in interface Geometry
toPoints
in class BaseSpline2DM
GeometryException
public MultiLine toLines() throws GeometryException
Geometry
toLines
in interface Geometry
toLines
in class BaseSpline2DM
GeometryException
public MultiPolygon toPolygons() throws GeometryException
Geometry
toPolygons
in interface Geometry
toPolygons
in class BaseSpline2DM
GeometryException
public Point getVertex(int index)
OrientablePrimitive
getVertex
in interface OrientablePrimitive
getVertex
in class BaseSpline2DM
index
- The index of the vertex to getpublic Geometry offset(double distance) throws GeometryOperationNotSupportedException, GeometryOperationException
offset
in interface Geometry
GeometryOperationNotSupportedException
GeometryOperationException
public boolean equals(Object obj)
equals
in class AbstractGeometry