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

A height provider based on a raster model. More...

Inheritance diagram for Luciad.Models.Rasters.RasterModelHeightProvider:

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]
 
Luciad.Geodesy.CoordinateReference Reference [get]
 

Detailed Description

A height provider based on a raster model.

This class is thread-safe. Related article: Retrieving height data. 2023.0

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

Constructor & Destructor Documentation

◆ RasterModelHeightProvider()

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

Member Function Documentation

◆ Dispose()

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

◆ NewBuilder()

Luciad.Models.Rasters.RasterModelHeightProvider.Builder Luciad.Models.Rasters.RasterModelHeightProvider.NewBuilder ( )
inlinestatic

Returns a new RasterModelHeightProvider builder.

a new RasterModelHeightProvider builder.

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

◆ RetrieveHeightAt() [1/2]

double Luciad.Models.Rasters.RasterModelHeightProvider.RetrieveHeightAt ( Luciad.Cartesian.Coordinate  coordinate,
double  pixelDensity 
)
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.

the height expressed in the reference of the height provider, or std::nullopt if no data is available for this coordinate.

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

◆ RetrieveHeightAt() [2/2]

double Luciad.Models.Rasters.RasterModelHeightProvider.RetrieveHeightAt ( Luciad.Cartesian.Coordinate  coordinate,
Luciad.Rasters.PixelDensity  pixelDensity 
)
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.

the height expressed in the reference of the height provider, or std::nullopt if no data is available for this coordinate.

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

Property Documentation

◆ IsInterpolate

bool Luciad.Models.Rasters.RasterModelHeightProvider.IsInterpolate
getset

◆ Reference

Luciad.Geodesy.CoordinateReference Luciad.Models.Rasters.RasterModelHeightProvider.Reference
get