Package com.luciad.shape
Interface ILcdEditableSurface
- All Superinterfaces:
Cloneable
,ILcdBounded
,ILcdCloneable
,ILcdShape
,ILcdSurface
,Serializable
- All Known Implementing Classes:
TLcdDWGSurface
,TLcdGML2Polygon
,TLcdGML31Polygon
,TLcdGML31PolygonPatch
,TLcdGML32Polygon
,TLcdGML32PolygonPatch
,TLcdNVG20ArcBand
,TLcdNVG20Circle
,TLcdNVG20Ellipse
,TLcdNVG20Polygon
,TLcdNVG20Rectangle
,TLcdSurface
A surface that can be edited:
the exterior ring can be changed, and
getInteriorRings()
returns an editable list, allowing to
insert, remove, and replace interior elements.- Since:
- 9.0
-
Method Summary
Modifier and TypeMethodDescriptionReturns the holes in this surface, as a list ofILcdRing
instances.void
setExteriorRing
(ILcdRing aRing) Sets the exterior boundary of this surface.Methods inherited from interface com.luciad.shape.ILcdBounded
getBounds
Methods inherited from interface com.luciad.util.ILcdCloneable
clone
Methods inherited from interface com.luciad.shape.ILcdShape
contains2D, contains2D, contains3D, contains3D, getFocusPoint
Methods inherited from interface com.luciad.shape.ILcdSurface
getExteriorRing
-
Method Details
-
setExteriorRing
Sets the exterior boundary of this surface.Note that this implementations may throw a
ClassCastException
orIllegalArgumentException
in case the class of the ring is not compatible with the implementation of the surface. Implementations should specify in their documentation all restrictions that apply in this context.- Parameters:
aRing
- the exterior boundary of this surface.
-
getInteriorRings
Returns the holes in this surface, as a list ofILcdRing
instances. If there are no holes, an empty list is returned.The returned list is editable and can be used to add, remove or replace interior rings.
- Specified by:
getInteriorRings
in interfaceILcdSurface
- Returns:
- an editable list containing zero or more rings, representing the holes in this surface.
-