16 #ifndef __TY_CHEMIN_9613__
17 #define __TY_CHEMIN_9613__
111 double hs = 0.0,
double hr = 0.0,
double Gs = 0.5,
double Gm = 0.5,
double Gr = 0.5);
::std::ostream & operator<<(::std::ostream &out, const TYTypeChemin &value)
std::deque< TYChemin > TYTabChemin
TYChemin collection.
std::deque< TYEtape > TYTabEtape
TYEtape collection.
Class for the definition of atmospheric conditions.
Representation of one of the most optimal path between source and receptor: S—>R. The class TYChemin ...
const double getDistance() const
OSpectreOctave calcGroundAttenuationM(double q, double Gm)
double getDistance()
Get/Set the distance between source and receptor.
double getLongueur()
Get/Set the path length.
const TYTypeChemin getType() const
double _distance
Direct distance between source and receptor.
OSpectreOctave & getAttenuation()
Return the path attenuation.
void calcAttenuation(const TYTabEtape &tabEtapes, const AtmosphericConditions &atmos, double dp=0.0, double hs=0.0, double hr=0.0, double Gs=0.5, double Gm=0.5, double Gr=0.5)
void computeBarAttenuation(const OSpectreOctave &Dz, const bool vertical, const bool left)
bool operator==(const TYChemin &other) const
Operator ==.
virtual ~TYChemin()
Destructor.
TYTypeChemin _typeChemin
Path type (has an influence on the algorithm)
acoustic_path * _eq_path
Equivalent acoustic_path.
const OSpectreOctave & getAttenuation() const
bool operator!=(const TYChemin &other) const
Operator !=.
OSpectreOctave _attenuation
void setType(const TYTypeChemin &type)
Change the path type.
void setAttenuation(const TYTypeAttenuation &type, const OSpectreOctave &att)
void setDistance(const double &distance)
TYChemin & operator=(const TYChemin &other)
Operator =.
OSpectreOctave calcGroundAttenuationSR(double dp, double h, double G)
void setLongueur(const double &longueur)
void calcGroundAttenuations(double distance, double hs, double hr, double Gs, double Gm, double Gr)
const double getLongueur() const
void build_eq_path(const TYTabEtape &tabEtapes)
std::map< TYTypeAttenuation, OSpectreOctave > _attenuations
Attenuations spectra of the path.
void setAttenuationBarWhenNoPath(bool vertical, bool left)
Set attenuation bar to max to traduce the lack of diffracted ray on this path.
acoustic_path * get_ray(OPoint3D ptR)
double _longueur
Total path length.
OSpectreOctave attenuation