X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROData%2FHYDROData_TopoCurve.cxx;h=c08d6bf6d84d324194718d02d6a16912092935be;hb=a95289fabbb6fbf6f32c06207422c65aafd5bd65;hp=540dd8b08489e2a9f8d35f4c41d0270bcf9e30be;hpb=7de2b9cfd8501129720f9338fcdf1766007511b9;p=modules%2Fhydro.git diff --git a/src/HYDROData/HYDROData_TopoCurve.cxx b/src/HYDROData/HYDROData_TopoCurve.cxx index 540dd8b0..c08d6bf6 100644 --- a/src/HYDROData/HYDROData_TopoCurve.cxx +++ b/src/HYDROData/HYDROData_TopoCurve.cxx @@ -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 >& 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());