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.

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;

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · 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