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.
Header
ets_nt_obj_import.h
Details
This function generates a recoverable error if any of the arguments are NIL.