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 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 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:
-