20 : asrc(asrc_), arcpt(arcpt_), _distance(0.0)
32 for (
unsigned int i = 0; i <
_tabRays.size(); i++)
double distFrom(const OPoint3D &pt) const
Computes the distance from this point to another.
This class TYTrajet (journey) links a couple Source-Receptor and a collection of paths,...
OPoint3D _ptS
Source point definition in the site frame.
OPoint3D _ptR
Receptor point definition in the site frame.
std::vector< acoustic_path * > _tabRays
Vector of rays equivalent to chemin.
TYTrajet & operator=(const TYTrajet &other)
Operator =.
tympan::AcousticSource & asrc
Business source.
bool operator!=(const TYTrajet &other) const
Operator !=.
tympan::source_idx asrc_idx
virtual ~TYTrajet()
Destructor.
tympan::receptor_idx arcpt_idx
std::vector< acoustic_path * > & get_tab_rays()
double _distance
Distance between source and receptor.
bool operator==(const TYTrajet &other) const
Operator ==.
tympan::AcousticReceptor & arcpt
Business receptor.
TYTrajet(tympan::AcousticSource &asrc_, tympan::AcousticReceptor &arcpt_)
Constructor.
Describes an acoustic receptor.
Point position
Destructor.
Describes an acoustic source.
Point position
Destructor.
static LPSolverConfiguration get()
Get the configuration.
This file provides class for solver configuration.