formZ SDK | 5.0 API Reference | Project | Modeling | View Manager
Description
Routine to convert screen (pixel) coordinates to tform coordinates. If plane == NULL, the 3D coordinate is a point on the current reference plane. This is not supported for the FZ_VIEW_TYPE_PANORAMIC view type.
Plugin Prototype
fzrt_error_td fz_view_math_screen_2_tform(
fzrt_int | windex, |
screen_pnt, | |
plane, | |
tform_pnt ) |
Parameters
windex [Input]
project window index
screen_pnt [Input]
2D point in screen (pixel) space
plane [Input, Optional]
plane to project point on (defaults to current plane if not provided)
tform_pnt [Result]
3D point in tform space
Returns
None
Availability
5.0.0.0
Function Set
Defined in