Index: Ringtoets/Revetment/src/Ringtoets.Revetment.Data/WaveConditionsInput.cs =================================================================== diff -u -r8efe4bdfd7e47208edb8585a8ac32ebcd56635c0 -r5bf3ab7f70cfc6ef3d15d590b527ade100e01235 --- Ringtoets/Revetment/src/Ringtoets.Revetment.Data/WaveConditionsInput.cs (.../WaveConditionsInput.cs) (revision 8efe4bdfd7e47208edb8585a8ac32ebcd56635c0) +++ Ringtoets/Revetment/src/Ringtoets.Revetment.Data/WaveConditionsInput.cs (.../WaveConditionsInput.cs) (revision 5bf3ab7f70cfc6ef3d15d590b527ade100e01235) @@ -45,12 +45,15 @@ private WaveConditionsInputStepSize stepSize; private RoundedDouble upperBoundaryWaterLevels; private RoundedDouble lowerBoundaryWaterLevels; + private RoundedDouble orientation; /// /// Creates a new instance of . /// public WaveConditionsInput() { + orientation = new RoundedDouble(2); + upperBoundaryRevetment = new RoundedDouble(2, double.NaN); lowerBoundaryRevetment = new RoundedDouble(2, double.NaN); stepSize = WaveConditionsInputStepSize.Half; @@ -94,6 +97,22 @@ } /// + /// Gets or sets the orientation of the foreshore profile geometry with respect to North + /// in degrees. A positive value equals a clockwise rotation. + /// + public RoundedDouble Orientation + { + get + { + return orientation; + } + set + { + orientation = value.ToPrecision(orientation.NumberOfDecimalPlaces); + } + } + + /// /// Gets or sets whether needs to be taken into account. /// public bool UseBreakWater { get; set; } @@ -309,12 +328,14 @@ { if (foreshoreProfile == null) { + Orientation = (RoundedDouble)0.0; UseForeshore = false; UseBreakWater = false; BreakWater = GetDefaultBreakWater(); } else { + Orientation = foreshoreProfile.Orientation; UseForeshore = foreshoreProfile.Geometry.Count() > 1; UseBreakWater = foreshoreProfile.HasBreakWater; BreakWater = foreshoreProfile.HasBreakWater