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¶
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¶
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¶
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¶
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¶
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) |