GeoTessCPP
2.0.0
Software to facilitate storage and retrieval of 3D information about the Earth.
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Friends
Macros
include
GeoTessHorizon.h
Go to the documentation of this file.
1
//- ****************************************************************************
2
//-
3
//- Copyright 2009 Sandia Corporation. Under the terms of Contract
4
//- DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government
5
//- retains certain rights in this software.
6
//-
7
//- BSD Open Source License.
8
//- All rights reserved.
9
//-
10
//- Redistribution and use in source and binary forms, with or without
11
//- modification, are permitted provided that the following conditions are met:
12
//-
13
//- * Redistributions of source code must retain the above copyright notice,
14
//- this list of conditions and the following disclaimer.
15
//- * Redistributions in binary form must reproduce the above copyright
16
//- notice, this list of conditions and the following disclaimer in the
17
//- documentation and/or other materials provided with the distribution.
18
//- * Neither the name of Sandia National Laboratories nor the names of its
19
//- contributors may be used to endorse or promote products derived from
20
//- this software without specific prior written permission.
21
//-
22
//- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
23
//- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
24
//- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
25
//- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
26
//- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
27
//- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
28
//- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
29
//- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
30
//- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
31
//- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
32
//- POSSIBILITY OF SUCH DAMAGE.
33
//-
34
//- ****************************************************************************
35
36
#ifndef HORIZON_H_
37
#define HORIZON_H_
38
// **** _SYSTEM INCLUDES_ ******************************************************
39
40
#include <iostream>
41
#include <string>
42
#include <fstream>
43
44
// use standard library objects
45
using namespace
std;
46
47
// **** _LOCAL INCLUDES_ *******************************************************
48
49
#include "
CPPUtils.h
"
50
#include "
CPPGlobals.h
"
51
#include "
GeoTessProfile.h
"
52
53
// **** _BEGIN GEOTESS NAMESPACE_ **********************************************
54
55
namespace
geotess {
56
57
// **** _FORWARD REFERENCES_ ***************************************************
58
59
class
GeoTessPosition;
60
61
// **** _CLASS DEFINITION_ *****************************************************
62
79
class
GEOTESS_EXP_IMP
GeoTessHorizon
80
{
81
82
private
:
83
84
protected
:
85
92
int
layerIndex
;
93
94
95
public
:
96
100
GeoTessHorizon
(
const
int
& lyrIndex) { layerIndex = lyrIndex; } ;
101
102
virtual
~GeoTessHorizon
() {};
103
104
virtual
string
class_name
() {
return
"Horizon"
; };
105
110
virtual
double
getValue() =
ABSTRACT
;
111
127
virtual
double
getRadius(
const
double
* position,
GeoTessProfile
** profiles) =
ABSTRACT
;
128
137
virtual
double
getRadius(
GeoTessPosition
& position) =
ABSTRACT
;
138
146
virtual
int
getLayerIndex
() {
return
layerIndex; };
147
148
virtual
string
str() =
ABSTRACT
;
149
150
};
151
// end class Horizon
152
153
}
// end namespace geotess
154
155
#endif
/* HORIZON_H_ */
Generated on Thu Oct 17 2013 11:20:26 for GeoTessCPP by
1.8.1.1