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

# fz_objt_alys_is_pnt_inside_objt

Description

Tests whether a point is inside (1) on (2) or outside (0) of an object

Plugin Prototype

fzrt_error_td fz_objt_alys_is_pnt_inside_objt(

fzrt_int | windex,
fz_objt_ptr | obj,
fz_xyz_td * | pt,
fzrt_int * | status )

Parameters

windex [Input]

project window index

obj [Input]

object

pt [Input]

the point to test

status [Result]

0 if the point is outside, 1 if it is inside and 2 if it is on the object's surface

Returns

Error codes

Availability

5.0.0.0

Function Set

fz_model_fset

Defined in

fz_objt_alys_api.h