Skip to main content
Open topic with navigation CAPL Functions » J1939 » GNSS NL » GNSSSetRefPoint

GNSSSetRefPoint

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

dword GNSSSetRefPoint( double latitude, double longitude, double altitude )

Description

This function defines a reference point that will be used by the functions GNSSAddWpRef and GNSSAddWpRefS to calculate a new waypoint. The unit of the altitude parameter depends on the system of measurement units selected with the GNSSSetUnits function.

Parameters

  • latitude: latitude of the reference point in degrees
  • longitude: longitude of the reference point in degrees
  • altitude: altitude of the reference point (in m or ft)

Return Values

error code

Example

GNSSSetRefPoint( 48.46, 9.11, 225.0 );