Maps SDK for C++ 1.0.0
Loading...
Searching...
No Matches
gem::IOpenLRInfo Class Referenceabstract

Interface for OpenLR information. More...

Public Member Functions

virtual ~IOpenLRInfo ()=default
 Destructor.
virtual int getSegmentCount () const =0
 Get the number of segments.
virtual const CoordinatesRef getLocation (int idx) const =0
 Get the location coordinates at the specified index.
virtual int getAngle (int idx) const =0
 Get the angle at the specified index.
virtual int getDistanceM (int idx) const =0
 Get the distance in meters at the specified index.
virtual float getOffset (int idx) const =0
 Get the offset at the specified index.
virtual int getFOW (int idx) const =0
 Get the form of way at the specified index.
virtual String getFOWStr (int idx) const =0
 Get the form of way as a string at the specified index.
virtual void show (int idx) const =0
 Show the information at the specified index.

Detailed Description

Interface for OpenLR information.

This interface provides methods to retrieve information about OpenLR data.

Member Function Documentation

◆ getAngle()

virtual int gem::IOpenLRInfo::getAngle ( int idx) const
pure virtual

Get the angle at the specified index.

Parameters
idxThe index of the angle.
Returns
The angle value.

◆ getDistanceM()

virtual int gem::IOpenLRInfo::getDistanceM ( int idx) const
pure virtual

Get the distance in meters at the specified index.

Parameters
idxThe index of the distance.
Returns
The distance in meters.

◆ getFOW()

virtual int gem::IOpenLRInfo::getFOW ( int idx) const
pure virtual

Get the form of way at the specified index.

Parameters
idxThe index of the form of way.
Returns
The form of way value.

◆ getFOWStr()

virtual String gem::IOpenLRInfo::getFOWStr ( int idx) const
pure virtual

Get the form of way as a string at the specified index.

Parameters
idxThe index of the form of way.
Returns
The form of way as a string.

◆ getLocation()

virtual const CoordinatesRef gem::IOpenLRInfo::getLocation ( int idx) const
pure virtual

Get the location coordinates at the specified index.

Parameters
idxThe index of the location.
Returns
The coordinates reference.

◆ getOffset()

virtual float gem::IOpenLRInfo::getOffset ( int idx) const
pure virtual

Get the offset at the specified index.

Parameters
idxThe index of the offset.
Returns
The offset value.

◆ getSegmentCount()

virtual int gem::IOpenLRInfo::getSegmentCount ( ) const
pure virtual

Get the number of segments.

Returns
The number of segments.

◆ show()

virtual void gem::IOpenLRInfo::show ( int idx) const
pure virtual

Show the information at the specified index.

Parameters
idxThe index of the information to show.