Salome HOME
Fix pipe to avoid moving of the path, if it is passed through the first face.
[modules/shaper.git] / src / GeomAlgoAPI / GeomAlgoAPI_Rotation.cpp
index 69d01c215974334d160bb7fed0d5fdb3d5ea2b17..c8a76a01dbeaea3485077a75d65575ea4202b693 100644 (file)
@@ -14,7 +14,8 @@
 // License along with this library; if not, write to the Free Software
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 //
-// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com>
+// See http://www.salome-platform.org/ or
+// email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com>
 //
 
 #include "GeomAlgoAPI_Rotation.h"
@@ -67,14 +68,6 @@ bool GeomAlgoAPI_Rotation::check()
         myError = "Rotation builder :: source shape is not valid.";
         return false;
       }
-      if (myAngle < -360.) {
-        myError = "Rotation builder :: angle smaller than -360 degrees.";
-        return false;
-      }
-      if (myAngle > 360.) {
-        myError = "Rotation builder :: angle greater than 360 degrees.";
-        return false;
-      }
       return true;
     }
     case BY_POINTS: {