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
9
namespace
FileIO
10
{
11
namespace
Gocad
12
{
13
14
class
CoordinateSystem
final
15
{
16
public
:
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
;
28
std::string
axis_name_u
,
axis_name_v
,
axis_name_w
;
29
std::string
axis_unit_u
,
axis_unit_v
,
axis_unit_w
;
30
ZPOSITIVE
z_positive
=
ZPOSITIVE::Elevation
;
31
};
32
33
std::ostream&
operator<<
(std::ostream& os,
CoordinateSystem
const
& c);
34
35
}
// end namespace Gocad
36
}
// end namespace FileIO
FileIO::Gocad::CoordinateSystem
Definition
Applications/FileIO/GocadIO/CoordinateSystem.h:15
FileIO::Gocad::CoordinateSystem::name
std::string name
Definition
Applications/FileIO/GocadIO/CoordinateSystem.h:25
FileIO::Gocad::CoordinateSystem::axis_name_v
std::string axis_name_v
Definition
Applications/FileIO/GocadIO/CoordinateSystem.h:28
FileIO::Gocad::CoordinateSystem::z_positive
ZPOSITIVE z_positive
Definition
Applications/FileIO/GocadIO/CoordinateSystem.h:30
FileIO::Gocad::CoordinateSystem::axis_name_w
std::string axis_name_w
Definition
Applications/FileIO/GocadIO/CoordinateSystem.h:28
FileIO::Gocad::CoordinateSystem::axis_unit_w
std::string axis_unit_w
Definition
Applications/FileIO/GocadIO/CoordinateSystem.h:29
FileIO::Gocad::CoordinateSystem::projection
std::string projection
Definition
Applications/FileIO/GocadIO/CoordinateSystem.h:26
FileIO::Gocad::CoordinateSystem::axis_unit_v
std::string axis_unit_v
Definition
Applications/FileIO/GocadIO/CoordinateSystem.h:29
FileIO::Gocad::CoordinateSystem::parse
bool parse(std::istream &in)
Definition
Applications/FileIO/GocadIO/CoordinateSystem.cpp:33
FileIO::Gocad::CoordinateSystem::axis_name_u
std::string axis_name_u
Definition
Applications/FileIO/GocadIO/CoordinateSystem.h:28
FileIO::Gocad::CoordinateSystem::datum
std::string datum
Definition
Applications/FileIO/GocadIO/CoordinateSystem.h:27
FileIO::Gocad::CoordinateSystem::ZPOSITIVE
ZPOSITIVE
Definition
Applications/FileIO/GocadIO/CoordinateSystem.h:20
FileIO::Gocad::CoordinateSystem::ZPOSITIVE::Elevation
@ Elevation
Definition
Applications/FileIO/GocadIO/CoordinateSystem.h:22
FileIO::Gocad::CoordinateSystem::ZPOSITIVE::Depth
@ Depth
Definition
Applications/FileIO/GocadIO/CoordinateSystem.h:21
FileIO::Gocad::CoordinateSystem::axis_unit_u
std::string axis_unit_u
Definition
Applications/FileIO/GocadIO/CoordinateSystem.h:29
FileIO::Gocad
Definition
Applications/FileIO/GocadIO/CoordinateSystem.cpp:15
FileIO::Gocad::operator<<
std::ostream & operator<<(std::ostream &os, CoordinateSystem const &c)
Definition
Applications/FileIO/GocadIO/CoordinateSystem.cpp:105
FileIO
Definition
SHPImportDialog.h:8
Applications
FileIO
GocadIO
CoordinateSystem.h
Generated by
1.14.0