public class CompositeCurve extends Curve implements AutoCloseable
GeometryFactory#createCompositeCurve
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected void |
finalize() |
Curve |
getCurveAt(long index)
Returns the curve for the requested index.
|
long |
getCurveCount()
Returns the number of curves in this composite.
|
computePoint, getLength2D
getBounds, getReference
public void close()
close
in interface AutoCloseable
close
in class Curve
public long getCurveCount()
getCurveAt
@NotNull public Curve getCurveAt(long index) throws IllegalArgumentException
index
- the curve indexIllegalArgumentException
- when requesting an invalid index.getCurveCount