Ets_View_Link_Points_Get()
Note: Requires OPNET Development Kit
Abstract
Gets an array of all of a link's coordinate points in the specified view.
Syntax
Ets_View_Link_Points_Get (view_hndl, link_hndl, point_count_ptr)
| Argument | Type | Description |
|---|---|---|
view_hndl |
EtsT_View_Handle |
View of interest. |
link_hndl |
EtsT_Obj_Handle |
Link of interest. |
point_count_ptr |
int * |
Area to be filled with the number of points in the link's path (including start and finish). |
Return Type
EtsT_View_Point *
Array of points comprising the link's path.
Header
ets_api_view_logical.h
Details
This function allocates an array of EtsT_View_Point to store the data and fills point_count_ptr with the size of the array. The client owns the array memory. The array is defined as:
struct EtsT_View_Point
{
double xpos;
double ypos;
} EtsT_View_Point;