formZ SDK | 5.0 API Reference | System | Math
Description
Given three 3d points and a projection plane, determines whether the three points are in clockwise order, counterclockwise order or colinear / equal when projected on that plane.
Plugin Prototype
fzrt_int fz_math_3d_dir_of_3_pts(
p1, | |
p2, | |
p3, | |
proj_plane ) |
Parameters
p1 [Input]
3d point 1
p2 [Input]
3d point 2
p3 [Input]
3d point 3
proj_plane [Input]
projection plane
Returns
1 if clockwise,
1 if counter clockwise,
0 if colinear or at least two points are equal
Availability
5.0.0.0
Example Files
Function Set
Defined in