36 #ifndef HORIZONLAYER_H_
37 #define HORIZONLAYER_H_
96 HorizonLayer(
const double& fractionalPosition,
const int& lyrIndex)
97 :
Horizon(lyrIndex), fraction(fractionalPosition)
113 fraction = other.fraction;
124 virtual double getRadius(
const double* position,
Profile** profiles)
132 return bottom + fraction*(top-bottom);
145 return bottom + fraction*(top-bottom);
150 string s =
"layer " + CPPUtils::dtos(fraction) +
" " + CPPUtils::itos(layerIndex);