Closed johnd0e closed 5 years ago
Delaunator.from([]) Uncaught RangeError: Invalid typed array length: -15 Delaunator.from([[1,2]) Uncaught RangeError: Invalid typed array length: -9 Delaunator.from([[1,2],[2,3]]) Uncaught RangeError: Invalid typed array length: -3
I suppose more clear message would be Uncaught Error: No Delaunay triangulation exists for this input.
Uncaught Error: No Delaunay triangulation exists for this input.
(Well, actually I am not sure that Delaunator should throw this error as there are more simple ways to process such cases, see #46)
Fixed by #47
I suppose more clear message would be
Uncaught Error: No Delaunay triangulation exists for this input.
(Well, actually I am not sure that Delaunator should throw this error as there are more simple ways to process such cases, see #46)