From: mpv Date: Tue, 24 Oct 2017 10:19:30 +0000 (+0300) Subject: Fix of the compilation problems. X-Git-Tag: V_2.9.1~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=776ad6f8e14da85ee58b1c8da036e2481fdf9c66;p=modules%2Fshaper.git Fix of the compilation problems. --- diff --git a/src/GeomAlgoAPI/GeomAlgoAPI_ShapeTools.cpp b/src/GeomAlgoAPI/GeomAlgoAPI_ShapeTools.cpp index 503046f78..d798b50ad 100644 --- a/src/GeomAlgoAPI/GeomAlgoAPI_ShapeTools.cpp +++ b/src/GeomAlgoAPI/GeomAlgoAPI_ShapeTools.cpp @@ -778,17 +778,6 @@ std::list > GeomAlgoAPI_ShapeTools::intersect( Handle(Geom_Curve) anIntCurve = anIntAlgo.Segment(anIntNum - anIntAlgo.NbPoints()); anIntCurve->D0((anIntCurve->FirstParameter() + anIntCurve->LastParameter()) / 2., anInt); } - if (!thePointsOutsideFace) { - Standard_Real aW, aU, aV; - anExt.Parameters(anIntNum, aW, aU, aV); - gp_Pnt2d aPointOfSurf(aU, aV); - BRepClass_FaceClassifier aFClass(aFace, aPointOfSurf, Precision::Confusion()); - if (aFClass.State() == TopAbs_OUT) - continue; // outside points are filtered out if not needed - } - gp_Pnt anIntPnt; - anExt.Points(anIntNum, anIntPnt, anIntPnt); - aResult.push_back(std::shared_ptr( new GeomAPI_Vertex(anInt.X(), anInt.Y(), anInt.Z()))); }