formZ SDK | 5.0 API Reference | System | Math

fz_math_2d_is_pt_between_pts

Description

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

Plugin Prototype

fzrt_boolean fz_math_2d_is_pt_between_pts(

fz_xy_td *

p1,

fz_xy_td *

p2,

fz_xy_td *

pt )

Parameters

p1 [Input]

2d point 1 to check against

p2 [Input]

2d point 2 to check against

pt [Input]

2d point to be checked

Returns

TRUE if point is between, FALSE otherwise

Availability

5.0.0.0

Example Files

util_math_2d.fsl

See Also

fz_math_3d_is_pt_between_pts

Function Set

fz_math_fset


Defined in

fz_math_api.h