Ets_Ctl_Domain_Subnet_Pos_By_Point_Get()
Note: Requires OPNET Development Kit
Abstract
Gets the x,y subnet coordinates corresponding to a control-based position.
Syntax
Ets_Ctl_Domain_Subnet_Pos_By_Point_Get (dom_ctl_ptr, hit_point_ref, x_pos_ref, y_pos_ref)
| Argument | Type | Description |
|---|---|---|
dom_ctl_ptr |
EtsT_Ctl * |
Domain control of interest. |
hit_point_ref |
const EtsT_Point * |
Point in the specified domain for which to get the x,y coordinates. |
x_pos_ref |
double * |
Area to be filled with the x coordinate of the position, in subnet units. |
y_pos_ref |
double * |
Area to be filled with the y coordinate of the position, in subnet units. |
Return Type
EtsT_Compcode
EtsC_Compcode_Failure if any argument is null or if dom_ctl_ptr does not contain a subnet; EtsC_Compcode_Success otherwise.
Header
ets_api_ctl_dom.h
Details
None.