From 1d70dcf08bf0a5088c96bfb97a247b6ddb38608f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joachim=20Sch=C3=B6berl?= Date: Wed, 7 Sep 2016 09:05:03 +0200 Subject: [PATCH] use convex hulls --- libsrc/geom2d/geometry2d.hpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/libsrc/geom2d/geometry2d.hpp b/libsrc/geom2d/geometry2d.hpp index 69378a3e..29bed482 100644 --- a/libsrc/geom2d/geometry2d.hpp +++ b/libsrc/geom2d/geometry2d.hpp @@ -109,7 +109,12 @@ namespace netgen double curv = fabs(first(0)*second(1)-first(1)*second(0)) / pow(first.Length(), 3); return curv; } - + + virtual bool InConvexHull (Point<2> p, double eps) const + { + return seg.InConvexHull (p, eps); + } + };