From ad9fb0cd11dedffcd2332ff369a1b3898270da4f Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Fri, 4 Sep 2015 15:00:00 +0000 Subject: [PATCH] explain why geodesic is not always a good idea --- Mesh/HighOrder.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Mesh/HighOrder.cpp b/Mesh/HighOrder.cpp index c16285cba6..6643c3f1ee 100644 --- a/Mesh/HighOrder.cpp +++ b/Mesh/HighOrder.cpp @@ -190,6 +190,8 @@ static bool getEdgeVerticesonGeo(GFace *gf, MVertex *v0, MVertex *v1, else { pnt0 = v0->point(); pnt1 = v1->point(); + // FIXME: using the geodesic is sometimes a bad idea when the edge is "far + // away" from the surface (e.g. on the diameter of a circle!) computeEquidistantParameters(gf, p0[0], p1[0], p0[1], p1[1], pnt0, pnt1, nPts + 2, true, US, VS); } -- GitLab