Package com.luciad.geometries
Class CompositeRing
java.lang.Object
com.luciad.geometries.Geometry
com.luciad.geometries.Curve
com.luciad.geometries.Ring
com.luciad.geometries.CompositeRing
- All Implemented Interfaces:
AutoCloseable
- Direct Known Subclasses:
ArcBand,PolylineRing
Represents a composite ring.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()protected voidfinalize()getCurveAt(long index) Returns the curve for the requested index.longReturns the number of curves in this composite.Methods inherited from class com.luciad.geometries.Curve
computePoint, getLength2DMethods inherited from class com.luciad.geometries.Geometry
getBounds, getReference
-
Method Details
-
finalize
protected void finalize() -
close
public void close()- Specified by:
closein interfaceAutoCloseable- Overrides:
closein classRing
-
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:
-