Ets_Ctl_Domain_Point_By_Subnet_Pos_Get()
Note: Requires OPNET Development Kit
Abstract
Gets the control point corresponding to a given x,y position in a subnet.
Syntax
Ets_Ctl_Domain_Point_By_Subnet_Pos_Get (dom_ctl_ptr, x_pos, y_pos, hit_point_ref)
| Argument | Type | Description |
|---|---|---|
dom_ctl_ptr |
EtsT_Ctl * |
Domain control of interest. |
x_pos |
double |
X coordinate in the current subnet, in subnet units. |
y_pos |
double |
Y coordinate in the current subnet, in subnet units. |
hit_point_ref |
EtsT_Point * |
Structure to be filled with the requested point in the specified domain. |
Return Type
EtsT_Compcode
EtsC_Compcode_Failure if dom_ctl_ptr or hit_point_ref is null, or if dom_ctl_ptr does not contain a subnet; EtsC_Compcode_Success otherwise.
Header
ets_api_ctl_dom.h
Details
This function returns the ETS control coordinates equivalent to a specified x,y position in a network domain subnet.