Index: Ringtoets/Piping/src/Ringtoets.Piping.IO/Builders/SoilLayer2D.cs
===================================================================
diff -u -red0efdcfe1c041f58f65ac59a18c42bd1df9f1ff -r49f905d3363336d44ef828259692644dcf5f9edc
--- Ringtoets/Piping/src/Ringtoets.Piping.IO/Builders/SoilLayer2D.cs (.../SoilLayer2D.cs) (revision ed0efdcfe1c041f58f65ac59a18c42bd1df9f1ff)
+++ Ringtoets/Piping/src/Ringtoets.Piping.IO/Builders/SoilLayer2D.cs (.../SoilLayer2D.cs) (revision 49f905d3363336d44ef828259692644dcf5f9edc)
@@ -22,6 +22,7 @@
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
+using System.Drawing;
using System.Linq;
using Core.Common.Base.Geometry;
@@ -70,6 +71,16 @@
public double? DryUnitWeight { get; set; }
///
+ /// Gets or sets the name of the material that was assigned to the .
+ ///
+ public string MaterialName { get; set; }
+
+ ///
+ /// Gets or sets the value representing a color that was used to represent the .
+ ///
+ public double? Color { get; set; }
+
+ ///
/// Gets the outer loop of the as a of ,
/// for which each of the segments are connected to the next.
///
@@ -148,7 +159,9 @@
IsAquifer = IsAquifer.HasValue && IsAquifer.Value.Equals(1.0),
BelowPhreaticLevel = BelowPhreaticLevel,
AbovePhreaticLevel = AbovePhreaticLevel,
- DryUnitWeight = DryUnitWeight
+ DryUnitWeight = DryUnitWeight,
+ MaterialName = MaterialName,
+ Color = SoilLayerColorConversionHelper.ColorFromNullableDouble(Color)
});
}
bottom = EnsureBottomOutsideInnerLoop(innerLoopIntersectionHeightPairs, currentBottom);