36 #ifndef HORIZONRADIUS_H_
37 #define HORIZONRADIUS_H_
123 radius = other.radius;
136 if (radius <= bottom)
149 if (radius <= bottom)
159 string s =
"radius " + CPPUtils::dtos(radius) +
" " + CPPUtils::itos(layerIndex);
virtual double getRadius(GeoTessPosition &position)
Return the radius of the Horizon at the position of the specified GeoTessPosition object...
Definition: GeoTessHorizonRadius.h:144
GeoTessHorizonRadius(const double &r)
Constructor for a Horizon object that represents a constant radius within the Earth.
Definition: GeoTessHorizonRadius.h:90
Information about an interpolated point at an arbitrary position in a model.
Definition: GeoTessPosition.h:101
GeoTessHorizonRadius(const double &r, const int &lyrIndex)
Constructor for a Horizon object that represents a constant radius in the Earth, in km...
Definition: GeoTessHorizonRadius.h:102
Definition: ArrayReuse.h:55
GeoTessHorizonRadius & operator=(const GeoTessHorizonRadius &other)
Overloaded assignment operator.
Definition: GeoTessHorizonRadius.h:120
virtual double getValue()
HorizonDepth objects return depth, HorizonRadius object return radius, and HorizonLayer object return...
Definition: GeoTessHorizonRadius.h:129
An abstract class that represents a single "surface" within a model.
Definition: GeoTessHorizon.h:79
virtual float getRadiusTop() const
Get the radius at the top of the profile, in km.
virtual double getRadius(const double *position, GeoTessProfile **profiles)
Return the radius of the Horizon at the specified geographic position and constrained by the specifie...
Definition: GeoTessHorizonRadius.h:131
Abstract class that manages the radii and data values that span a single layer associated with a sing...
Definition: GeoTessProfile.h:96
virtual string class_name()
Definition: GeoTessHorizonRadius.h:127
GeoTessHorizonRadius(GeoTessHorizonRadius &other)
Copy constructor.
Definition: GeoTessHorizonRadius.h:113
Defines a "surface" in a model that resides at a constant radius.
Definition: GeoTessHorizonRadius.h:71
virtual string str()
Definition: GeoTessHorizonRadius.h:157
double getRadiusTop(int layid)
Retrieve an interpolated value of the radius of the top of the specified layer, in km...
double getRadiusBottom(int layid)
Retrieve an interpolated value of the radius of the bottom of the specified layer, in km.
#define GEOTESS_EXP_IMP
Definition: CPPGlobals.h:71
int layerIndex
If layerIndex is >= 0 and < the number of layers represented in a model, then the returned radius wil...
Definition: GeoTessHorizon.h:92
virtual ~GeoTessHorizonRadius()
Destructor.
Definition: GeoTessHorizonRadius.h:108
virtual float getRadiusBottom() const
Get the radius at the bottom of the profile, in km.