OGS
Applications/FileIO/GocadIO/CoordinateSystem.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) OpenGeoSys Community (opengeosys.org)
2// SPDX-License-Identifier: BSD-3-Clause
3
4#pragma once
5
6#include <iosfwd>
7#include <string>
8
9namespace FileIO
10{
11namespace Gocad
12{
13
15{
16public:
17 bool parse(std::istream & in);
18
19 enum class ZPOSITIVE
20 {
21 Depth, // z is increasing downwards
22 Elevation // z is increasing upwards
23 };
24
25 std::string name;
26 std::string projection;
27 std::string datum;
31};
32
33std::ostream& operator<<(std::ostream& os, CoordinateSystem const& c);
34
35} // end namespace Gocad
36} // end namespace FileIO
std::ostream & operator<<(std::ostream &os, CoordinateSystem const &c)