Ets_Nt_Subnet_Bounds_Get()

摘要

以子网坐标单位返回子网的坐标边界。

语法

Ets_Nt_Subnet_Bounds_Get (subnet_hndl, ul_x_ptr, ul_y_ptr, lr_x_ptr, lr_y_ptr)
参数 类型 说明
subnet_hndl EtsT_Obj_Handle 子网句柄。
ul_x_ptr double* 用于存储左上边界 x 坐标的变量的指针。
ul_y_ptr double* 用于存储左上边界 y 坐标的变量的指针。
lr_x_ptr double* 用于存储右下边界 x 坐标的变量的指针。
lr_y_ptr double* 用于存储右下边界 y 坐标的变量的指针。

返回类型

EtsT_Compcode

若子网存在则返回 EtsC_Compcode_Success,否则返回 EtsC_Compcode_Failure。

头文件

ets_api_nt.h

详情

该函数获取子网边界的左上角与右下角的 x、y 坐标。这些值采用子网的单位,可通过 Ets_Nt_Subnet_Grid_Properties_Get() 获取。

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