Index: Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Data/GrassCoverErosionInwardsInput.cs =================================================================== diff -u -rcf913a00f5768780ab2f8bd8d5145069581a8068 -ra9de6c776f0a8367193b3ac142d784979bb3766a --- Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Data/GrassCoverErosionInwardsInput.cs (.../GrassCoverErosionInwardsInput.cs) (revision cf913a00f5768780ab2f8bd8d5145069581a8068) +++ Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Data/GrassCoverErosionInwardsInput.cs (.../GrassCoverErosionInwardsInput.cs) (revision a9de6c776f0a8367193b3ac142d784979bb3766a) @@ -55,9 +55,6 @@ Mean = (RoundedDouble) 0.004, StandardDeviation = (RoundedDouble) 0.0006 }; - - DikeGeometry = new List(); - ForeshoreGeometry = new List(); } /// @@ -99,7 +96,15 @@ /// /// Gets the geometry of the foreshore. /// - public IList ForeshoreGeometry { get; private set; } + public IEnumerable ForeshoreGeometry + { + get + { + return dikeProfile != null + ? dikeProfile.ForeshoreGeometry + : new List(); + } + } /// /// Gets or sets if needs to be taken into account. @@ -114,10 +119,24 @@ /// /// Gets the geometry of the dike with roughness data. /// - public IList DikeGeometry { get; private set; } + /// + /// The roughness of a in the collection represents + /// the roughness of the section between this + /// and the succeeding . The roughness of the last + /// point is irrelevant. + /// + public IEnumerable DikeGeometry + { + get + { + return dikeProfile != null + ? dikeProfile.DikeGeometry + : new List(); + } + } /// - /// Gets or sets the dike height. + /// Gets or sets the height of the dike [m+NAP]. /// public RoundedDouble DikeHeight {