Functions | |
HC_BOOLEAN | Compute_Polygon_Normal (int count, const HC_POINT *points, const char *hand, HC_POINT *out_vector) |
HC_BOOLEAN | DCompute_Polygon_Normal (int count, const HC_DPOINT *points, const char *hand, HC_DVECTOR *out_vector) |
HC_BOOLEAN Compute_Polygon_Normal | ( | int | count, | |
const HC_POINT * | points, | |||
const char * | hand, | |||
HC_POINT * | out_vector | |||
) |
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_vector | - Output 3D vector returned to the caller. |
HC_BOOLEAN DCompute_Polygon_Normal | ( | int | count, | |
const HC_DPOINT * | points, | |||
const char * | hand, | |||
HC_DVECTOR * | out_vector | |||
) |
Similar to Compute_Polygon_Normal, but operates on double-precision data.
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_vector | - Output 3D vector returned to the caller. |