// Copyright (C) Stichting Deltares 2017. All rights reserved. // // This file is part of the Macro Stability kernel. // // The Macro Stability kernel is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU Affero General Public License for more details. // // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . // // All names, logos, and references to "Deltares" are registered trademarks of // Stichting Deltares and remain full property of Stichting Deltares at all times. // All rights reserved. using System.Xml.Serialization; using Deltares.DamEngine.Data.Geometry; using Deltares.DamEngine.Data.Standard.Language; namespace Deltares.DamEngine.Data.Geotechnics { /// /// Pre-consolidation stress used within preproces stability /// public class PreConsolidationStress : GeometryPoint { /// /// Initializes a new instance of the class /// as a XZ point. /// public PreConsolidationStress() { StressValue = double.NaN; } /// /// Gets or sets the stress value. /// [XmlIgnore] public double StressValue { get; set; } /// /// Gets or sets the name. /// /// /// The name. /// public override string Name { get; set; } /// /// Gets or sets the X coordinate of publisherEventArgs GeometryPoint /// [Translation("XCoordYieldStress")] public override double X { get { return base.X; } set { base.X = value; } } /// /// Gets or sets the Z coordinate of publisherEventArgs GeometryPoint /// [Translation("ZCoordYieldStress")] public override double Z { get { return base.Z; } set { base.Z = value; } } /// /// Clones this instance. /// public override object Clone() { var clone = new PreConsolidationStress { Name = Name, StressValue = StressValue, X = X, Z = Z }; return clone; } } }