JuliaGeometry / VoronoiDelaunay.jl

Fast and robust Voronoi & Delaunay tessellation creation with Julia
Other
123 stars 26 forks source link

Adding Point (0.0, 0.0) takes forever. #36

Closed goggle closed 6 years ago

goggle commented 6 years ago

I wanted to get a simple triangulation of the domain (0,1)^2. So i did the following:

using VoronoiDelaunay
tess = DelaunayTessellation()
push!(tess, Point(1.0, 1.0))
push!(tess, Point(0.0, 1.0))
push!(tess, Point(1.0, 0.0))
push!(tess, Point(0.0, 0.0))

Adding the point (0.0, 0.0) gets me stuck in a infinite loop or something... Is this expected behavior? Or am I doing something wrong?

robertdj commented 6 years ago

Not sure if this is stated explicitly in the README, but the minimum coordinate is 1 + eps(Float64).

skariel commented 6 years ago

yes it is, in the current limitations section. This is expected... and not a bug. closing for now