formZ SDK | 5.0 API Reference | System | Math

fz_math_3d_colinear_3_pts

Description

Given three 3d points, determines if they are colinear. This function uses a defined tolerance to determine colinearity.

Plugin Prototype

fzrt_error_td fz_math_3d_colinear_3_pts(

fz_xyz_td *

p1,

fz_xyz_td *

p2,

fz_xyz_td *

p3,

fzrt_boolean *

is_colinear )

Parameters

p1 [Input]

3d point 1

p2 [Input]

3d point 2

p3 [Input]

3d point 3

is_colinear [Result]

TRUE if the points are colinear, FALSE otherwise

Returns

Error codes

Availability

5.0.0.0

Example Files

util_math_3d.fsl

See Also

fz_math_3d_colinear_3_pts_tol, fz_math_2d_colinear_3_pts

Function Set

fz_math_fset


Defined in

fz_math_api.h