]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fix of the compilation problems.
authormpv <mpv@opencascade.com>
Tue, 24 Oct 2017 10:19:30 +0000 (13:19 +0300)
committermpv <mpv@opencascade.com>
Tue, 24 Oct 2017 10:19:44 +0000 (13:19 +0300)
src/GeomAlgoAPI/GeomAlgoAPI_ShapeTools.cpp

index 503046f783de81ded48b8d216f902b64e05e6ecc..d798b50ad00687b5f6cbe53edd6701623740dca3 100644 (file)
@@ -778,17 +778,6 @@ std::list<std::shared_ptr<GeomAPI_Vertex> > 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<GeomAPI_Vertex>(
       new GeomAPI_Vertex(anInt.X(), anInt.Y(), anInt.Z())));
   }