LuciadCPillar C# 2024.0.01
|
A height provider based on a raster model. More...
Classes | |
class | Builder |
Builder for a RasterModelHeightProvider . More... | |
Public Member Functions | |
RasterModelHeightProvider (Luciad.Models.Rasters.RasterModelHeightProvider other) | |
void | Dispose () |
double? | RetrieveHeightAt (Luciad.Cartesian.Coordinate coordinate, double pixelDensity) |
Retrieve the height data at the provided point at a provided pixel density. More... | |
double? | RetrieveHeightAt (Luciad.Cartesian.Coordinate coordinate, Luciad.Rasters.PixelDensity pixelDensity) |
Retrieve the height data at the provided point at a provided pixel density. More... | |
Static Public Member Functions | |
static Luciad.Models.Rasters.RasterModelHeightProvider.Builder | NewBuilder () |
Returns a new RasterModelHeightProvider builder. More... | |
Properties | |
bool | IsInterpolate [get, set] |
Whether (bilinear) interpolation is used when calculating height values form the source data. More... | |
Luciad.Geodesy.CoordinateReference | Reference [get] |
The coordinate reference of this height provider. More... | |
A height provider based on a raster model.
This class is thread-safe.
Related article: Retrieving height data.
|
inline |
|
inline |
|
inlinestatic |
Returns a new RasterModelHeightProvider
builder.
RasterModelHeightProvider
builder.
|
inline |
Retrieve the height data at the provided point at a provided pixel density.
Looks for a tile in the underlying raster data covering the specified point and with a pixel density equal or lower to the specified density, and returns elevation data based on that tile. If several tiles match, then the most detailed tile is used; if all tiles covering the point have a density higher than requested density, then the least detailed tile is used.
coordinate | The point for which the height is requested, expressed in the coordinate reference of the height provider. If the height provider reference is a 2D reference, Z-value is ignored. |
pixelDensity | The pixel density used to determine the level of detail to use in the underlying data. Assumed to be in the coordinate reference of the height provider. |
null
if no data is available for this coordinate.
|
inline |
Retrieve the height data at the provided point at a provided pixel density.
Looks for a tile in the underlying raster data covering the specified point and with a pixel density equal or lower to the specified density, and returns elevation data based on that tile. If several tiles match, then the most detailed tile is used; if all tiles covering the point have a density higher than requested density, then the least detailed tile is used.
coordinate | The point for which the height is requested, expressed in the coordinate reference of the height provider. If the height provider reference is a 2D reference, Z-value is ignored. |
pixelDensity | The pixel density used to determine the level of detail to use in the underlying data. Must be in the coordinate reference of the height provider. |
null
if no data is available for this coordinate.
|
getset |
Whether (bilinear) interpolation is used when calculating height values form the source data.
Returns whether (bilinear) interpolation is used when calculating height values form the source data.
Sets whether (bilinear) interpolation is used when calculating height values form the source data. Using interpolation makes sure that neighbouring height values form a smoother curve.
|
get |
The coordinate reference of this height provider.
Returns the coordinate reference of this height provider. The input and output of RetrieveHeightAt
are all expressed in this reference.