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

# fz_view_math_world_2_homg_clipped

Description

Routine to convert 3-D world coordinates to homogenous coordinates

Plugin Prototype

fzrt_error_td fz_view_math_world_2_homg_clipped(

fzrt_int | windex,
fz_xyz_td * | world_pnt1,
fz_xyz_td * | world_pnt2,
fz_xyz_td * | clipped_world_pnt1,
fz_xyz_td * | clipped_world_pnt2,
fz_xyzw_td * | clipped_view_pnt1,
fz_xyzw_td * | clipped_view_pnt2,
fzrt_boolean * | clip1,
fzrt_boolean * | clip2,
fz_view_clip_enum * | clip_status )

Parameters

windex [Input]

project window index

world_pnt1 [Input]

3D point 1 in world space

world_pnt2 [Input]

3D point 2 in world space

clipped_world_pnt1 [Result, Optional]

clipped world_pnt1 in world space

clipped_world_pnt2 [Result, Optional]

clipped world_pnt2 in world space

clipped_view_pnt1 [Result, Optional]

world_pnt1 in view space

clipped_view_pnt2 [Result, Optional]

world_pnt2 in view space

clip1 [Result, Optional]

first point was clipped

clip2 [Result, Optional]

second point was clipped

clip_status [Result, Optional]

clip status for line segment

Returns

None

Availability

5.0.0.0

Function Set

fz_view_fset

Defined in

fz_view_api.h