T - curve typepublic abstract class MultiCurve<T extends Curve> extends GeometryCollection<T>
| Modifier | Constructor and Description |
|---|---|
protected |
MultiCurve(GeometryType type,
boolean hasZ,
boolean hasM)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
addCurve(T curve)
Add a curve
|
void |
addCurves(List<T> curves)
Add curves
|
T |
getCurve(int n)
Returns the Nth curve
|
List<T> |
getCurves()
Get the curves
|
boolean |
isClosed()
Determine if this Multi Curve is closed for each Curve (start point = end
point)
|
int |
numCurves()
Get the number of curves
|
void |
setCurves(List<T> curves)
Set the curves
|
addGeometries, addGeometry, copy, equals, getAsGeometryCollection, getAsMultiCurve, getAsMultiLineString, getAsMultiPoint, getAsMultiPolygon, getAsMultiSurface, getCollectionType, getGeometries, getGeometry, hashCode, isEmpty, isMultiCurve, isMultiLineString, isMultiPoint, isMultiPolygon, isMultiSurface, isSimple, numGeometries, setGeometriesgetCentroid, getDimension, getEnvelope, getGeometryType, hasM, hasZ, is3D, isMeasuredprotected MultiCurve(GeometryType type, boolean hasZ, boolean hasM)
type - geometry typehasZ - has zhasM - has mpublic void addCurve(T curve)
curve - curvepublic int numCurves()
public T getCurve(int n)
n - nth line curve to returnpublic boolean isClosed()
Copyright © 2019 National Geospatial-Intelligence Agency. All rights reserved.