|
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. Specific derivation of TYTrajet for 9613Solver. More...
#include <TYTrajet9613Solver.h>


Public Member Functions | |
| TYTrajet9613Solver (tympan::AcousticSource &asrc_, tympan::AcousticReceptor &arcpt_) | |
| Constructor. More... | |
| virtual | ~TYTrajet9613Solver () |
| Destructor. More... | |
| TYTrajet9613Solver & | operator= (const TYTrajet9613Solver &other) |
| Operator =. More... | |
| bool | operator== (const TYTrajet9613Solver &other) const |
| Operator ==. More... | |
| bool | operator!= (const TYTrajet9613Solver &other) const |
| Operator !=. More... | |
| void | reset () override |
| Reset method. More... | |
| size_t | getNbChemins () |
| Return the number of path in *this (in addition to the direct path). More... | |
| TYTabChemin9613Solver & | getChemins () |
| Return the collection of paths of *this. More... | |
| TYTabChemin9613Solver & | getCheminsDirect () |
| Return an array of the direct paths. More... | |
| void | addChemin (const TYChemin9613Solver &chemin) |
| Add a new path. More... | |
| void | addCheminDirect (const TYChemin9613Solver &chemin) |
| Add a new path to the array of direct paths. More... | |
| TYChemin9613Solver | getChemin (int index) |
| Return a path thanks to its index. More... | |
| OSpectreOctave & | getSpectreOct () |
| Get the spectrum in octave band at the receptor point Used to compute the pressure spectrum in octave band. More... | |
| OSpectre | getSpectre () |
| Get the spectrum in third-octave band at the receptor point Used to build the result matrix by TYSolver.cpp. More... | |
| const OSpectre | getSpectre () const |
| void | build_tab_rays () |
Public Member Functions inherited from TYTrajet | |
| 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... | |
| 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 () |
Protected Attributes | |
| TYTabChemin9613Solver | _chemins |
| Paths collection. More... | |
| TYTabChemin9613Solver | _cheminsDirect |
| Direct paths collection (without obstacles) More... | |
| OSpectreOctave | _sLP |
Protected Attributes inherited from TYTrajet | |
| 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... | |
Additional Inherited Members | |
Public Attributes inherited from TYTrajet | |
| tympan::AcousticSource & | asrc |
| Business source. More... | |
| tympan::source_idx | asrc_idx |
| tympan::AcousticReceptor & | arcpt |
| Business receptor. More... | |
| tympan::receptor_idx | arcpt_idx |
This class TYTrajet (journey) links a couple Source-Receptor and a collection of paths, in addition to the direct path. Specific derivation of TYTrajet for 9613Solver.
Definition at line 36 of file TYTrajet9613Solver.h.
| TYTrajet9613Solver::TYTrajet9613Solver | ( | tympan::AcousticSource & | asrc_, |
| tympan::AcousticReceptor & | arcpt_ | ||
| ) |
Constructor.
| asrc_ | Source |
| arcpt_ | Receptor |
Definition at line 19 of file TYTrajet9613Solver.cpp.
|
virtual |
Destructor.
Definition at line 24 of file TYTrajet9613Solver.cpp.

| void TYTrajet9613Solver::addChemin | ( | const TYChemin9613Solver & | chemin | ) |
Add a new path.
Definition at line 72 of file TYTrajet9613Solver.cpp.
| void TYTrajet9613Solver::addCheminDirect | ( | const TYChemin9613Solver & | chemin | ) |
Add a new path to the array of direct paths.
Definition at line 77 of file TYTrajet9613Solver.cpp.
| void TYTrajet9613Solver::build_tab_rays | ( | ) |
|
inline |
Return a path thanks to its index.
Definition at line 115 of file TYTrajet9613Solver.h.

|
inline |
Return the collection of paths of *this.
Definition at line 83 of file TYTrajet9613Solver.h.

|
inline |
Return an array of the direct paths.
Definition at line 93 of file TYTrajet9613Solver.h.
|
inline |
Return the number of path in *this (in addition to the direct path).
Definition at line 73 of file TYTrajet9613Solver.h.

|
inline |
Get the spectrum in third-octave band at the receptor point Used to build the result matrix by TYSolver.cpp.
const OSpectre getSpectre() const
Definition at line 143 of file TYTrajet9613Solver.h.

|
inline |
|
inline |
Get the spectrum in octave band at the receptor point Used to compute the pressure spectrum in octave band.
Definition at line 129 of file TYTrajet9613Solver.h.

| bool TYTrajet9613Solver::operator!= | ( | const TYTrajet9613Solver & | other | ) | const |
Operator !=.
Definition at line 67 of file TYTrajet9613Solver.cpp.

| TYTrajet9613Solver & TYTrajet9613Solver::operator= | ( | const TYTrajet9613Solver & | other | ) |
Operator =.
Definition at line 35 of file TYTrajet9613Solver.cpp.

| bool TYTrajet9613Solver::operator== | ( | const TYTrajet9613Solver & | other | ) | const |
Operator ==.
Definition at line 46 of file TYTrajet9613Solver.cpp.

|
overridevirtual |
Reset method.
Implements TYTrajet.
Definition at line 29 of file TYTrajet9613Solver.cpp.

|
protected |
Paths collection.
Definition at line 158 of file TYTrajet9613Solver.h.
|
protected |
Direct paths collection (without obstacles)
Definition at line 161 of file TYTrajet9613Solver.h.
|
protected |
Spectrum in octave band at the receptor point of the journey which integrates geometrical divergence and the source power
Definition at line 165 of file TYTrajet9613Solver.h.