Index: DamEngine/trunk/src/Deltares.DamEngine.Data/General/PlLines/Pl1Line.cs =================================================================== diff -u -r6245 -r6404 --- DamEngine/trunk/src/Deltares.DamEngine.Data/General/PlLines/Pl1Line.cs (.../Pl1Line.cs) (revision 6245) +++ DamEngine/trunk/src/Deltares.DamEngine.Data/General/PlLines/Pl1Line.cs (.../Pl1Line.cs) (revision 6404) @@ -1,4 +1,4 @@ -// Copyright (C) Stichting Deltares 2024. All rights reserved. +// Copyright (C) Stichting Deltares 2025. All rights reserved. // // This file is part of the Dam Engine. // @@ -25,6 +25,15 @@ public class Pl1Line : GeometryPointString { + public new Pl1Line Clone() + { + var newPl1Line = new Pl1Line(); + + newPl1Line.Assign(this); + + return newPl1Line; + } + private void Assign(Pl1Line pl1Line) { Points.Clear(); @@ -35,13 +44,4 @@ Points.Add(newPoint); } } - - public new Pl1Line Clone() - { - var newPl1Line = new Pl1Line(); - - newPl1Line.Assign(this); - - return newPl1Line; - } } \ No newline at end of file