Code_TYMPAN  4.2.0
Industrial site acoustic simulation
Public Member Functions | Public Attributes | List of all members
acoustic_event Class Reference

This class store data and provide functions to manipulate event in the acoustic context. More...

#include <acoustic_path.h>

Collaboration diagram for acoustic_event:
Collaboration graph
[legend]

Public Member Functions

 acoustic_event ()
 Default constructor. More...
 
 acoustic_event (const OPoint3D &pt)
 Constructor from the event position. More...
 
 acoustic_event (const acoustic_event &ev)
 Copy constructor. More...
 
 ~acoustic_event ()
 Destructor. More...
 
acoustic_eventoperator= (const acoustic_event &other)
 

Public Attributes

OPoint3D pos
 Event position. More...
 
double distNextEvent
 Distance between this event and the next one in TYRay's list of events. More...
 
double distEndEvent
 Distance between this event and the next event needed for calculating (for example, reflection after a diffraction) More...
 
double distPrevNext
 Distance between event-1 and event +1. More...
 
double angle
 Ray incident angle (for a shooting angle - plan x,z -) More...
 
double angletheta
 Shooting angle on a horizontal plane (x,y) More...
 
ACOUSTIC_EVENT_TYPES type
 Event type. More...
 
int idFace1
 Face id on which the event happens (reflection & diffraction) More...
 
int idFace2
 Face id on which the event happens (diffraction only) More...
 
acoustic_eventprevious
 Pointer to the previous event in TYRay's list of events. More...
 
acoustic_eventnext
 Pointer to the next event in TYRay's list of events. More...
 
acoustic_eventendEvent
 Pointer to the next event in TYRay's list of events needed for calculating (for example reflection after a diffraction) More...
 

Detailed Description

This class store data and provide functions to manipulate event in the acoustic context.

Definition at line 39 of file acoustic_path.h.

Constructor & Destructor Documentation

◆ acoustic_event() [1/3]

acoustic_event::acoustic_event ( )

Default constructor.

Definition at line 23 of file acoustic_path.cpp.

Here is the caller graph for this function:

◆ acoustic_event() [2/3]

acoustic_event::acoustic_event ( const OPoint3D pt)

Constructor from the event position.

Definition at line 37 of file acoustic_path.cpp.

◆ acoustic_event() [3/3]

acoustic_event::acoustic_event ( const acoustic_event ev)

Copy constructor.

Definition at line 52 of file acoustic_path.cpp.

◆ ~acoustic_event()

acoustic_event::~acoustic_event ( )

Destructor.

Definition at line 57 of file acoustic_path.cpp.

Member Function Documentation

◆ operator=()

acoustic_event & acoustic_event::operator= ( const acoustic_event other)

Definition at line 65 of file acoustic_path.cpp.

Member Data Documentation

◆ angle

double acoustic_event::angle

Ray incident angle (for a shooting angle - plan x,z -)

Definition at line 57 of file acoustic_path.h.

◆ angletheta

double acoustic_event::angletheta

Shooting angle on a horizontal plane (x,y)

Definition at line 58 of file acoustic_path.h.

◆ distEndEvent

double acoustic_event::distEndEvent

Distance between this event and the next event needed for calculating (for example, reflection after a diffraction)

Definition at line 55 of file acoustic_path.h.

◆ distNextEvent

double acoustic_event::distNextEvent

Distance between this event and the next one in TYRay's list of events.

Definition at line 54 of file acoustic_path.h.

◆ distPrevNext

double acoustic_event::distPrevNext

Distance between event-1 and event +1.

Definition at line 56 of file acoustic_path.h.

◆ endEvent

acoustic_event* acoustic_event::endEvent

Pointer to the next event in TYRay's list of events needed for calculating (for example reflection after a diffraction)

Definition at line 64 of file acoustic_path.h.

◆ idFace1

int acoustic_event::idFace1

Face id on which the event happens (reflection & diffraction)

Definition at line 60 of file acoustic_path.h.

◆ idFace2

int acoustic_event::idFace2

Face id on which the event happens (diffraction only)

Definition at line 61 of file acoustic_path.h.

◆ next

acoustic_event* acoustic_event::next

Pointer to the next event in TYRay's list of events.

Definition at line 63 of file acoustic_path.h.

◆ pos

OPoint3D acoustic_event::pos

Event position.

Definition at line 53 of file acoustic_path.h.

◆ previous

acoustic_event* acoustic_event::previous

Pointer to the previous event in TYRay's list of events.

Definition at line 62 of file acoustic_path.h.

◆ type

ACOUSTIC_EVENT_TYPES acoustic_event::type

Event type.

Definition at line 59 of file acoustic_path.h.


The documentation for this class was generated from the following files: