Index: DamEngine/trunk/src/Deltares.DamEngine.Data/General/PlLines/PlLine.cs =================================================================== diff -u -r4000 -r4052 --- DamEngine/trunk/src/Deltares.DamEngine.Data/General/PlLines/PlLine.cs (.../PlLine.cs) (revision 4000) +++ DamEngine/trunk/src/Deltares.DamEngine.Data/General/PlLines/PlLine.cs (.../PlLine.cs) (revision 4052) @@ -22,57 +22,56 @@ using Deltares.DamEngine.Data.Geometry; using Deltares.DamEngine.Data.Standard; -namespace Deltares.DamEngine.Data.General.PlLines +namespace Deltares.DamEngine.Data.General.PlLines; + +public class PlLinePoint : GeometryPoint { - public class PlLinePoint : GeometryPoint - { - public PlLinePoint() : this(0, 0) {} + public PlLinePoint() : this(0, 0) {} - public PlLinePoint(double aX, double aZ) : base(aX, aZ) {} - } + public PlLinePoint(double aX, double aZ) : base(aX, aZ) {} +} - public class PlLine : PolyLine, ICloneable - { - private PlLineType plLineType; +public class PlLine : PolyLine, ICloneable +{ + private PlLineType plLineType; - public PlLineType PlLineType + public PlLineType PlLineType + { + get { - get - { - return plLineType; - } - set - { - plLineType = value; - PlLineTypeSpecified = true; - } + return plLineType; } + set + { + plLineType = value; + PlLineTypeSpecified = true; + } + } - public bool PlLineTypeSpecified { get; private set; } + public bool PlLineTypeSpecified { get; private set; } - public bool IsPhreatic { get; set; } + public bool IsPhreatic { get; set; } - public int BoundaryLayer { get; set; } + public int BoundaryLayer { get; set; } - public PlLine Clone() + public PlLine Clone() + { + var plLine = new PlLine { - var plLine = new PlLine + IsPhreatic = IsPhreatic, + BoundaryLayer = BoundaryLayer + }; + foreach (PlLinePoint point in Points) + { + var newPoint = new PlLinePoint { - IsPhreatic = IsPhreatic, - BoundaryLayer = BoundaryLayer + X = point.X, + Y = point.Y, + Z = point.Z }; - foreach (PlLinePoint point in Points) - { - var newPoint = new PlLinePoint - { - X = point.X, - Y = point.Y, - Z = point.Z - }; - plLine.Points.Add(newPoint); - } - - return plLine; + plLine.Points.Add(newPoint); } + + return plLine; } } \ No newline at end of file