CartoType C++ API 7.8.2, 2022-03-25
for Windows, Linux, Qt and other platforms supporting C++ development
Public Member Functions | Public Attributes | List of all members
CartoType::TLocationMatchParam Class Reference

#include <cartotype_navigation.h>

Public Member Functions

void Normalize ()
 
TLocationMatchParam Normalized () const
 

Public Attributes

double iLocationAccuracyInMeters = 0
 
double iHeadingAccuracyInDegrees = 0
 
double iMaxRoadDistanceInMeters = 0
 

Detailed Description

Parameters used when matching a road or other feature to a location.

Member Function Documentation

◆ Normalize()

void CartoType::TLocationMatchParam::Normalize ( )

Converts zeros to default values and clamps other values to legal ranges.

◆ Normalized()

TLocationMatchParam CartoType::TLocationMatchParam::Normalized ( ) const
inline

Returns a normalized version of this object.

Member Data Documentation

◆ iHeadingAccuracyInDegrees

double CartoType::TLocationMatchParam::iHeadingAccuracyInDegrees = 0

The accuracy of a heading or course given as an angular error in degrees with 95% probability. It is clamped to the range 1 ... 90. A value of zero indicates the default value: 22.5.

◆ iLocationAccuracyInMeters

double CartoType::TLocationMatchParam::iLocationAccuracyInMeters = 0

The accuracy of a location fix given as a range error with 95% probability. It is clamped to the range 1 ... 1000. A value of zero indicates the default value: 8.

◆ iMaxRoadDistanceInMeters

double CartoType::TLocationMatchParam::iMaxRoadDistanceInMeters = 0

The expected maximum distance of a road from the current location. It is clamped to the range 5 ... 10,000. A value of zero indicates the default value: 100.


The documentation for this class was generated from the following file: