|
Code_TYMPAN
4.4.0
Industrial site acoustic simulation
|
This class TYTrajet (journey) links a couple Source-Receptor and a collection of paths, in addition to the direct path. More...
#include <TYTrajet.h>


Public Member Functions | |
| TYTrajet (tympan::AcousticSource &asrc_, tympan::AcousticReceptor &arcpt_) | |
| Constructor. More... | |
| TYTrajet (const TYTrajet &other) | |
| Copy constructor. More... | |
| virtual | ~TYTrajet () |
| Destructor. More... | |
| TYTrajet & | operator= (const TYTrajet &other) |
| Operator =. More... | |
| bool | operator== (const TYTrajet &other) const |
| Operator ==. More... | |
| bool | operator!= (const TYTrajet &other) const |
| Operator !=. More... | |
| virtual void | reset ()=0 |
| Reset method. More... | |
| double | getDistance () |
| Get/Set the distance between source and receptor. More... | |
| const double | getDistance () const |
| void | setDistance (const double &distance) |
| void | setPtSetPtR (const OPoint3D &pt1, const OPoint3D &pt2) |
| Get/Set points for source and receptor. More... | |
| void | getPtSetPtR (OPoint3D &pt1, OPoint3D &pt2) |
| void | setPtSetPtRfromOSeg3D (const OSegment3D &seg) |
| Get/Set points for source and receptor with an OSegment3D. More... | |
| void | getPtSetPtRfromOSeg3D (OSegment3D &seg) const |
| std::vector< acoustic_path * > & | get_tab_rays () |
Public Attributes | |
| tympan::AcousticSource & | asrc |
| Business source. More... | |
| tympan::source_idx | asrc_idx |
| tympan::AcousticReceptor & | arcpt |
| Business receptor. More... | |
| tympan::receptor_idx | arcpt_idx |
Protected Attributes | |
| OPoint3D | _ptS |
| Source point definition in the site frame. More... | |
| OPoint3D | _ptR |
| Receptor point definition in the site frame. More... | |
| double | _distance |
| Distance between source and receptor. More... | |
| std::vector< acoustic_path * > | _tabRays |
| Vector of rays equivalent to chemin. More... | |
This class TYTrajet (journey) links a couple Source-Receptor and a collection of paths, in addition to the direct path.
Definition at line 32 of file TYTrajet.h.
| TYTrajet::TYTrajet | ( | tympan::AcousticSource & | asrc_, |
| tympan::AcousticReceptor & | arcpt_ | ||
| ) |
Constructor.
| asrc_ | Source |
| arcpt_ | Receptor |
Definition at line 19 of file TYTrajet.cpp.

| TYTrajet::TYTrajet | ( | const TYTrajet & | other | ) |
Copy constructor.
Definition at line 27 of file TYTrajet.cpp.

|
virtual |
Destructor.
Definition at line 41 of file TYTrajet.cpp.
| std::vector< acoustic_path * > & TYTrajet::get_tab_rays | ( | ) |
Definition at line 94 of file TYTrajet.cpp.
|
inline |
Get/Set the distance between source and receptor.
const double getDistance()
Definition at line 75 of file TYTrajet.h.

|
inline |
Definition at line 79 of file TYTrajet.h.
Definition at line 99 of file TYTrajet.h.
|
inline |
| bool TYTrajet::operator!= | ( | const TYTrajet & | other | ) | const |
| bool TYTrajet::operator== | ( | const TYTrajet & | other | ) | const |
Operator ==.
Definition at line 58 of file TYTrajet.cpp.

|
pure virtual |
Reset method.
Implemented in TYTrajetDefaultSolver, and TYTrajet9613Solver.
|
inline |
Definition at line 84 of file TYTrajet.h.
Get/Set points for source and receptor.
void getPtSetPtR(OPoint3D& pt1, OPoint3D& pt2)
Definition at line 94 of file TYTrajet.h.
|
inline |
Get/Set points for source and receptor with an OSegment3D.
void getPtSetPtRfromOSeg3D(OSegment3D& seg)
Definition at line 110 of file TYTrajet.h.
|
protected |
Distance between source and receptor.
Definition at line 142 of file TYTrajet.h.
|
protected |
Receptor point definition in the site frame.
Definition at line 139 of file TYTrajet.h.
|
protected |
Source point definition in the site frame.
Definition at line 136 of file TYTrajet.h.
|
protected |
Vector of rays equivalent to chemin.
Definition at line 145 of file TYTrajet.h.
| tympan::AcousticReceptor& TYTrajet::arcpt |
Business receptor.
Definition at line 130 of file TYTrajet.h.
| tympan::receptor_idx TYTrajet::arcpt_idx |
Definition at line 131 of file TYTrajet.h.
| tympan::AcousticSource& TYTrajet::asrc |
Business source.
Definition at line 126 of file TYTrajet.h.
| tympan::source_idx TYTrajet::asrc_idx |
Definition at line 127 of file TYTrajet.h.