Code_TYMPAN
4.2.0
Industrial site acoustic simulation
|
The TYEtape class is used to describe a part (a step) of a path (TYChemin) for the computation of trajectories (TYTrajet) between Source and receptor (Recepteur) More...
#include <TYEtape.h>
Public Types | |
enum | EtapeType { EtapeInfra, EtapeTopo, EtapeForet } |
Indique le type de l'etape. More... | |
Public Member Functions | |
TYEtape () | |
Constructor. More... | |
TYEtape (const TYEtape &other) | |
Copy constructor. More... | |
virtual | ~TYEtape () |
Destructor. More... | |
TYEtape & | operator= (const TYEtape &other) |
Operator =. More... | |
bool | operator== (const TYEtape &other) const |
Operator ==. More... | |
bool | operator!= (const TYEtape &other) const |
Operator !=. More... | |
ACOUSTIC_EVENT_TYPES | getType () const |
Set/Get du type de cette etape. More... | |
void | setType (ACOUSTIC_EVENT_TYPES etapeType) |
OPoint3D | getPoint () const |
Get/Set of the first point of the step. More... | |
void | setPoint (const OPoint3D &pt) |
OSpectreComplex | getAbsorption () |
Get/Set the absorption spectrum associated to the first point of the step. More... | |
const OSpectreComplex | getAbsorption () const |
void | setAbsorption (const OSpectreComplex &Abso) |
OSpectre | getAttenuation () |
Get/Set the attenuation spectrum associated to this step. More... | |
const OSpectre | getAttenuation () const |
void | setAttenuation (const OSpectre &Att) |
acoustic_event * | asEvent () const |
Public Attributes | |
ACOUSTIC_EVENT_TYPES | _type |
Acoustic event type. More... | |
OPoint3D | _pt |
The starting point of this step. More... | |
OSpectreComplex | _Absorption |
absorption Spectrum More... | |
OSpectre | _Attenuation |
attenuation Spectrum More... | |
The TYEtape class is used to describe a part (a step) of a path (TYChemin) for the computation of trajectories (TYTrajet) between Source and receptor (Recepteur)
enum enum TYEtape::EtapeType |
TYEtape::TYEtape | ( | ) |
Constructor.
Definition at line 20 of file TYEtape.cpp.
TYEtape::TYEtape | ( | const TYEtape & | other | ) |
Copy constructor.
Definition at line 24 of file TYEtape.cpp.
|
virtual |
Destructor.
Definition at line 29 of file TYEtape.cpp.
acoustic_event * TYEtape::asEvent | ( | ) | const |
|
inline |
Get/Set the absorption spectrum associated to the first point of the step.
const OSpectreComplex getAbsorption() void setAbsorption(const OSpectreComplex & Abso)
|
inline |
|
inline |
Get/Set the attenuation spectrum associated to this step.
const OSpectre getAttenuation() void setAttenuation(const OSpectre & Att)
|
inline |
|
inline |
bool TYEtape::operator!= | ( | const TYEtape & | other | ) | const |
Operator =.
Definition at line 33 of file TYEtape.cpp.
bool TYEtape::operator== | ( | const TYEtape & | other | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
OSpectreComplex TYEtape::_Absorption |
ACOUSTIC_EVENT_TYPES TYEtape::_type |