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
Merge remote-tracking branch 'origin/master' into BR_LAND_COVER_MAP
[modules/hydro.git]
/
src
/
HYDROData
/
HYDROData_PolylineOperator.cxx
diff --git
a/src/HYDROData/HYDROData_PolylineOperator.cxx
b/src/HYDROData/HYDROData_PolylineOperator.cxx
index 3a4183e8db3fd7b46fa85cdff3508f6b64225d73..7e44abefa551166741ff52efc984e12951d4047a 100644
(file)
--- a/
src/HYDROData/HYDROData_PolylineOperator.cxx
+++ b/
src/HYDROData/HYDROData_PolylineOperator.cxx
@@
-20,7
+20,9
@@
#include <HYDROData_Document.h>
#include <HYDROData_TopoCurve.h>
#include <HYDROData_Document.h>
#include <HYDROData_TopoCurve.h>
+#ifndef LIGHT_MODE
#include <CurveCreator_Utils.hxx>
#include <CurveCreator_Utils.hxx>
+#endif
#include <BRepAdaptor_Curve.hxx>
#include <BRep_Builder.hxx>
#include <BRepAdaptor_Curve.hxx>
#include <BRep_Builder.hxx>
@@
-45,6
+47,7
@@
#include <TopExp_Explorer.hxx>
#include <TopTools_IndexedDataMapOfShapeListOfShape.hxx>
#include <QString>
#include <TopExp_Explorer.hxx>
#include <TopTools_IndexedDataMapOfShapeListOfShape.hxx>
#include <QString>
+#include <Geom_BSplineCurve.hxx>
template<class T> void append( std::vector<T>& theList, const std::vector<T>& theList2 )
{
template<class T> void append( std::vector<T>& theList, const std::vector<T>& theList2 )
{
@@
-331,7
+334,9
@@
double HYDROData_PolylineOperator::ReduceDeflection(
}
Handle(Geom_BSplineCurve) aBSpline2;
const bool isClosed = theCurve.IsClosed();
}
Handle(Geom_BSplineCurve) aBSpline2;
const bool isClosed = theCurve.IsClosed();
+#ifndef LIGHT_MODE
if (!CurveCreator_Utils::constructBSpline(aPs2, isClosed, aBSpline2))
if (!CurveCreator_Utils::constructBSpline(aPs2, isClosed, aBSpline2))
+#endif
{
return -1;
}
{
return -1;
}