HC_DCompute_Polygon_Plane
-
bool
HC_DCompute_Polygon_Plane(int count, DPoint const points[], char const *hand, DPlane *out_plane) - bool HC_DCompute_Polygon_Plane(int count, DPoint const points, char const hand, DPlane out_plane)
Similar to Compute_Polygon_Plane, 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_plane: Plane equation parameters (a,b,c,d ). Returned to the caller.
Returns
success