![]() |
MapLink Pro 11.2
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
|
This class encapsulates the notion of a generic Node object that populates the TSLOptimizedNetwork object.
Public Member Functions | |
TSLOptNode () | |
~TSLOptNode () | |
const TSLCoord & | position () const |
TSLOptNode::TSLOptNode | ( | ) |
The default constructor.
TSLOptNode::~TSLOptNode | ( | ) |
Destructor.
|
inline |
Queries the node for its position.
Returns the node's position. If TSLOptimizedNetwork::isLatLong() returns true, then the position is a scaled longitude and latitude pair, where scaled longitude = position().x() and scaled latitude = position().y(). In order to get true latitude / longitude, divide the relevant values by TSLOptimizedNetwork::coordinateScaleFactor().