Ets_Ctl_Domain_Point_By_Subnet_Pos_Get()

注意: 需要 OPNET Development Kit

摘要

获取与子网中给定 x,y 位置对应的控件点。

语法

Ets_Ctl_Domain_Point_By_Subnet_Pos_Get (dom_ctl_ptr, x_pos, y_pos, hit_point_ref)
参数 类型 说明
dom_ctl_ptr EtsT_Ctl * 目标域控件。
x_pos double 当前子网中的 X 坐标,以子网单位计。
y_pos double 当前子网中的 Y 坐标,以子网单位计。
hit_point_ref EtsT_Point * 用于填入所请求的指定域中点的结构。

返回类型

EtsT_Compcode

若 dom_ctl_ptr 或 hit_point_ref 为空,或 dom_ctl_ptr 不包含子网,返回 EtsC_Compcode_Failure;否则返回 EtsC_Compcode_Success。

头文件

ets_api_ctl_dom.h

详情

该函数返回与网络域子网中指定 x,y 位置等效的 ETS 控件坐标。

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