iRIC_Geo_RiverSurvey_Read_Direction

Reads the direction of the cross-section as a normalized vector.

Format (FORTRAN)

call iRIC_Geo_RiverSurvey_Read_Direction(geo_handle, csid, dirx, diry, ier)

Format (C/C++)

ier = iRIC_Geo_RiverSurvey_Read_Direction(geo_handle, csid, dirx, diry)

Format (Python)

dirx, diry = iRIC_Geo_RiverSurvey_Read_Direction(geo_handle, csid)

Arguments and returned value

geo_handle

Table 1825 Description of geo_handle

Item

Value

Name

geo_handle

Input/Output

Input

Description

Handle of geographic data

Data type (FORTRAN)

integer

Data type (C/C++)

int

Data type (Python)

int

csid

Table 1826 Description of csid

Item

Value

Name

csid

Input/Output

Input

Description

Cross-Section ID (Start from 1)

Data type (FORTRAN)

integer

Data type (C/C++)

int

Data type (Python)

int

dirx

Table 1827 Description of dirx

Item

Value

Name

dirx

Input/Output

Output

Description

X component of direction vector

Data type (FORTRAN)

double precision

Data type (C/C++)

double*

Data type (Python)

float

diry

Table 1828 Description of diry

Item

Value

Name

diry

Input/Output

Output

Description

Y component of direction vector

Data type (FORTRAN)

double precision

Data type (C/C++)

double*

Data type (Python)

float

ier

Table 1829 Description of ier

Item

Value

Name

ier

Input/Output

Output

Description

Error code. 0 means success, other values mean error.

Data type (FORTRAN)

integer

Data type (C/C++)

int

Data type (Python)

(Not defined)