Ets_Nt_Site_Geocentric_Position_Get()
Abstract
Gets the position of a site in geocentric coordinates for any point in time.
Syntax
Ets_Nt_Site_Geocentric_Position_Get (site_hndl, time, geo_x_ptr, geo_y_ptr, geo_z_ptr)
| Argument | Type | Description |
|---|---|---|
site_hndl |
EtsT_Obj_Handle |
Site for which to obtain position. |
time |
double |
Time for which to obtain position, given as an offset (in seconds) from the network start time. |
geo_x_ptr |
double * |
Area to fill with geocentric x coordinate of site at the specified time. |
geo_y_ptr |
double * |
Area to fill with geocentric y coordinate of site at the specified time. |
geo_z_ptr |
double * |
Area to fill with geocentric z coordinate of site at the specified time. |
Return Type
EtsT_Compcode
EtsC_Compcode_Failure if site_hndl is not a site or time is less than 0.0; EtsC_Compcode_Success otherwise.
Header
ets_api_nt.h
Details
If time is 0.0, this function ignores any trajectory and returns the actual position of the site in the Project Editor.