This method enable you to convert coordinates in "Wnd" space to coordinates in "Inf" space.
Syntax
Point_2D Wnd_2_Inf(
Point_2D pos_wnd
) ;
Region_2D Wnd_2_Inf(
Region_2D reg_wnd
) ;
Parameters
pos_wnd
2D point to convert from "Wnd" space to "Inf" space.
reg_wnd
2D region to convert from "Wnd" space to "Inf" space.
Return value
This method return either a transformed 2D point or a 2D region depending on its arguments.
Remarks
The transformation is computed by:
·Inversing the vertical coordinates
·Adding the "val_x" and "val_y" slider values from horizontal and vertical the infinite coordinates.
Requirements
Header:
sliceO_include.hpp
Library:
sliceO_Structures.lib
Example
See also