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.

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;

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