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

fz_view_math_screen_xy_2_tform

Description

Routine to convert floating point screen coordinates (not rounded) 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_xy_2_tform(

fzrt_int

windex,

fz_xy_td *

xy_pnt,

fz_map_plane_td *

plane,

fz_xyz_td *

tform_pnt )

Parameters

windex [Input]

project window index

xy_pnt [Input]

2D point in floating point screen 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

fz_view_fset


Defined in

fz_view_api.h