hgeometry icon indicating copy to clipboard operation
hgeometry copied to clipboard

delaunayTriangulation fails if points are collinear

Open andrewufrank opened this issue 2 years ago • 0 comments

I tried delaunayTriangulation with four points where three are collinear. It fails (i.e. loops) without error message.

The input is qsColl = [(Point2 0 0) :+ 'a' , Point2 1 1 :+ 'b' , Point2 0 2 :+ 'c', Point2 2 0 :+ 'd'] t = delaunayTriangulation . fromList $ qsColl

Can this be fixed?

andrewufrank avatar Jul 13 '22 11:07 andrewufrank