-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgeo_dom.h
51 lines (44 loc) · 1.13 KB
/
geo_dom.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/**
* \copyright
* Copyright (c) 2015, OpenGeoSys Community (http://www.opengeosys.org)
* Distributed under a Modified BSD License.
* See accompanying file LICENSE.txt or
* http://www.opengeosys.org/project/license
*
*/
/**************************************************************************
GeoLib - Object: Domain
Task:
Programing:
09/2003 OK Implementation
09/2005 CC GeoLib2
**************************************************************************/
#ifndef gs_dom_INC
#define gs_dom_INC
/* Schutz gegen mehrfaches Einfuegen */
// C++ STL
#include <cstdio>
#include <string>
#include <vector>
/* Class */
/*---------------------------------------------------------------*/
class CGLDomain
{
private:
std::string name;
long Insert(CGLDomain*);
std::vector<CGLDomain*> GetVector(void);
public:
double x_min, x_max;
double y_min, y_max;
double z_min, z_max;
// constructor
CGLDomain(void);
// destructor
~CGLDomain(void);
int Read(char*, FILE*);
CGLDomain* Get(std::string);
};
extern std::vector<CGLDomain*> domain_vector;
extern int GEOReadDomain(char*, int, FILE*);
#endif