![]() |
MapLink Pro .NET 11.1
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
|
This class category contains the Terrain .NET API classes.
Topics | |
ViewShed Data Layer | |
struct Envitia::MapLink::Terrain::TSLNTerrainDataItem |
Class Members | ||
---|---|---|
int | m_currency |
Not currently implemented. Contains information on how up-to-date the source data used to read the height information is. |
TSLNTerrainData_SOURCE | m_dataSource |
Not currently implemented. Contains the data source that the height information came from. |
double | m_horizontalAccuracy |
Not currently implemented. Contains information on the horizontal accuracy of the height reading. |
bool | 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 | 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 | 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 | 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 | 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. |
unsigned short | m_status |
Not currently implemented. Contains information on the status of the height reading. |
double | m_verticalAccuracy |
Not currently implemented. Contains information on the vertical accuracy of the height reading. |
double | m_verticalResolution |
Not currently implemented. Contains information on the vertical resolution of the height reading. |
double | m_x |
Data Members for Class Attributes. 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 | 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 | 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 | 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 | 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. |
|
strong |
Enumeration that describes the different possible sizes of the data within the terrain database.
Possible values are:
TSLNTerrainFormat_SHORT: Each point in the database uses 2 bytes. TSLNTerrainFormat_LONG: Each point in the database uses 4 bytes. TSLNTerrainFormat_DOUBLE: Each point in the database uses 8 bytes.
Enumerator | |
---|---|
TSLNTerrainFormat_SHORT | |
TSLNTerrainFormat_LONG | |
TSLNTerrainFormat_DOUBLE |
|
strong |
This enumeration lists the different types of contour algorithms that can be used. It contains the following values:
TSLNTerrainContourLineTypeSimple - Generates contour lines using the TIN algorithm. TSLNTerrainContourLineTypeStandard - As TSLContourTypeSimple but performs optimisation on the resulting lines to remove duplicate points TSLNTerrainContourLineTypeCONREC - Generates contour lines using the CONREC algorithm.
Enumerator | |
---|---|
TSLNTerrainContourLineTypeSimple | |
TSLNTerrainContourLineTypeStandard | |
TSLNTerrainContourLineTypeCONREC |
|
strong |
|
strong |
|
strong |
Enumeration that defines the possible types of interpolation that can be used when querying data from a terrain database.
The possible values are:
TSLNTerrainInterpolate_NONE: A nearest neighbour algorithm is used that returns the height of the point nearest the requested point. Very fast but less accurate.
TSLNTerrainInterpolate_LINEAR: Bilinear interpolation is used to calculate height value. More accurate but slightly slower than TSLNTerrainInterpolate_ NONE.
TSLNTerrainInterpolate_MIN: The The lowest neighbouring value is used. Very fast but rarely used due to inaccuracy.
TSLNTerrainInterpolate_MAX: The highest neighbouring value is used. Very fast but rarely used due to inaccuracy.
Enumerator | |
---|---|
TSLNTerrainInterpolate_NONE | |
TSLNTerrainInterpolate_LINEAR | |
TSLNTerrainInterpolate_MIN | |
TSLNTerrainInterpolate_MAX |