get_gtire_roaddata

 

The get_gtire_roaddata subroutine returns road information from road entity of Gtire.

 

Langunage type

SubRoutine

C/C++

get_gtire_roaddata(int rid, int rrmid, int cmdtype, double[] roadpara, double[] roadinf, int[] iarray, char [] carray, int* error)

 

Parameter information

 

Variable Name

Size

Description

rid

Int

[in] road entity id to get the road parameters

rrmid

Int

[in] road reference marker id

cmdtype

Int

[in] The command type to get road information.

“1”: height. (In current, only “1” is supported.)

roadpara

Double [#]

[in] road position to find out height on (x, y) w.r.t. rrm.

     cmdtype = 1, roadpara[0~1]: height (local coordinate of z-axis w.r.t. road reference marker), size = 2.

roadinf

Double [#]

[out] The corresponding array value about road information.

     cmdtype = 1, roadInf[0]: height (local coordinate of z-axis w.r.t. road reference marker), size = 1.

iarray

Int [#]

[in/out] This is a reserved integer array for future. Do not use this parameter

carray

Char [#]

[in/out] This is a reserved character array for future. Do not use this parameter.

error

Int

[out] return status or error flag.