double aPointDistance = thePolyline->GetDistance( 0, i - 1 );
double aPointDepth = theBathymetry->GetAltitudeForPoint( aSectPoint );
+ if( aPointDepth==theBathymetry->GetInvalidAltitude() )
+ aPointDepth = 0.0;
HYDROData_IPolyline::Point anAltitudePoint( aPointDistance, aPointDepth );
aPointsList.Append( anAltitudePoint );