Index: Ringtoets/Piping/src/Ringtoets.Piping.Primitives/RingtoetsPipingSurfaceLine.cs =================================================================== diff -u -rfa851b16b32a7255c860355147a3ed4deaa10cef -r35db69dfe64b7e7deeaf9ef85d4df42ff6009b11 --- Ringtoets/Piping/src/Ringtoets.Piping.Primitives/RingtoetsPipingSurfaceLine.cs (.../RingtoetsPipingSurfaceLine.cs) (revision fa851b16b32a7255c860355147a3ed4deaa10cef) +++ Ringtoets/Piping/src/Ringtoets.Piping.Primitives/RingtoetsPipingSurfaceLine.cs (.../RingtoetsPipingSurfaceLine.cs) (revision 35db69dfe64b7e7deeaf9ef85d4df42ff6009b11) @@ -36,6 +36,7 @@ /// public class RingtoetsPipingSurfaceLine : IStorable { + private const int numberOfDecimalPlaces = 2; private Point3D[] geometryPoints; /// @@ -246,7 +247,7 @@ /// intersection point at have a significant difference in their y coordinate. /// is not in range of the LZ-projected . /// is empty. - public double GetZAtL(double l) + public double GetZAtL(RoundedDouble l) { ValidateHasPoints(); @@ -281,7 +282,6 @@ /// Collection of 2D points in the LZ-plane. public RoundedPoint2DCollection ProjectGeometryToLZ() { - var numberOfDecimalPlaces = 2; var count = geometryPoints.Length; if (count == 0) { @@ -348,7 +348,7 @@ /// L-coordinate being monotonically non-decreasing /// falls outside the L-coordiante span /// defined by . - public void ValidateInRange(double localCoordinateL, Point2D[] geometryInLocalCoordinates) + public void ValidateInRange(RoundedDouble localCoordinateL, Point2D[] geometryInLocalCoordinates) { Point2D firstLocalPoint = geometryInLocalCoordinates.First(); Point2D lastLocalPoint = geometryInLocalCoordinates.Last();