formZ SDK | 5.0 API Reference | Project | Modeling | Objects | Analysis

# fz_model_find_objt_by_view_ray

Description

finds the frontmoast object based by projectedimng from base using the current view

Plugin Prototype

fzrt_error_td fz_model_find_objt_by_view_ray(

fzrt_int | windex,
fzrt_point * | base_screen,
fz_xyz_td * | base_world,
fz_enty_list_ptr | objt_enty_list,
fz_objt_ptr * | found_obj,
fzrt_int * | found_findx,
double * | found_depth,
fz_xyz_td * | found_pt,
fz_map_plane_td * | map_plane )

Parameters

windex [Input]

project window index

base_screen [Input, Optional]

screen point to base ray test (NULL to use base_world)

base_world [Input, Optional]

world point to base ray test (NULL to use base_screen)

objt_enty_list [Input, Optional]

list of objects to test or NULL for all visible objects

found_obj [Result, Optional]

found object

found_findx [Result, Optional]

found face index

found_depth [Result, Optional]

found depth

found_pt [Result, Optional]

found point on found face of found_obj

map_plane [Result, Optional]

found mapping plane on found face of found_obj

Returns

Error codes

Availability

8.0.2.0

Function Set

fz_model_fset

Defined in

fz_objt_api.h