Index: Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Data/MacroStabilityInwardsOutput.cs
===================================================================
diff -u -r038a3c3f2afc97dcbdf59316a281730e608a4cf0 -rb8493c6fb982b455e36129083cc009c5c07a7d05
--- Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Data/MacroStabilityInwardsOutput.cs (.../MacroStabilityInwardsOutput.cs) (revision 038a3c3f2afc97dcbdf59316a281730e608a4cf0)
+++ Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Data/MacroStabilityInwardsOutput.cs (.../MacroStabilityInwardsOutput.cs) (revision b8493c6fb982b455e36129083cc009c5c07a7d05)
@@ -33,17 +33,32 @@
///
/// Creates a new instance of .
///
+ /// The sliding curve result.
+ /// The slip plane uplift Van result.
/// The container of the properties for the
/// .
- /// Thrown when the
+ /// Thrown when any parameter
/// is null.
- public MacroStabilityInwardsOutput(ConstructionProperties properties)
+ public MacroStabilityInwardsOutput(MacroStabilityInwardsSlidingCurve slidingCurve,
+ MacroStabilityInwardsSlipPlaneUpliftVan slipPlane,
+ ConstructionProperties properties)
{
+ if (slidingCurve == null)
+ {
+ throw new ArgumentNullException(nameof(slidingCurve));
+ }
+ if (slipPlane == null)
+ {
+ throw new ArgumentNullException(nameof(slipPlane));
+ }
if (properties == null)
{
throw new ArgumentNullException(nameof(properties));
}
+ SlidingCurve = slidingCurve;
+ SlipPlane = slipPlane;
+
FactorOfStability = properties.FactorOfStability;
ZValue = properties.ZValue;
ForbiddenZonesXEntryMin = properties.ForbiddenZonesXEntryMin;
@@ -55,6 +70,16 @@
#region properties
///
+ /// Gets the sliding curve.
+ ///
+ public MacroStabilityInwardsSlidingCurve SlidingCurve { get; }
+
+ ///
+ /// Gets the slip plane.
+ ///
+ public MacroStabilityInwardsSlipPlaneUpliftVan SlipPlane { get; }
+
+ ///
/// Gets the factor of stability of the upliftVan calculation.
///
public double FactorOfStability { get; }