This project is read-only.

Exception: Singular input data

Feb 25, 2013 at 3:42 PM
Edited Feb 25, 2013 at 9:09 PM

I'm trying to use the MIConvexHull assembly in a project, and in one case with three points I get an InvalidOperationException, copied below. Is this just because I have too few points to triangulate? Wouldn't it be better to return the triangulation of them?
System.InvalidOperationException was unhandled by user code
  Message="ConvexHull: Singular input data (i.e. trying to triangulate a data that contain a regular lattice of points).\nIntroducing some noise to the data might resolve the issue."
       at MIConvexHull.ConvexHullInternal.ThrowSingular()
       at MIConvexHull.ConvexHullInternal.FindInitialPoints(List`1 extremes)
       at MIConvexHull.ConvexHullInternal.InitConvexHull()
       at MIConvexHull.ConvexHullInternal.FindConvexHull()
       at MIConvexHull.ConvexHullInternal.GetConvexHullInternal[TVertex](Boolean onlyCompute)
       at MIConvexHull.ConvexHullInternal.GetConvexFacesInternal[TVertex,TFace](IEnumerable`1 data)
       at MIConvexHull.DelaunayTriangulation`2.Create(IEnumerable`1 data)
       at MIConvexHull.Triangulation.CreateDelaunay[TVertex](IEnumerable`1 data)
Apr 10, 2013 at 9:36 PM
Please try latest. I think we have fixed the problem.