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);
Defines a "surface" in a model that resides at a constant depth.
GeoTessHorizonDepth(GeoTessHorizonDepth &other)
virtual string class_name()
virtual double getRadius(const double *position, GeoTessProfile **profiles)
GeoTessHorizonDepth(const double &dpth, const int &lyrIndex)
GeoTessHorizonDepth(const double &dpth)
virtual double getRadius(GeoTessPosition &position)
GeoTessHorizonDepth & operator=(const GeoTessHorizonDepth &other)
virtual ~GeoTessHorizonDepth()
virtual double getValue()
An abstract class that represents a single "surface" within a model.
Information about an interpolated point at an arbitrary position in a model.
double getRadiusTop(int layid)
double getRadiusBottom(int layid)
Abstract class that manages the radii and data values that span a single layer associated with a sing...
virtual float getRadiusTop() const
virtual float getRadiusBottom() const