OGS
CoordinateSystem.h
Go to the documentation of this file.
1
10
#pragma once
11
12
#include <iosfwd>
13
#include <string>
14
15
namespace
FileIO
16
{
17
namespace
Gocad
18
{
19
20
class
CoordinateSystem
final
21
{
22
public
:
23
bool
parse
(std::istream & in);
24
25
enum class
ZPOSITIVE
26
{
27
Depth
,
// z is increasing downwards
28
Elevation
// z is increasing upwards
29
};
30
31
std::string
name
;
32
std::string
projection
;
33
std::string
datum
;
34
std::string
axis_name_u
,
axis_name_v
,
axis_name_w
;
35
std::string
axis_unit_u
,
axis_unit_v
,
axis_unit_w
;
36
ZPOSITIVE
z_positive
=
ZPOSITIVE::Elevation
;
37
};
38
39
std::ostream&
operator<<
(std::ostream& os,
CoordinateSystem
const
& c);
40
41
}
// end namespace Gocad
42
}
// end namespace FileIO
FileIO::Gocad::CoordinateSystem
Definition
CoordinateSystem.h:21
FileIO::Gocad::CoordinateSystem::name
std::string name
Definition
CoordinateSystem.h:31
FileIO::Gocad::CoordinateSystem::axis_name_v
std::string axis_name_v
Definition
CoordinateSystem.h:34
FileIO::Gocad::CoordinateSystem::z_positive
ZPOSITIVE z_positive
Definition
CoordinateSystem.h:36
FileIO::Gocad::CoordinateSystem::axis_name_w
std::string axis_name_w
Definition
CoordinateSystem.h:34
FileIO::Gocad::CoordinateSystem::axis_unit_w
std::string axis_unit_w
Definition
CoordinateSystem.h:35
FileIO::Gocad::CoordinateSystem::projection
std::string projection
Definition
CoordinateSystem.h:32
FileIO::Gocad::CoordinateSystem::axis_unit_v
std::string axis_unit_v
Definition
CoordinateSystem.h:35
FileIO::Gocad::CoordinateSystem::parse
bool parse(std::istream &in)
Definition
CoordinateSystem.cpp:39
FileIO::Gocad::CoordinateSystem::axis_name_u
std::string axis_name_u
Definition
CoordinateSystem.h:34
FileIO::Gocad::CoordinateSystem::datum
std::string datum
Definition
CoordinateSystem.h:33
FileIO::Gocad::CoordinateSystem::ZPOSITIVE
ZPOSITIVE
Definition
CoordinateSystem.h:26
FileIO::Gocad::CoordinateSystem::ZPOSITIVE::Elevation
@ Elevation
FileIO::Gocad::CoordinateSystem::ZPOSITIVE::Depth
@ Depth
FileIO::Gocad::CoordinateSystem::axis_unit_u
std::string axis_unit_u
Definition
CoordinateSystem.h:35
FileIO::Gocad::operator<<
std::ostream & operator<<(std::ostream &os, CoordinateSystem const &c)
Definition
CoordinateSystem.cpp:111
FileIO
Definition
SHPImportDialog.h:19
Applications
FileIO
GocadIO
CoordinateSystem.h
Generated by
1.12.0