![]() |
MapLink Pro 11.1.1.0.
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
|
This structure is passed in empty to the query methods of TSLTerrainDatabase and if data is available, it is filled with terrain information on return.
Public Member Functions | |
TSLTerrainDataItem () | |
TSLTerrainDataItem (const TSLTerrainDataItem &other) | |
~TSLTerrainDataItem () | |
Public Attributes | |
double | m_x |
double | m_y |
double | m_z |
bool | m_isNull |
double | m_xResolution |
double | m_yResolution |
double | m_nearestX |
double | m_nearestY |
double | m_nearestZ |
bool | m_nearestIsNull |
TSLTerrainDataItem::TSLTerrainDataItem | ( | ) |
TSLTerrainDataItem::TSLTerrainDataItem | ( | const TSLTerrainDataItem & | other | ) |
TSLTerrainDataItem::~TSLTerrainDataItem | ( | ) |
bool TSLTerrainDataItem::m_isNull |
Set to true if the height for the position is invalid. The m_z will be set to 0 if true.
This data is always valid after a successful call to any of the query functions.
bool TSLTerrainDataItem::m_nearestIsNull |
Allows the caller to determine if the nearest data reading to the requested location is null or not. The nearest data reading is null if this flag is set.
This data is only valid after a successful call to any of the query functions if the filter parameter has the TSLTerrainData_Nearest bit set.
double TSLTerrainDataItem::m_nearestX |
Returns the X position of the nearest actual data reading.
This data is only valid after a successful call to any of the query functions if the filter parameter has the TSLTerrainData_Nearest bit set.
double TSLTerrainDataItem::m_nearestY |
Returns the Y position of the nearest actual data reading.
This data is only valid after a successful call to any of the query functions if the filter parameter has the TSLTerrainData_Nearest bit set.
double TSLTerrainDataItem::m_nearestZ |
Returns the height of the nearest actual data reading. Only valid if m_ nearestIsNull is false.
This data is only valid after a successful call to any of the query functions if the filter parameter has the TSLTerrainData_Nearest bit set.
double TSLTerrainDataItem::m_x |
m_x, m_y detail the position the data within the structure pertains to. The units are the Map Units as created in MapLink Studio.
This data is always valid after a successful call to any of the query functions.
double TSLTerrainDataItem::m_xResolution |
Contains information on the x resolution of the grid where the data was extracted from.
This data is only valid after a successful call to any of the query functions if the filter parameter has the TSLTerrainData_HorizontalRes bit set.
double TSLTerrainDataItem::m_y |
m_x, m_y detail the position the data within the structure pertains to. The units are the Map Units as created in MapLink Studio.
This data is always valid after a successful call to any of the query functions.
double TSLTerrainDataItem::m_yResolution |
Contains information on the y resolution of the grid where the data was extracted from.
This data is only valid after a successful call to any of the query functions if the filter parameter has the TSLTerrainData_HorizontalRes bit set.
double TSLTerrainDataItem::m_z |
Contains the height information ranging from -32768 to 32767. The units depend upon the data within the terrain database but are generally in meters from mean sea level.
This data is always valid after a successful call to any of the query functions.