Ets_Nt_Trajectory_Position_Get()

Abstract

Gets the position of an object at a given time in the trajectory.

Syntax

Ets_Nt_Trajectory_Position_Get (trajectory_name, long_offset, lat_offset, alt_offset, time_offset, long_out, lat_out, alt_out)
Argument Type Description
trajectory_name const char* Name of the trajectory.
long_offset double Starting longitude of trajectory.
lat_offset double Starting latitude of trajectory.
alt_offset double Starting altitude of trajectory.
time_offset double Starting time of trajectory.
long_out double * Address of variable where resulting longitude value will be stored
lat_out double * Address of variable where resulting latitude value will be stored
alt_out double * Address of variable where resulting altitude value will be stored

Return Type

EtsT_Compcode

EtsC_Compcode_Success if trajectory exists and is in units of degrees, EtsC_Compcode_Failure otherwise.

ets_api_nt.h

Details

Returns the location of an object at time time_offset if it was traveling along a trajectory identified by trajectory_name, and if the initial starting point of the object was long_offset,lat_offset,alt_offset.

Note: If the trajectory is an absolute trajectory—meaning it is defined with a starting longitude, latitude, and altitude—the long_offset, lat_offset, and alt_offset arguments don't affect the output of this function.

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · Documentation compiled and provided by Beijing ZNetLink Technology Co., Ltd.

交流群 · QQ Group:OPNET/智网妙算网络仿真交流群(群号 486383494)

原文档 © 2017 Riverbed Technology · 本站为公益翻译,由 AI 辅助完成,请仔细甄别

Original documentation © 2017 Riverbed Technology. Community translation, AI-assisted. Contact: jiazequn@znetlink.com