Functions | |
HC_BOOLEAN | Compute_Polygon_Plane (int count, const HC_POINT *points, const char *hand, HC_PLANE *out_plane) |
HC_BOOLEAN Compute_Polygon_Plane | ( | int | count, | |
const HC_POINT * | points, | |||
const char * | hand, | |||
HC_PLANE * | out_plane | |||
) |
count | - Number of xyz triplets in points | |
points | - As in Insert_Polygon() , xyz triplets to specify the 3D vertices of the polygon. Must be coplanar. | |
hand | - The definition order of the polygon --- "left" or "right". | |
out_plane | - Plane equation parameters (a,b,c,d ). Returned to the caller. |