Index: Riskeer/MacroStabilityInwards/src/Riskeer.MacroStabilityInwards.Forms/Factories/MacroStabilityInwardsChartDataPointsFactory.cs =================================================================== diff -u -r85d231252d6f38f28043142c0e49216c23b7e562 -re128e8c8db744f5cf7336e52e03a4ebfe70a7d69 --- Riskeer/MacroStabilityInwards/src/Riskeer.MacroStabilityInwards.Forms/Factories/MacroStabilityInwardsChartDataPointsFactory.cs (.../MacroStabilityInwardsChartDataPointsFactory.cs) (revision 85d231252d6f38f28043142c0e49216c23b7e562) +++ Riskeer/MacroStabilityInwards/src/Riskeer.MacroStabilityInwards.Forms/Factories/MacroStabilityInwardsChartDataPointsFactory.cs (.../MacroStabilityInwardsChartDataPointsFactory.cs) (revision e128e8c8db744f5cf7336e52e03a4ebfe70a7d69) @@ -327,7 +327,7 @@ } var points = new List(); - IEnumerable interPolatedVerticalPositions = GetInterPolatedVerticalPositions(grid.ZBottom, + IEnumerable interPolatedVerticalPositions = GetInterpolatedVerticalPositions(grid.ZBottom, grid.ZTop, grid.NumberOfVerticalPoints); foreach (RoundedDouble interPolatedVerticalPosition in interPolatedVerticalPositions) @@ -462,13 +462,13 @@ return Enumerable.Empty>(); } - return CreateTangentLines(GetInterPolatedVerticalPositions(tangentLineTop, tangentLineBottom, tangentLineNumber), + return CreateTangentLines(GetInterpolatedVerticalPositions(tangentLineTop, tangentLineBottom, tangentLineNumber), surfaceLine); } #region General Helpers - private static IEnumerable GetInterPolatedVerticalPositions(RoundedDouble startPoint, + private static IEnumerable GetInterpolatedVerticalPositions(RoundedDouble startPoint, RoundedDouble endPoint, int nrOfPoints) {