Skip to content
Snippets Groups Projects
Commit ea0451eb authored by Wendy Merks-Swolfs's avatar Wendy Merks-Swolfs
Browse files

Use of Gmsh style

parent b966b4bb
No related branches found
No related tags found
No related merge requests found
...@@ -405,15 +405,13 @@ static void filterPoints(GEdge*ge, int nMinimumPoints) ...@@ -405,15 +405,13 @@ static void filterPoints(GEdge*ge, int nMinimumPoints)
v->getParameter(0,t); v->getParameter(0,t);
if (i != 0){ if (i != 0){
double t0; double t0;
if (v0->onWhat()->dim() == 0) if (v0->onWhat()->dim() == 0){
{
// Vertex is begin point // Vertex is begin point
t0 = ge->parFromPoint(SPoint3(v0->x(), v0->y(), v0->z())); t0 = ge->parFromPoint(SPoint3(v0->x(), v0->y(), v0->z()));
} }
else else
{
v0->getParameter(0, t0); v0->getParameter(0, t0);
}
t=0.5*(t+t0); t=0.5*(t+t0);
} }
double lc = F_LcB(ge, t); double lc = F_LcB(ge, t);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment