fix 2 bugs for revolution surface

This commit is contained in:
Christopher Lackner 2019-03-20 15:12:54 +01:00
parent 0197a3cca1
commit 0559b03c21

View File

@ -305,6 +305,7 @@ namespace netgen
} }
else else
{ {
hesse = 0;
(*testout) << "hesse4: " << hesse <<endl; (*testout) << "hesse4: " << hesse <<endl;
} }
} }
@ -795,7 +796,7 @@ namespace netgen
} }
} }
if(intersections_before % 2 == 0) if(intersections_after % 2 == 0)
return IS_OUTSIDE; return IS_OUTSIDE;
else else
return IS_INSIDE; return IS_INSIDE;