Skip to content
Snippets Groups Projects
Commit ad9fb0cd authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

explain why geodesic is not always a good idea

parent 944aab69
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment