|Constructor and Description|
Creates a new
|Modifier and Type||Method and Description|
Returns the height at the given point.
public TLcdTransformedHeightProvider(ILcdHeightProvider aHeightProvider, ILcdModelModelTransformation aTransformation) throws TLcdNoBoundsException
TLcdTransformedHeightProviderthat uses the given transformation to transform between the reference in which points are given (the destination reference) and the reference associated with the given delegate height provider (the source reference).
aHeightProvider- the height provider from which heights will be retrieved.
aTransformation- the transformation that will be applied to each point for which a height is retrieved (destination -> source reference), and to each height, after it has been retrieved (source -> destination reference). Note that the transformation should be initialized, i.e. the source and target references must be set.
TLcdNoBoundsException- if the transformed height provider doesn't have valid bounds.
public double retrieveHeightAt(ILcdPoint aPoint)
aPoint- a 2D point, in the horizontal reference that is determined by the implementation.
Double.NaN, if the elevation is not known.
public ILcdBounds getBounds()
ILcdBoundsby which the geometry of this
ILcdBoundedobject 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
You can create undefined bounds using the default constructors