{
}
-QStringList HYDROData_PolylineXY::DumpToPython( MapOfTreatedObjects& theTreatedObjects ) const
+QStringList HYDROData_PolylineXY::DumpToPython( const QString& thePyScriptPath,
+ MapOfTreatedObjects& theTreatedObjects ) const
{
QStringList aResList = dumpObjectCreation( theTreatedObjects );
QString aPolylineName = GetObjPyName();
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 );
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 );