24 #include <gtest/gtest_prod.h>
257 std::vector<acoustic_path*>
_tabRays;
All base classes related to 3D manipulation.
std::deque< TYChemin > TYTabChemin
TYChemin collection.
Representation of one of the most optimal path between source and receptor: S—>R.
Class for the definition of atmospheric conditions.
Class to define a segment.
OPoint3D _ptA
Point A of the segment.
OPoint3D _ptB
Point B of the segment.
Representation of one of the most optimal path between source and receptor: S—>R. The class TYChemin ...
This class TYTrajet (journey) links a couple Source-Receptor and a collection of paths,...
tympan::AcousticReceptor & arcpt
Business receptor.
void setPtSetPtRfromOSeg3D(const OSegment3D &seg)
const OSpectre getSpectre() const
OPoint3D _ptS
Source point definition in the site frame.
OSpectre getPEnergetique(const AtmosphericConditions &atmos)
TYChemin getChemin(int index)
void getPtSetPtRfromOSeg3D(OSegment3D &seg) const
OPoint3D _ptR
Receptor point definition in the site frame.
TYTabChemin _chemins
Paths collection.
void addCheminDirect(const TYChemin &chemin)
void setDistance(const double &distance)
void addChemin(const TYChemin &chemin)
void setPtSetPtR(const OPoint3D &pt1, const OPoint3D &pt2)
OSpectre correctTiers(const OSpectreComplex &si, const OSpectreComplex &sj, const AtmosphericConditions &atmos, const double &ri, const double &rj) const
std::vector< acoustic_path * > _tabRays
Vector of rays equivalent to chemin.
void setSpectre(const OSpectre &spectre)
bool operator!=(const TYTrajet &other) const
Operator !=.
tympan::source_idx asrc_idx
TYTabChemin & getChemins()
TYTrajet & operator=(const TYTrajet &other)
Operator =.
TYTabChemin _cheminsDirect
Direct paths collection (without obstacles)
TYTrajet(const TYTrajet &other)
tympan::receptor_idx arcpt_idx
std::vector< acoustic_path * > & get_tab_rays()
void getPtSetPtR(OPoint3D &pt1, OPoint3D &pt2)
tympan::AcousticSource & asrc
Business source.
double _distance
Distance between source and receptor.
bool operator==(const TYTrajet &other) const
Operator ==.
TYTrajet(tympan::AcousticSource &asrc_, tympan::AcousticReceptor &arcpt_)
FRIEND_TEST(test_TYTrajet, getPInterference)
OSpectre getPInterference(const AtmosphericConditions &atmos)
Compute the quadratic pressure on the journey.
FRIEND_TEST(test_TYTrajet, getPEnergetique)
const double getDistance() const
TYTabChemin & getCheminsDirect()
Describes an acoustic receptor.
Describes an acoustic source.
This file provides the declaration of the entities of the model, which inherit from BaseEntity.