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
export of 3D poly to SHP (lot 5)
[modules/hydro.git]
/
src
/
HYDROData
/
HYDROData_BSplineOperation.cxx
diff --git
a/src/HYDROData/HYDROData_BSplineOperation.cxx
b/src/HYDROData/HYDROData_BSplineOperation.cxx
index 058005d9fdc62d228ad29fc929ecba8f07ac42c7..64ae37d4cb6ce8342354165aaafc3bf44e8d304b 100644
(file)
--- a/
src/HYDROData/HYDROData_BSplineOperation.cxx
+++ b/
src/HYDROData/HYDROData_BSplineOperation.cxx
@@
-23,9
+23,7
@@
#include <TColgp_HArray1OfPnt.hxx>
#include <QPainterPath>
#include <TColgp_HArray1OfPnt.hxx>
#include <QPainterPath>
-#ifndef LIGHT_MODE
#include <CurveCreator_Utils.hxx>
#include <CurveCreator_Utils.hxx>
-#endif
Handle(Geom_BSplineCurve) HYDROData_BSplineOperation::ComputeCurve(
const NCollection_Sequence<gp_XYZ>& thePoints,
Handle(Geom_BSplineCurve) HYDROData_BSplineOperation::ComputeCurve(
const NCollection_Sequence<gp_XYZ>& thePoints,
@@
-58,11
+56,9
@@
Handle(Geom_BSplineCurve) HYDROData_BSplineOperation::ComputeCurve(
// compute BSpline
Handle(Geom_BSplineCurve) aBSpline;
// compute BSpline
Handle(Geom_BSplineCurve) aBSpline;
-#ifndef LIGHT_MODE
if( CurveCreator_Utils::constructBSpline( aHCurvePoints, theIsClosed, aBSpline ) )
return aBSpline;
else
if( CurveCreator_Utils::constructBSpline( aHCurvePoints, theIsClosed, aBSpline ) )
return aBSpline;
else
-#endif
return Handle(Geom_BSplineCurve)();
}
return Handle(Geom_BSplineCurve)();
}