LuciadCPillar C# 2023.1.04
Luciad.Models.Rasters.RasterModelHeightProvider.Builder Class Reference

Builder for a RasterModelHeightProvider. More...

Inheritance diagram for Luciad.Models.Rasters.RasterModelHeightProvider.Builder:

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...
 

Detailed Description

Builder for a RasterModelHeightProvider.

2023.0

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::RasterModelHeightProvider::Builder.

Constructor & Destructor Documentation

◆ Builder()

Luciad.Models.Rasters.RasterModelHeightProvider.Builder.Builder ( Luciad.Models.Rasters.RasterModelHeightProvider.Builder  other)
inline

Member Function Documentation

◆ Build()

Luciad.Models.Rasters.RasterModelHeightProvider Luciad.Models.Rasters.RasterModelHeightProvider.Builder.Build ( )
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.

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::RasterModelHeightProvider::Builder::build.

◆ Dispose()

void Luciad.Models.Rasters.RasterModelHeightProvider.Builder.Dispose ( )
inline

◆ Interpolate()

Luciad.Models.Rasters.RasterModelHeightProvider.Builder Luciad.Models.Rasters.RasterModelHeightProvider.Builder.Interpolate ( bool  interpolate)
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

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::RasterModelHeightProvider::Builder::interpolate.

◆ RasterModel()

Luciad.Models.Rasters.RasterModelHeightProvider.Builder Luciad.Models.Rasters.RasterModelHeightProvider.Builder.RasterModel ( Luciad.Models.Rasters.IRasterModel  model)
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.

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::RasterModelHeightProvider::Builder::rasterModel.

◆ Reference()

Luciad.Models.Rasters.RasterModelHeightProvider.Builder Luciad.Models.Rasters.RasterModelHeightProvider.Builder.Reference ( Luciad.Geodesy.CoordinateReference  reference)
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.

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::RasterModelHeightProvider::Builder::reference.