public interface ILcdEditableSurface extends ILcdSurface
getInteriorRings()
returns an editable list, allowing to
insert, remove, and replace interior elements.Modifier and Type | Method and Description |
---|---|
List<ILcdRing> |
getInteriorRings()
Returns the holes in this surface, as a list of
ILcdRing instances. |
void |
setExteriorRing(ILcdRing aRing)
Sets the exterior boundary of this surface.
|
getExteriorRing
contains2D, contains2D, contains3D, contains3D, getFocusPoint
getBounds
clone
void setExteriorRing(ILcdRing aRing)
Note that this implementations may throw a
ClassCastException
or IllegalArgumentException
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.
aRing
- the exterior boundary of this surface.List<ILcdRing> getInteriorRings()
ILcdRing
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.
getInteriorRings
in interface ILcdSurface