Index: DamEngine/trunk/src/Deltares.DamEngine.Data/Geometry/Point2D.cs
===================================================================
diff -u -r5028 -r5065
--- DamEngine/trunk/src/Deltares.DamEngine.Data/Geometry/Point2D.cs (.../Point2D.cs) (revision 5028)
+++ DamEngine/trunk/src/Deltares.DamEngine.Data/Geometry/Point2D.cs (.../Point2D.cs) (revision 5065)
@@ -137,4 +137,13 @@
{
return new Point2D(aPoint2.X + aPoint1.X, aPoint2.Z + aPoint1.Z);
}
+
+ ///
+ /// Clones the 2D point.
+ ///
+ /// Returns a clone
+ public Point2D Clone()
+ {
+ return new Point2D { X = this.X, Z = this.Z, Name = this.Name};
+ }
}
\ No newline at end of file