Ets_View_Link_Points_Set()
Note: Requires OPNET Development Kit
Abstract
Sets a link's inflection points (path) in the specified view.
Syntax
Ets_View_Link_Points_Set (view_hndl, link_hndl, point_count, point_array)
| Argument | Type | Description |
|---|---|---|
view_hndl |
EtsT_View_Handle |
View of interest. |
link_hndl |
EtsT_Obj_Handle |
Link of interest. |
point_count |
int |
Number of points in the link's path (including start and finish). |
point_array |
EtsT_View_Point * |
Array of coordinates for the points in the link's path. |
Return Type
EtsT_Compcode
EtsC_Compcode_Success if the operation is successful; EtsC_Compcode_Failure otherwise.
Header
ets_api_view_logical.h
Details
A point_count of 0 or a NIL point_array erases all of the view's information, causing that view to inherit from the geographic positions.
point_array is defined as:
struct EtsT_View_Point
{
double xpos;
double ypos;
} EtsT_View_Point;