Index: Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Data/DikeProfile.cs =================================================================== diff -u -raf50d3e2a0d74d0220363e7120c6fbf1923870f4 -r875712a38626d27da8b94038d38aec9783e8d95e --- Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Data/DikeProfile.cs (.../DikeProfile.cs) (revision af50d3e2a0d74d0220363e7120c6fbf1923870f4) +++ Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Data/DikeProfile.cs (.../DikeProfile.cs) (revision 875712a38626d27da8b94038d38aec9783e8d95e) @@ -83,8 +83,6 @@ /// Gets or sets the orientation of the dike profile geometry with respect to North /// in degrees. A positive value equals a clockwise rotation. /// - /// When is - /// not in range [0, 360]. public RoundedDouble Orientation { get @@ -93,15 +91,7 @@ } set { - RoundedDouble roundedValue = value.ToPrecision(orientation.NumberOfDecimalPlaces); - - if (roundedValue < 0.0 || roundedValue > 360.0) - { - string message = string.Format(Resources.DikeProfile_Orientation_Value_0_should_be_in_interval, roundedValue); - throw new ArgumentOutOfRangeException("value", message); - } - - orientation = roundedValue; + orientation = value.ToPrecision(orientation.NumberOfDecimalPlaces); } }