Class TLcdIntervalContour

java.lang.Object
com.luciad.contour.TLcdIntervalContour
All Implemented Interfaces:
ILcdBounded

public class TLcdIntervalContour extends Object implements ILcdBounded
Represents an object that contains a shape with an interval. The shape can be retrieved using the getShape() method, and the interval can be retrieved using the getInterval() method.

This class also implements the ILcdBounded interface. The calculation of the bounds is delegated to the shape inside this object.

  • Constructor Details

    • TLcdIntervalContour

      public TLcdIntervalContour(ILcdShape aShape, ILcdInterval aInterval)
      Create a new TLcdIntervalContour.
      Parameters:
      aShape - The base shape.
      aInterval - The interval to attach to the base shape.
  • Method Details

    • getShape

      public ILcdShape getShape()
      Returns the shape of this TLcdIntervalContour
      Returns:
      an ILcdShape
    • getInterval

      public ILcdInterval getInterval()
      Returns the interval of this TLcdIntervalContour
      Returns:
      an ILcdInterval
    • getBounds

      public ILcdBounds getBounds()
      Description copied from interface: ILcdBounded
      Returns the ILcdBounds by which the geometry of this ILcdBounded object is bounded.

      If the geometry does not allow retrieving valid bounds (for example a polyline with 0 points) the return value is unspecified. It is highly recommended to return an undefined bounds. You can create undefined bounds using the default constructors of TLcdLonLatBounds or TLcdXYBounds.

      Specified by:
      getBounds in interface ILcdBounded
      Returns:
      the ILcdBounds by which the geometry of this ILcdBounded object is bounded.
    • clone

      public TLcdIntervalContour clone()
      Makes a deep clone of TLcdIntervalContour
      Overrides:
      clone in class Object
      See Also: