Ets_View_Link_Points_Get()

注意: 需要 OPNET Development Kit

摘要

获取指定视图中某条链路所有坐标点组成的数组。

语法

Ets_View_Link_Points_Get (view_hndl, link_hndl, point_count_ptr)
参数 类型 说明
view_hndl EtsT_View_Handle 目标视图。
link_hndl EtsT_Obj_Handle 目标链路。
point_count_ptr int * 用于接收该链路路径中点的数量(含起点与终点)的存储区域。

返回类型

EtsT_View_Point *

构成该链路路径的点数组。

头文件

ets_api_view_logical.h

详情

此函数分配一个 EtsT_View_Point 数组来存储数据,并将数组大小写入 point_count_ptr。数组内存归客户端所有。该数组定义如下:

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