MapLink Pro 11.2
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
Loading...
Searching...
No Matches
TSLOptNode Class Reference

Detailed Description

This class encapsulates the notion of a generic Node object that populates the TSLOptimizedNetwork object.

Public Member Functions

 TSLOptNode ()
 
 ~TSLOptNode ()
 
const TSLCoordposition () const
 

Constructor & Destructor Documentation

◆ TSLOptNode()

TSLOptNode::TSLOptNode ( )

The default constructor.

◆ ~TSLOptNode()

TSLOptNode::~TSLOptNode ( )

Destructor.

Member Function Documentation

◆ position()

const TSLCoord & TSLOptNode::position ( ) const
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().