cesium-native
0.41.0
|
The result of sampling heights with Tileset::sampleHeightMostDetailed. More...
#include <Cesium3DTilesSelection/SampleHeightResult.h>
Public Attributes | |
std::vector< CesiumGeospatial::Cartographic > | positions |
The positions and their sampled heights. More... | |
std::vector< bool > | sampleSuccess |
The success of each sample. More... | |
std::vector< std::string > | warnings |
Any warnings that occurred while sampling heights. | |
The result of sampling heights with Tileset::sampleHeightMostDetailed.
Definition at line 14 of file SampleHeightResult.h.
std::vector<CesiumGeospatial::Cartographic> Cesium3DTilesSelection::SampleHeightResult::positions |
The positions and their sampled heights.
For each resulting position, its longitude and latitude values will match values from its input. Its height will either be the height sampled from the tileset at that position, or the original input height if the sample was unsuccessful. To determine which, look at the value of SampleHeightResult::sampleSuccess at the same index.
Definition at line 24 of file SampleHeightResult.h.
std::vector<bool> Cesium3DTilesSelection::SampleHeightResult::sampleSuccess |
The success of each sample.
Each entry specifies whether the height for the position at the corresponding index was successfully sampled. If true, then SampleHeightResult::positions has a valid height sampled from the tileset at this index. If false, the height could not be sampled, leaving the height in SampleHeightResult::positions unchanged from the original input height.
Definition at line 36 of file SampleHeightResult.h.