X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAlgoAPI%2FGeomAlgoAPI_FaceBuilder.cpp;h=46a46d233446b0a923c44dd605128f3e16f88105;hb=5dfebcc3a72f75f043de9880419b39f073af6819;hp=9e687d6d296aa65d1b726313f7338747d5cecaab;hpb=211bdf4b80cc6bb427e75087ac76f729c3eb9ac9;p=modules%2Fshaper.git diff --git a/src/GeomAlgoAPI/GeomAlgoAPI_FaceBuilder.cpp b/src/GeomAlgoAPI/GeomAlgoAPI_FaceBuilder.cpp index 9e687d6d2..46a46d233 100644 --- a/src/GeomAlgoAPI/GeomAlgoAPI_FaceBuilder.cpp +++ b/src/GeomAlgoAPI/GeomAlgoAPI_FaceBuilder.cpp @@ -31,8 +31,7 @@ std::shared_ptr GeomAlgoAPI_FaceBuilder::square( std::shared_ptr GeomAlgoAPI_FaceBuilder::square( std::shared_ptr thePlane, - const double theSize, - const bool theInfinite) + const double theSize) { // half of the size in each direction from the center BRepBuilderAPI_MakeFace aFaceBuilder(thePlane->impl(), @@ -40,8 +39,6 @@ std::shared_ptr GeomAlgoAPI_FaceBuilder::square( -theSize / 2., theSize / 2.); std::shared_ptr aRes(new GeomAPI_Shape); TopoDS_Shape aFace = aFaceBuilder.Face(); - if (theInfinite) - aFace.Infinite(Standard_True); aRes->setImpl(new TopoDS_Shape(aFace/*aFaceBuilder.Face()*/)); return aRes; }