Salome HOME
ImportFromFile()
[modules/hydro.git] / src / HYDROData / HYDROData_TopoCurve.cxx
index 540dd8b08489e2a9f8d35f4c41d0270bcf9e30be..c08d6bf6d84d324194718d02d6a16912092935be 100644 (file)
@@ -134,7 +134,7 @@ static TopoDS_Edge ReplaceVertex(
 }
 
 // Projects the point to the curve.
-static double ProjectPointToCurve(
+double ProjectPointToCurve(
   const gp_XYZ& thePoint,
   const Adaptor3d_Curve& theCurve,
   double& theParameter)
@@ -660,9 +660,9 @@ int HYDROData_TopoCurve::Intersect(
   const TopoDS_Wire& theWire,
   std::deque<std::list<double> >& theParameters) const
 {
-  std::string brepName = "theWireToIntersect";
-  brepName += ".brep";
-  BRepTools::Write( theWire, brepName.c_str() );
+  //std::string brepName = "theWireToIntersect";
+  //brepName += ".brep";
+  //BRepTools::Write( theWire, brepName.c_str() );
 
   int aIntCount = 0;
   theParameters.resize(myEdges.size());