Skip to main content

C2xGetRoutePoint

Valid for: CANoe DE

Function Syntax

Description

Retrieve the latitude, longitude and heading value of the point with given index of route.

Parameters

  • routeName: Name of the route
  • index: Index of the point
  • latitude: The latitude value of the point as float value.
  • longitude: The longitude value of the point as float value.
  • heading: The heading value of the point as float value.

Return Values

  • 0: Success
  • ≠0: Route not available or failure

Example