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 SummaryModifier 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.CurvecomputePoint, getLength2DMethods inherited from class com.luciad.geometries.GeometrygetBounds, getReference
- 
Method Details- 
finalizeprotected void finalize()
- 
closepublic void close()- Specified by:
- closein interface- AutoCloseable
- Overrides:
- closein class- Ring
 
- 
getCurveCountpublic long getCurveCount()Returns the number of curves in this composite.- Returns:
- the number of curves in this composite.
- See Also:
 
- 
getCurveAtReturns 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:
 
 
-