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, JOIN_STYLE_BEVEL, JOIN_STYLE_MITRE, JOIN_STYLE_ROUND, 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
|
Geometry |
dissolve() |
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.
|
java.awt.geom.PathIterator |
getPathIterator(java.awt.geom.AffineTransform at)
If applies an affine transformation and returns the GeneralPathXIterator
with this geometry's information.
|
java.awt.geom.PathIterator |
getPathIterator(java.awt.geom.AffineTransform at,
double flatness)
If applies an affine transformation and returns the GeneralPathXIterator
with this geometry's information.
|
addPrimitive, addPrimitives, addPrimitives, addPrimitives, clonePrimitives, fixPrimitive, getHandlers, intersection, union
canBeReprojected, canBeTransformed, ensureCapacity, equals, get, getPrimitiveAt, getPrimitivesNumber, getShape, getShape, is3D, isEmpty, iterator, reProject, size, transform
area, boundary, buffer, buffer, centroid, clone, closestPoints, compareTo, contains, contains, contains, contains, contains, convertTo, convertToEWKB, convertToEWKB, convertToEWKBForcingType, convertToGeoJson, convertToGeoJson, convertToHexEWKB, convertToHexEWKBQuietly, convertToHexWKB, convertToHexWKBQuietly, convertToWKB, convertToWKB, convertToWKBForcingType, convertToWKBQuietly, convertToWKT, convertToWKTQuietly, convexHull, coveredBy, covers, crosses, difference, disjoint, distance, ensureOrientation, fastIntersects, fix, force2DM, force3D, force3DM, forceSubtype, getBounds, getBounds2D, getEnvelope, getGeometryType, getInteriorPoint, getInternalShape, getManager, getProjection, getType, getValidationStatus, intersection, intersects, intersects, intersects, invokeOperation, invokeOperation, isCCW, isSimple, isValid, isWithinDistance, makeValid, move, notifyDeprecated, out, overlaps, perimeter, rotate, scale, setGeometryType, setProjection, setProjection, setProjectionIffNull, snapTo, toString, touches, union, within
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addPrimitive, addPrimitives, addPrimitives, ensureCapacity
getPrimitiveAt, getPrimitivesNumber, intersection, union
area, boundary, buffer, buffer, canBeReprojected, canBeTransformed, centroid, clone, cloneGeometry, closestPoints, contains, convertTo, convertToEWKB, convertToEWKB, convertToEWKBForcingType, convertToGeoJson, convertToHexEWKB, convertToHexEWKBQuietly, convertToHexWKB, convertToHexWKBQuietly, convertToWKB, convertToWKB, convertToWKBForcingType, convertToWKBQuietly, convertToWKT, convertToWKTQuietly, convexHull, coveredBy, covers, crosses, difference, disjoint, distance, ensureOrientation, equals, fastIntersects, fix, flip, force2D, forceSubtype, getBounds2D, getDimension, getEnvelope, getGeometryType, getHandlers, getInteriorPoint, getInternalShape, getProjection, getShape, getShape, getType, getValidationStatus, intersection, intersects, intersects, invokeOperation, invokeOperation, isCCW, isEmpty, isSimple, isValid, isWithinDistance, makeValid, move, offset, offset, out, overlaps, perimeter, reProject, rotate, scale, setProjection, setProjection, setProjectionIffNull, snapTo, toLines, toPoints, toPolygons, touches, transform, union, within
contains, contains, contains, contains, getBounds, intersects
isEmpty, isEmpty, isEmpty, isEmptyQuietly
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 java.awt.geom.PathIterator getPathIterator(java.awt.geom.AffineTransform at)
Geometry
getPathIterator
in interface java.awt.Shape
getPathIterator
in interface Geometry
at
- The transformation to apply.public java.awt.geom.PathIterator getPathIterator(java.awt.geom.AffineTransform at, double flatness)
Geometry
getPathIterator
in interface java.awt.Shape
getPathIterator
in interface Geometry
at
- The affine transformation.public GeneralPathX getGeneralPath()
Geometry
getGeneralPath
in interface Geometry
public Geometry dissolve()
dissolve
in interface MultiCurve