Ets_Nt_Subnet_Bounds_Get()
Abstract
Returns the coordinate bounds of the subnet in subnet coordinate units.
Syntax
Ets_Nt_Subnet_Bounds_Get (subnet_hndl, ul_x_ptr, ul_y_ptr, lr_x_ptr, lr_y_ptr)
| Argument | Type | Description |
|---|---|---|
subnet_hndl |
EtsT_Obj_Handle |
Handle of subnet. |
ul_x_ptr |
double* |
Pointer to variable in which to store upper left bound x coordinate. |
ul_y_ptr |
double* |
Pointer to variable in which to store upper left bound y coordinate. |
lr_x_ptr |
double* |
Pointer to variable in which to store lower right bound x coordinate. |
lr_y_ptr |
double* |
Pointer to variable in which to store lower right bound y coordinate. |
Return Type
EtsT_Compcode
EtsC_Compcode_Success if subnet exists, EtsC_Compcode_Failure otherwise.
Header
ets_api_nt.h
Details
This function gets the upper left and lower right x and y coordinates of the subnet boundary. These values are in the units of the subnet, which can be obtained with Ets_Nt_Subnet_Grid_Properties_Get().