Skip to content

Fix for divide by zero error in triangulatePolygon3D (part of issue #190)

Created by: DRC1Spatial

Fix for divide by zero error in triangulatePolygon3D. Polygons should be checked for degeneracy before using the unsafe variant of plane3D, instead of after.

This fixes the case "testDifferenceCrash3" in issue #190 (closed) (this one was not actually in CGAL).

Merge request reports