formZ SDK | 5.0 API Reference | System | Math

# fz_math_3d_is_pt_between_pts

Description

Checks whether a 3d point is between two other 3d points. The largest projection of the line is used to establish "between".

Plugin Prototype

fzrt_boolean fz_math_3d_is_pt_between_pts(

fz_xyz_td * | p1,
fz_xyz_td * | p2,
fz_xyz_td * | pt )

Parameters

p1 [Input]

3d point 1 to check against

p2 [Input]

3d point 2 to check against

pt [Input]

3d point to be checked

Returns

TRUE if point is between, FALSE otherwise

Availability

5.0.0.0

Example Files

util_math_3d.fsl

See Also

fz_math_2d_is_pt_between_pts

Function Set

fz_math_fset

Defined in

fz_math_api.h