+bool HYDROData_PolylineXY::IsCustom() const
+{
+ if( myIsInCustomFlag )
+ return false;
+
+ bool isNull = GetShape().IsNull();
+ int aNbPoints = 0;
+
+ HYDROData_PolylineXY* aThat = const_cast<HYDROData_PolylineXY*>( this );
+ aThat->myIsInCustomFlag = true;
+ for( int i=0, n=NbSections(); i<n; i++ )
+ aNbPoints += NbPoints( i );
+ aThat->myIsInCustomFlag = false;
+
+ return !isNull && aNbPoints == 0;
+}
+
+void HYDROData_PolylineXY::Interpolate()
+{
+ ImportShape( GetShape(), true );
+}