Ets_View_Annot_Line_Points_Get()
Note: Requires OPNET Development Kit
Abstract
Gets an array of all of an annotation line’s coordinate points in the specified view.
Syntax
Ets_View_Annot_Line_Points_Get (view_hndl, line_hndl, point_count_ptr)
| Argument | Type | Description |
|---|---|---|
view_hndl |
EtsT_View_Handle |
View of interest. |
line_hndl |
EtsT_Obj_Handle |
Annotation line of interest. |
point_count_ptr |
int * |
Area to be filled with the number of points in the line’s path (including start and finish). |
Return Type
EtsT_View_Point *
Array of points comprising the line’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;