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

Detailed Description

This class encapsulates the notion of a generic Link object that links two Node objects together in a TSLOptimizedNetwork object.

Public Member Functions

 TSLOptLink ()
 
 ~TSLOptLink ()
 
int featureCode () const
 
float length () const
 

Constructor & Destructor Documentation

◆ TSLOptLink()

TSLOptLink::TSLOptLink ( )

The default constructor.

◆ ~TSLOptLink()

TSLOptLink::~TSLOptLink ( )

Destructor.

Member Function Documentation

◆ featureCode()

int TSLOptLink::featureCode ( ) const
inline

Queries the link for its feature code.

Returns the feature code.

◆ length()

float TSLOptLink::length ( ) const
inline

Returns the length of this link (m).

Note: For networks created from OS ITN data the length returned is in TMCs. To obtain metres, the TMC length value requires dividing by the TMC per Map Unit value used to create the network.