public class TLcdIntervalContour extends Object implements ILcdBounded
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 and Description |
---|
TLcdIntervalContour(ILcdShape aShape,
ILcdInterval aInterval)
Create a new
TLcdIntervalContour . |
Modifier and Type | Method and Description |
---|---|
TLcdIntervalContour |
clone()
Makes a deep clone of
TLcdIntervalContour |
ILcdBounds |
getBounds()
Returns the
ILcdBounds by which the geometry of this ILcdBounded object
is bounded. |
ILcdInterval |
getInterval()
Returns the interval of this
TLcdIntervalContour |
ILcdShape |
getShape()
Returns the shape of this
TLcdIntervalContour |
public TLcdIntervalContour(ILcdShape aShape, ILcdInterval aInterval)
TLcdIntervalContour
.aShape
- The base shape.aInterval
- The interval to attach to the base shape.public ILcdShape getShape()
TLcdIntervalContour
ILcdShape
public ILcdInterval getInterval()
TLcdIntervalContour
ILcdInterval
public ILcdBounds getBounds()
ILcdBounded
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
.
getBounds
in interface ILcdBounded
ILcdBounds
by which the geometry of this ILcdBounded
object
is bounded.public TLcdIntervalContour clone()
TLcdIntervalContour
clone
in class Object
Object.clone()