public abstract class AbstractMultiCurve extends AbstractMultiPrimitive implements MultiCurve
Modifier and Type | Class and Description |
---|---|
protected class |
AbstractMultiCurve.MultiCurveIterator |
Geometry.DIMENSIONS, Geometry.OPERATIONS, Geometry.SUBTYPES, Geometry.TYPES, Geometry.ValidationStatus
logger
BEST, E, EXTENDED_GEOMSUBTYPE_OFFSET, EXTENDED_GEOMTYPE_OFFSET, N, NE, NW, S, SE, SELECTHANDLER, STRETCHINGHANDLER, SW, W
Constructor and Description |
---|
AbstractMultiCurve(int subtype) |
AbstractMultiCurve(int type,
int subtype) |
Modifier and Type | Method and Description |
---|---|
void |
addCurve(Curve curve)
Adds a new curve to the multi curve
|
Curve |
getCurveAt(int index)
Gets the curve that is on a concrete position
inside the multi curve
|
GeneralPathX |
getGeneralPath()
Get GeneralPathIterator, to do registered operations to it.
|
PathIterator |
getPathIterator(AffineTransform at)
If applies an affine transformation and returns the GeneralPathXIterator
with this geometry's information.
|
PathIterator |
getPathIterator(AffineTransform at,
double flatness)
If applies an affine transformation and returns the GeneralPathXIterator
with this geometry's information.
|
addPrimitive, clonePrimitives, fixPrimitive, getHandlers, intersection, union
ensureCapacity, equals, getPrimitiveAt, getPrimitivesNumber, getShape, getShape, is3D, iterator, reProject, transform
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
addPrimitive, ensureCapacity
getPrimitiveAt, getPrimitivesNumber, intersection, union
area, buffer, centroid, cloneGeometry, closestPoints, contains, convertToEWKB, convertToEWKB, convertToEWKBForcingType, convertToWKB, convertToWKB, convertToWKBForcingType, convertToWKT, convexHull, coveredBy, covers, crosses, difference, disjoint, distance, ensureOrientation, fastIntersects, flip, getBounds2D, getDimension, getEnvelope, getGeometryType, getHandlers, getInteriorPoint, getInternalShape, getShape, getShape, getType, getValidationStatus, intersection, intersects, intersects, invokeOperation, invokeOperation, isCCW, isSimple, isValid, isWithinDistance, makeValid, move, offset, out, overlaps, perimeter, reProject, rotate, scale, snapTo, toLines, toPoints, toPolygons, touches, transform, union, within
contains, contains, contains, contains, getBounds, intersects
compareTo
getJTS
public AbstractMultiCurve(int type, int subtype)
multiline
- subtype
- public AbstractMultiCurve(int subtype)
type
- public Curve getCurveAt(int index)
MultiCurve
getCurveAt
in interface MultiCurve
index
- The positionpublic void addCurve(Curve curve)
MultiCurve
addCurve
in interface MultiCurve
curve
- The curve to addpublic PathIterator getPathIterator(AffineTransform at)
Geometry
getPathIterator
in interface Shape
getPathIterator
in interface Geometry
at
- The transformation to apply.public PathIterator getPathIterator(AffineTransform at, double flatness)
Geometry
getPathIterator
in interface Shape
getPathIterator
in interface Geometry
at
- The affine transformation.public GeneralPathX getGeneralPath()
Geometry
getGeneralPath
in interface Geometry