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 branch 'BR_LAND_COVER_MAP' into BR_quadtree
[modules/hydro.git]
/
src
/
HYDROData
/
HYDROData_PolylineXY.cxx
diff --git
a/src/HYDROData/HYDROData_PolylineXY.cxx
b/src/HYDROData/HYDROData_PolylineXY.cxx
old mode 100755
(executable)
new mode 100644
(file)
index
559947e
..
24728ef
--- a/
src/HYDROData/HYDROData_PolylineXY.cxx
+++ b/
src/HYDROData/HYDROData_PolylineXY.cxx
@@
-130,7
+130,8
@@
HYDROData_PolylineXY::~HYDROData_PolylineXY()
{
}
{
}
-QStringList HYDROData_PolylineXY::DumpToPython( MapOfTreatedObjects& theTreatedObjects ) const
+QStringList HYDROData_PolylineXY::DumpToPython( const QString& thePyScriptPath,
+ MapOfTreatedObjects& theTreatedObjects ) const
{
QStringList aResList = dumpObjectCreation( theTreatedObjects );
QString aPolylineName = GetObjPyName();
{
QStringList aResList = dumpObjectCreation( theTreatedObjects );
QString aPolylineName = GetObjPyName();
@@
-540,7
+541,7
@@
void HYDROData_PolylineXY::Update()
aBB.MakeCompound(aCmp);
if(aSeqEdges->Length() >1)
{
aBB.MakeCompound(aCmp);
if(aSeqEdges->Length() >1)
{
- ShapeAnalysis_FreeBounds::ConnectEdgesToWires(
aSeqEdges,1E-5,Standard_False,aSeqWires
);
+ ShapeAnalysis_FreeBounds::ConnectEdgesToWires(
aSeqEdges, 1E-5, Standard_True, aSeqWires
);
if( aSeqWires->Length()==1 )
aResult = aSeqWires->Value( 1 );
if( aSeqWires->Length()==1 )
aResult = aSeqWires->Value( 1 );
@@
-1201,6
+1202,16
@@
bool HYDROData_PolylineXY::IsCustom() const
return !isNull && aNbPoints == 0;
}
return !isNull && aNbPoints == 0;
}
+bool HYDROData_PolylineXY::GetIsInCustomFlag() const
+{
+ return myIsInCustomFlag;
+}
+
+void HYDROData_PolylineXY::SetIsInCustomFlag( bool theValue )
+{
+ myIsInCustomFlag = theValue;
+}
+
void HYDROData_PolylineXY::Interpolate()
{
ImportShape( GetShape(), true );
void HYDROData_PolylineXY::Interpolate()
{
ImportShape( GetShape(), true );