LuciadCPillar C# 2023.1.04
|
Builder for a RasterModelHeightProvider. More...
Public Member Functions | |
Builder (Luciad.Models.Rasters.RasterModelHeightProvider.Builder other) | |
Luciad.Models.Rasters.RasterModelHeightProvider | Build () |
Creates a new RasterModelHeightProvider instance, based on the supplied settings. More... | |
void | Dispose () |
Luciad.Models.Rasters.RasterModelHeightProvider.Builder | Interpolate (bool interpolate) |
Set whether (bilinear) interpolation should be when converting the source elevation data to a height value. More... | |
Luciad.Models.Rasters.RasterModelHeightProvider.Builder | RasterModel (Luciad.Models.Rasters.IRasterModel model) |
Set the model from which the height provider needs to get elevation data. More... | |
Luciad.Models.Rasters.RasterModelHeightProvider.Builder | Reference (Luciad.Geodesy.CoordinateReference reference) |
Set the coordinate reference for the height provider. More... | |
Builder for a RasterModelHeightProvider.
2023.0
|
inline |
|
inline |
Creates a new RasterModelHeightProvider instance, based on the supplied settings.
If mandatory settings were not set, an exception is thrown. a new RasterModelHeightProvider instance.
luciad::LogicException
if the rasterModel method has not been called.
|
inline |
|
inline |
Set whether (bilinear) interpolation should be when converting the source elevation data to a height value.
Using interpolation makes sure that neighbouring height values form a smoother curve. this is useful for visualization purposes, where a smooth result is often desired. Disabling interpolation is useful when you want to get access to the original source elevation data. This method is optional. Interpolation is disabled by default.
interpolate
linear interpolation is used if true, nearest neighbor if false.
this builder
|
inline |
Set the model from which the height provider needs to get elevation data.
This property is mandatory.
model
a raster model with elevation data
this builder
luciad::InvalidArgumentException
if model is nullptr or not an elevation raster model.
|
inline |
Set the coordinate reference for the height provider.
This method is optional. If not called, the raster model's reference is used.
reference
the coordinate reference to use
this builder
luciad::InvalidArgumentException
if reference is nullptr.