Index: DamEngine/trunk/src/Deltares.DamEngine.Data/General/SoilGeometryProbability.cs
===================================================================
diff -u -r3041 -r3238
--- DamEngine/trunk/src/Deltares.DamEngine.Data/General/SoilGeometryProbability.cs (.../SoilGeometryProbability.cs) (revision 3041)
+++ DamEngine/trunk/src/Deltares.DamEngine.Data/General/SoilGeometryProbability.cs (.../SoilGeometryProbability.cs) (revision 3238)
@@ -125,15 +125,17 @@
/// Determines the soilProfile1D at x coordinate, regardless of the soil profile type (1D or 2D).
/// Does not support *.sti files
/// The x coordinate.
+ ///
+ ///
///
///
- public SoilProfile1D DetermineSoilProfile1DAtX(double xCoordinate)
+ public SoilProfile1D DetermineSoilProfile1DAtX(double xCoordinate, SurfaceLine2 surfaceLine, Soil dikeEmbankmentMaterial)
{
SoilProfile1D soilProfile1D;
switch (this.SoilProfileType)
{
case SoilProfileType.ProfileType1D:
- soilProfile1D = SoilProfile1D;
+ soilProfile1D = SoilProfileHelper.DetermineForSurfaceLineCorrected1DProfileAtX(SoilProfile1D, surfaceLine, xCoordinate, dikeEmbankmentMaterial);
break;
case SoilProfileType.ProfileType2D:
soilProfile1D = SoilProfile2D.GetSoilProfile1D(xCoordinate);