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);
An abstract class that represents a single "surface" within a model.
Defines a "surface" in a model that resides at a constant fractional radius within a specified layer.
virtual double getRadius(const double *position, GeoTessProfile **profiles)
GeoTessHorizonLayer(GeoTessHorizonLayer &other)
GeoTessHorizonLayer(const double &fractionalPosition, const int &lyrIndex)
virtual ~GeoTessHorizonLayer()
GeoTessHorizonLayer & operator=(const GeoTessHorizonLayer &other)
virtual string class_name()
virtual double getValue()
virtual double getRadius(GeoTessPosition &position)
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