// // Copyright 2021–2022 alterNERDtive. // // This file is part of EDNA. // // EDNA is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // EDNA 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 General Public License for more details. // // You should have received a copy of the GNU General Public License // along with EDNA. If not, see <https://www.gnu.org/licenses/>. // namespace alterNERDtive.Edna.Edsm { /// /// Coordinates represent a location in space. /// [System.Diagnostics.CodeAnalysis.SuppressMessage("StyleCop.CSharp.DocumentationRules", "SA1649:File name should match first type name", Justification = "Stupid rule :)")] public struct Coordinates { /// /// Gets or sets the X coordinate. /// public double X { get; set; } /// /// Gets or sets the Y coordinate. /// public double Y { get; set; } /// /// Gets or sets the Z coordinate. /// public double Z { get; set; } /// public override string ToString() { return $"({this.X},{this.Y},{this.Z})"; } } }