Skip to main content

Proj_TransformToGeo (ADAS)

Valid for: CANoe DE Note
This CAPL function is also available in C#.

Function Syntax

C#
bool result = _ADAS.DataModel.ProjAccess.Proj_TransformToGeo.Call(inertialCoordinate, out geoCoordinate);
CAPL

Description

This function transforms an inertial coordinate to a geodetic coordinate. Proj_Create has to be called first to initialize the Proj Access with a definition/proj_string.

Parameters

  • inertialCoordinate : _ADAS.DataModel.Position3d
    An inertial coordinate
  • geoCoordinate : _ADAS.DataModel.GeoPosition
    A geodetic coordinate (out-param)

Return Values

  • bool
    true if transformation is correct, false otherwise

Example

In the examples it is assumed in each case that a DO object of the type IScenarioManager was created.

CAPL

C#