Ets_View_Link_Points_Set()

注意: 需要 OPNET Development Kit

摘要

在指定视图中设置链路的拐点(路径)。

语法

Ets_View_Link_Points_Set (view_hndl, link_hndl, point_count, point_array)
参数 类型 说明
view_hndl EtsT_View_Handle 目标视图。
link_hndl EtsT_Obj_Handle 目标链路。
point_count int 该链路路径中点的数量(含起点与终点)。
point_array EtsT_View_Point * 该链路路径中各点坐标组成的数组。

返回类型

EtsT_Compcode

操作成功时返回 EtsC_Compcode_Success,否则返回 EtsC_Compcode_Failure。

头文件

ets_api_view_logical.h

详情

point_count 为 0 或 point_array 为 NIL 时,会清除该视图的全部信息,使该视图继承地理位置信息。

point_array 定义如下:

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