Salome HOME
[bos #36169] EDF 25230 - Conversion xyz => uv => xyz. Replace all calls of ShapeAnaly...
[modules/shaper.git] / src / GeomAlgoAPI / GeomAlgoAPI_BoundingBox.cpp
index a79527788e8c02a97c0955c760771007b0449a81..4eea551ec40ccdb2a02b13fae39526dc1f3c8f4b 100644 (file)
@@ -26,7 +26,6 @@
 #include <BRepBndLib.hxx>
 #include <BRep_Builder.hxx>
 #include <Geom_Circle.hxx>
-#include <ShapeAnalysis.hxx>
 #include <TopoDS_Shape.hxx>
 #include <TopoDS.hxx>
 #include <gp_Pln.hxx>
@@ -105,7 +104,7 @@ Standard_Boolean ModifyShape(const TopoDS_Shape  &theShape,
         double U1,U2,V1,V2;
         // changes for 0020677: EDF 1219 GEOM: MinDistance gives 0 instead of 20.88
         //S->Bounds(U1,U2,V1,V2); changed by
-        ShapeAnalysis::GetFaceUVBounds(TopoDS::Face(theModifiedShape),U1,U2,V1,V2);
+        BRepTools::UVBounds(TopoDS::Face(theModifiedShape),U1,U2,V1,V2);
         // end of changes for 020677 (dmv)
         Handle(Geom_RectangularTrimmedSurface) TrS1 =
           new Geom_RectangularTrimmedSurface(S,U1,(U1+U2)/2.,V1,V2);