viennagrid / viennagrid-dev

Developer repository for ViennaGrid. Visit http://viennagrid.sourceforge.net/ for the latest releases.
MIT License
15 stars 7 forks source link

is_inside(): Why not check for distance(p, t) < eps? #51

Closed karlrupp closed 10 years ago

karlrupp commented 10 years ago

If viennagrid::distance() of a point to an element is zero, then this means that the point is already inside the element. What was the rationale for reimplementing this?

karlrupp commented 10 years ago

We currently keep it as is, as the actual implementation is a detail and can be adjusted later.