Package com.luciad.geometries
Class CompositeCurve
java.lang.Object
com.luciad.geometries.Geometry
com.luciad.geometries.Curve
com.luciad.geometries.CompositeCurve
- All Implemented Interfaces:
AutoCloseable
- Direct Known Subclasses:
Polyline
Represents a composite curve.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
protected void
finalize()
getCurveAt
(long index) Returns the curve for the requested index.long
Returns the number of curves in this composite.Methods inherited from class com.luciad.geometries.Curve
computePoint, getLength2D
Methods inherited from class com.luciad.geometries.Geometry
getBounds, getReference
-
Method Details
-
finalize
protected void finalize() -
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Overrides:
close
in classCurve
-
getCurveCount
public long getCurveCount()Returns the number of curves in this composite.- Returns:
- the number of curves in this composite.
- See Also:
-
getCurveAt
Returns the curve for the requested index.- Parameters:
index
- the curve index- Returns:
- the curve at index
- Throws:
IllegalArgumentException
- when requesting an invalid index.- See Also:
-