private double AdjustedSegmentLengthAtDepthFt(double depth) { double len = _segmentLengthFt - (_checkDamLengthFt / 2); if (depth - (len * _slopeRatio * 12) > 0) return Math.Max(len, 0); else return Math.Max((depth / 12) / _slopeRatio, 0); }