Interface ILcdEditableSurface

All Superinterfaces:
Cloneable, ILcdBounded, ILcdCloneable, ILcdShape, ILcdSurface, Serializable
All Known Implementing Classes:
TLcdGML2Polygon, TLcdGML31Polygon, TLcdGML31PolygonPatch, TLcdGML32Polygon, TLcdGML32PolygonPatch, TLcdNVG20ArcBand, TLcdNVG20Circle, TLcdNVG20Ellipse, TLcdNVG20Polygon, TLcdNVG20Rectangle, TLcdSurface

public interface ILcdEditableSurface extends ILcdSurface
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.
  • Method Details

    • setExteriorRing

      void setExteriorRing(ILcdRing aRing)
      Sets the exterior boundary of this surface.

      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.
    • getInteriorRings

      List<ILcdRing> getInteriorRings()
      Returns the holes in this surface, as a list of 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.

      Specified by:
      getInteriorRings in interface ILcdSurface
      an editable list containing zero or more rings, representing the holes in this surface.