HC_DCompute_Polygon_Normal

bool HC_DCompute_Polygon_Normal(int count, DPoint const points[], char const *hand, DVector *out_vector)
bool HC_DCompute_Polygon_Normal(int count, DPoint const points, char const hand, DVector out_vector)

Similar to Compute_Polygon_Normal, but operates on double-precision data.

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