public abstract class BaseSpline2D extends AbstractSpline
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 |
---|
BaseSpline2D(int type) |
BaseSpline2D(int type,
Coordinate[] coordinates) |
Modifier and Type | Method and Description |
---|---|
void |
addVertex(double x,
double y) |
void |
addVertex(double x,
double y,
double z) |
protected Point |
fixPoint(Point point) |
protected ArrayListCoordinateSequence |
getSplineCoordinates() |
Point |
getVertex(int index) |
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, 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, equals, 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
area, buffer, centroid, cloneGeometry, closestPoints, contains, convertToEWKB, convertToEWKB, convertToEWKBForcingType, convertToWKB, convertToWKB, convertToWKBForcingType, convertToWKT, convexHull, coveredBy, covers, crosses, difference, disjoint, distance, ensureOrientation, fastIntersects, getBounds2D, getEnvelope, getGeometryType, getInteriorPoint, getInternalShape, getType, getValidationStatus, intersection, intersects, intersects, invokeOperation, invokeOperation, isCCW, isSimple, isValid, isWithinDistance, makeValid, move, offset, out, overlaps, perimeter, rotate, scale, snapTo, touches, union, within
contains, contains, contains, contains, getBounds, intersects
compareTo
public BaseSpline2D(int type)
polygon
- public BaseSpline2D(int type, Coordinate[] coordinates)
type
- coordinates
- public void addVertex(double x, double y)
public void addVertex(double x, double y, double z)
protected ArrayListCoordinateSequence getSplineCoordinates()
getSplineCoordinates
in class AbstractSpline
protected Point fixPoint(Point point)
fixPoint
in class AbstractSpline
public MultiPoint toPoints() throws GeometryException
Geometry
GeometryException
public MultiLine toLines() throws GeometryException
Geometry
GeometryException
public MultiPolygon toPolygons() throws GeometryException
Geometry
GeometryException
public Point getVertex(int index)