diff --git a/Geo/OCCFace.cpp b/Geo/OCCFace.cpp index 1939344f33a556ace9e9da7cd8b59202db7d9ba7..7ad8dd32543f674caf448eb17059d287976592cd 100644 --- a/Geo/OCCFace.cpp +++ b/Geo/OCCFace.cpp @@ -518,7 +518,8 @@ void OCCFace::replaceEdgesInternal(std::list<GEdge*> &new_edges) setup(); } -bool OCCFace::isSphere (double &radius, SPoint3 ¢er) const{ +bool OCCFace::isSphere (double &radius, SPoint3 ¢er) const +{ switch(geomType()){ case GEntity::Sphere: { @@ -532,7 +533,6 @@ bool OCCFace::isSphere (double &radius, SPoint3 ¢er) const{ default: return false; } - }