formZ SDK | 5.0 API Reference | System | Math
Description
Given three 3d points, determines if they are colinear, using an
angle to define "colinear".
For speedup purpose, the angle passed in is expressed as the
cosine of the actual angle.
An appropriate angle is 0.1 degree for example.
Plugin Prototype
fzrt_error_td fz_math_3d_colinear_3_pts_tol(
p1, | |
p2, | |
p3, | |
double | cos_angle, |
is_colinear ) |
Parameters
p1 [Input]
3d point 1
p2 [Input]
3d point 2
p3 [Input]
3d point 3
cos_angle [Input]
cosine of the angle used to define colinear
is_colinear [Result]
TRUE if the points are colinear, FALSE otherwise
Returns
Error codes
Availability
5.0.0.0
Example Files
See Also
fz_math_3d_colinear_3_pts, fz_math_2d_colinear_3_pts_tol
Function Set
Defined in