public class MultiCurve2D extends BaseMultiPrimitive implements MultiCurve, MultiLine
Geometry.DIMENSIONS, Geometry.OPERATIONS, Geometry.SUBTYPES, Geometry.TYPES, Geometry.ValidationStatusgeometriesgeometryType, geomManager, id, projectionBEST, E, EXTENDED_GEOMSUBTYPE_OFFSET, EXTENDED_GEOMTYPE_OFFSET, N, NE, NW, S, SE, SELECTHANDLER, STRETCHINGHANDLER, SW, W| Constructor and Description |
|---|
MultiCurve2D(GeometryType geomType)
The constructor with the GeometryType like and argument
is used by the
GeometryType#create()
to create the geometry |
| Modifier and Type | Method and Description |
|---|---|
void |
addCurve(Curve curve)
Adds a new curve to the multi curve
|
void |
addPrimitive(Primitive primitive)
Adds a new primitive to the primitive
|
Geometry |
cloneGeometry()
Creates a clone of this geometry.
|
Curve |
getCurveAt(int index)
Gets the curve that is on a concrete position
inside the multi curve
|
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
|
cloneFShape, contains, contains, contains, contains, ensureCapacity, fastIntersects, getBounds, getBounds2D, getDimension, getEnvelope, getGeneralPath, getGeometries, getHandlers, getInternalShape, getPathIterator, getPathIterator, getPrimitiveAt, getPrimitivesNumber, getSelectHandlers, getStretchingHandlers, intersection, intersects, intersects, isSimple, reProject, transform, unionarea, buffer, centroid, closestPoints, compareTo, contains, containsPoint, containsRectangle, convertToWKB, convertToWKB, convertToWKBForcingType, convertToWKT, convexHull, coveredBy, covers, crosses, difference, disjoint, distance, equals, getGeometryType, getId, getInteriorPoint, getShape, getShape, getShapeType, getSRS, getType, getValidationStatus, intersection, intersects, intersectsRectangle, invokeOperation, invokeOperation, isCCW, isValid, isWithinDistance, makeValid, move, overlaps, perimeter, rotate, scale, snapTo, toJTS, toString, touches, transform, union, withinclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitensureCapacitygetPrimitiveAt, getPrimitivesNumber, intersection, unionarea, 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, offset, out, overlaps, perimeter, reProject, rotate, scale, snapTo, touches, transform, union, withincontains, contains, contains, contains, getBounds, intersectscompareTopublic MultiCurve2D(GeometryType geomType)
GeometryType#create()
to create the geometrytype - The geometry typepublic Geometry cloneGeometry()
GeometrycloneGeometry in interface GeometrycloneGeometry in class AbstractPrimitivepublic void addCurve(Curve curve)
MultiCurveaddCurve in interface MultiCurvecurve - The curve to addpublic void addPrimitive(Primitive primitive)
MultiPrimitiveaddPrimitive in interface MultiPrimitiveaddPrimitive in class BaseMultiPrimitiveprimitive - The primitive to addpublic Curve getCurveAt(int index)
MultiCurvegetCurveAt in interface MultiCurveindex - The positionpublic MultiPolygon toPolygons() throws GeometryException
GeometrytoPolygons in interface GeometryGeometryExceptionpublic MultiPoint toPoints() throws GeometryException
GeometrytoPoints in interface GeometryGeometryExceptionpublic MultiLine toLines() throws GeometryException
GeometrytoLines in interface GeometryGeometryException