36 #ifndef HORIZONLAYER_H_
37 #define HORIZONLAYER_H_
113 fraction = other.fraction;
132 return bottom + fraction*(top-bottom);
145 return bottom + fraction*(top-bottom);
150 string s =
"layer " + CPPUtils::dtos(fraction) +
" " + CPPUtils::itos(layerIndex);
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: GeoTessHorizonLayer.h:124
Information about an interpolated point at an arbitrary position in a model.
Definition: GeoTessPosition.h:101
virtual double getRadius(GeoTessPosition &position)
Return the radius of the Horizon at the position of the specified GeoTessPosition object...
Definition: GeoTessHorizonLayer.h:137
virtual string str()
Definition: GeoTessHorizonLayer.h:148
Definition: ArrayReuse.h:55
virtual ~GeoTessHorizonLayer()
Destructor.
Definition: GeoTessHorizonLayer.h:120
An abstract class that represents a single "surface" within a model.
Definition: GeoTessHorizon.h:79
GeoTessHorizonLayer & operator=(const GeoTessHorizonLayer &other)
Overloaded assignment operator.
Definition: GeoTessHorizonLayer.h:110
Defines a "surface" in a model that resides at a constant fractional radius within a specified layer...
Definition: GeoTessHorizonLayer.h:73
virtual float getRadiusTop() const
Get the radius at the top of the profile, in km.
GeoTessHorizonLayer(const double &fractionalPosition, const int &lyrIndex)
Constructor for a Horizon object that represents a constant fractional radius within a layer...
Definition: GeoTessHorizonLayer.h:96
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: GeoTessHorizonLayer.h:135
double getRadiusTop(int layid)
Retrieve an interpolated value of the radius of the top of the specified layer, in km...
GeoTessHorizonLayer(GeoTessHorizonLayer &other)
Copy constructor.
Definition: GeoTessHorizonLayer.h:103
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 double getValue()
HorizonDepth objects return depth, HorizonRadius object return radius, and HorizonLayer object return...
Definition: GeoTessHorizonLayer.h:122
virtual float getRadiusBottom() const
Get the radius at the bottom of the profile, in km.