Ets_Nt_Import_Subnet_Bounds_Compute()

Note: Requires OPNET Development Kit

Abstract

Computes the bounds (center and span) of the subnet represented by an object.

Syntax

Ets_Nt_Import_Subnet_Bounds_Compute (imp_obj_ptr, double* x_center_ptr, double* y_center_ptr, double* x_span_ptr, double* y_span_ptr)
Argument Type Description
imp_obj_ptr EtsT_Nt_Import_Object* Object of interest (must be a subnet).
x_center_ptr double* Variable to hold the x center of the subnet.
y_center_ptr double* Variable to hold the y center of the subnet.
x_span_ptr double* Variable to hold the x span of the subnet.
y_span_ptr double* Variable to hold the y span of the subnet.

Return Type

EtsT_Compcode

EtsC_Compcode_Failure if imp_obj_ptr is not a subnet; EtsC_Compode_Success otherwise.

ets_nt_obj_import.h

Details

This function generates a recoverable error if any of the arguments are NIL.

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