formZ SDK | 5.0 API Reference | Project | Modeling | View Manager

fz_view_math_screen_2_homg

Description

Routine to convert screen (pixel) coordinates to homogenous 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_homg(

fzrt_int

windex,

fzrt_point *

screen_pnt,

fz_map_plane_td *

plane,

fz_xyzw_td *

homg_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)

homg_pnt [Result]

3D point in homogenous space

Returns

None

Availability

5.0.0.0

Function Set

fz_view_fset


Defined in

fz_view_api.h