Salome HOME
projects
/
modules
/
hydro.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
porting on linux
[modules/hydro.git]
/
src
/
HYDROData
/
HYDROData_TopoCurve.cxx
diff --git
a/src/HYDROData/HYDROData_TopoCurve.cxx
b/src/HYDROData/HYDROData_TopoCurve.cxx
index 540dd8b08489e2a9f8d35f4c41d0270bcf9e30be..c08d6bf6d84d324194718d02d6a16912092935be 100644
(file)
--- 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.
}
// Projects the point to the curve.
-
static
double ProjectPointToCurve(
+double ProjectPointToCurve(
const gp_XYZ& thePoint,
const Adaptor3d_Curve& theCurve,
double& theParameter)
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
{
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());
int aIntCount = 0;
theParameters.resize(myEdges.size());