Skip to main content

Proj_Create (ADAS)

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

Function Syntax

C#
CAPL

Description

This function initializes the Proj Access (interface IProjAccess) with a proj definition. After this, the methods Proj_TransformToGeo or Proj_TransformToInertial can be used to transform coordinates using the Proj Access.

Parameters

  • definition : string
    The Proj String

Return Values

  • bool
    true if initialization 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#