36 #ifndef HORIZONDEPTH_H_
37 #define HORIZONDEPTH_H_
136 double radius = GeoTessUtils::getEarthRadius(position)-depth;
141 if (radius <= bottom)
155 if (radius <= bottom)
165 string s =
"depth " + CPPUtils::dtos(depth) +
" " + CPPUtils::itos(layerIndex);
double getEarthRadius()
Definition: GeoTessPosition.h:793
GeoTessHorizonDepth(GeoTessHorizonDepth &other)
Definition: GeoTessHorizonDepth.h:116
Information about an interpolated point at an arbitrary position in a model.
Definition: GeoTessPosition.h:101
virtual string class_name()
Definition: GeoTessHorizonDepth.h:130
GeoTessHorizonDepth(const double &dpth)
Definition: GeoTessHorizonDepth.h:92
virtual double getRadius(GeoTessPosition &position)
Definition: GeoTessHorizonDepth.h:149
virtual double getRadius(const double *position, GeoTessProfile **profiles)
Definition: GeoTessHorizonDepth.h:134
An abstract class that represents a single "surface" within a model.
Definition: GeoTessHorizon.h:79
GeoTessHorizonDepth & operator=(const GeoTessHorizonDepth &other)
Definition: GeoTessHorizonDepth.h:123
virtual float getRadiusTop() const
Abstract class that manages the radii and data values that span a single layer associated with a sing...
Definition: GeoTessProfile.h:96
GeoTessHorizonDepth(const double &dpth, const int &lyrIndex)
Definition: GeoTessHorizonDepth.h:105
virtual ~GeoTessHorizonDepth()
Definition: GeoTessHorizonDepth.h:111
virtual string str()
Definition: GeoTessHorizonDepth.h:163
Defines a "surface" in a model that resides at a constant depth.
Definition: GeoTessHorizonDepth.h:72
double getRadiusTop(int layid)
double getRadiusBottom(int layid)
#define GEOTESS_EXP_IMP
Definition: CPPGlobals.h:71
int layerIndex
Definition: GeoTessHorizon.h:92
virtual double getValue()
Definition: GeoTessHorizonDepth.h:132
virtual float getRadiusBottom() const