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

# fz_view_math_world_2_screen

Description

Routine to convert 3-D world coordinates to screen (pixel) coordinates. This is the complete transformation (world->rotation->w->screen)

Plugin Prototype

fzrt_error_td fz_view_math_world_2_screen(

fzrt_int | windex,
fz_xyz_td * | world_pnt,
fzrt_point * | screen_pnt )

Parameters

windex [Input]

project window index

world_pnt [Input]

3D point in world space

screen_pnt [Result]

2D point in screen (pixel) space

Returns

None

Availability

5.0.0.0

Function Set

fz_view_fset

Defined in

fz_view_api.h