Index: DamEngine/trunk/src/Deltares.DamEngine.Data/Geometry/GeometryCurve.cs =================================================================== diff -u -r6087 -r6253 --- DamEngine/trunk/src/Deltares.DamEngine.Data/Geometry/GeometryCurve.cs (.../GeometryCurve.cs) (revision 6087) +++ DamEngine/trunk/src/Deltares.DamEngine.Data/Geometry/GeometryCurve.cs (.../GeometryCurve.cs) (revision 6253) @@ -193,10 +193,10 @@ /// Clones the curve. /// /// Returns a clone - public GeometryCurve Clone(List calcPoints) + public GeometryCurve Clone(List points) { - Point2D clonedHeadPoint = calcPoints.Find(p => p.LocationEquals(HeadPoint)); - Point2D clonedEndPoint = calcPoints.Find(p => p.LocationEquals(EndPoint)); + Point2D clonedHeadPoint = points.Find(p => p.LocationEquals(HeadPoint)); + Point2D clonedEndPoint = points.Find(p => p.LocationEquals(EndPoint)); var curve = new GeometryCurve(clonedHeadPoint, clonedEndPoint) { Name = Name