Class CompositeRing

All Implemented Interfaces:
AutoCloseable
Direct Known Subclasses:
ArcBand, PolylineRing

public class CompositeRing extends Ring implements AutoCloseable
Represents a composite ring.
See Also:
  • Method Details Link icon

    • finalize Link icon

      protected void finalize()
      Overrides:
      finalize in class Ring
    • close Link icon

      public void close()
      Specified by:
      close in interface AutoCloseable
      Overrides:
      close in class Ring
    • getCurveCount Link icon

      public long getCurveCount()
      Returns the number of curves in this composite.
      Returns:
      the number of curves in this composite.
      See Also:
    • getCurveAt Link icon

      @NotNull public Curve getCurveAt(long index) throws IllegalArgumentException
      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: