HC_Compute_Polygon_Normal

bool HC_Compute_Polygon_Normal(int count, Point const points[], char const *hand, Vector *out_vector)
bool HC_Compute_Polygon_Normal(int count, Point const points, char const hand, Vector out_vector)

HC_Compute_Coordinates, HC_Compute_Polygon_Plane, HC_Compute_Transform, HC_Set_Modelling_Matrix, HC_Show_Polygon, HC_Show_Shell.

Parameters

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.

Returns

success