Package com.luciad.contour
Class TLcdValuedContour
java.lang.Object
com.luciad.contour.TLcdValuedContour
- All Implemented Interfaces:
ILcdBounded
Represents an object that contains a shape with a value. The shape can be retrieved using the
getShape() method,
and the value can be retrieved using the getValue() method.
This class also implements the ILcdBounded interface. The calculation of the bounds
is delegated to the shape inside this object.-
Constructor Summary
ConstructorsConstructorDescriptionTLcdValuedContour(ILcdShape aShape, double aValue) Create a newTLcdValuedContour. -
Method Summary
-
Constructor Details
-
TLcdValuedContour
Create a newTLcdValuedContour.- Parameters:
aShape- The base shape.aValue- The value to attach to the base shape.
-
-
Method Details
-
getShape
Returns the shape of thisTLcdValuedContour- Returns:
- an
ILcdShape
-
getValue
public double getValue()Returns the value of thisTLcdValuedContour- Returns:
- a value in the form of a
double
-
getBounds
Description copied from interface:ILcdBoundedReturns theILcdBoundsby which the geometry of thisILcdBoundedobject 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
undefinedbounds. You can create undefined bounds using the default constructors ofTLcdLonLatBoundsorTLcdXYBounds.- Specified by:
getBoundsin interfaceILcdBounded- Returns:
- the
ILcdBoundsby which the geometry of thisILcdBoundedobject is bounded.
-
clone
Makes a deep clone ofTLcdValuedContour
-