X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAlgoAPI%2FGeomAlgoAPI_Rotation.cpp;h=c8a76a01dbeaea3485077a75d65575ea4202b693;hb=a55586483e5dccc5466d6ec241e2147e210d839f;hp=69d01c215974334d160bb7fed0d5fdb3d5ea2b17;hpb=2532fb2df83ee1ddd9ff3e8b381d3788eaa15b69;p=modules%2Fshaper.git diff --git a/src/GeomAlgoAPI/GeomAlgoAPI_Rotation.cpp b/src/GeomAlgoAPI/GeomAlgoAPI_Rotation.cpp index 69d01c215..c8a76a01d 100644 --- a/src/GeomAlgoAPI/GeomAlgoAPI_Rotation.cpp +++ b/src/GeomAlgoAPI/GeomAlgoAPI_Rotation.cpp @@ -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 +// See http://www.salome-platform.org/ or +// email : 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: {