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

Describe a step in the ray path. More...

#include <Step.h>

Collaboration diagram for Step:
Collaboration graph
[legend]

Public Member Functions

 Step (const vec3 &Pos=vec3(0., 0., 0.), const vec3 &Norme=vec3(0., 0., 0.))
 Default constructor. More...
 
 Step (const Step &other)
 Copy constructor. More...
 
 ~Step ()
 Destructor. More...
 

Static Public Member Functions

static Step Ray_adapter (Ray &ray)
 Return a step build from ray position and direction. More...
 

Public Attributes

vec3 pos
 Step position. More...
 
vec3 norm
 Step normal. More...
 

Detailed Description

Describe a step in the ray path.

Definition at line 31 of file Step.h.

Constructor & Destructor Documentation

◆ Step() [1/2]

Step::Step ( const vec3 Pos = vec3(0., 0., 0.),
const vec3 Norme = vec3(0., 0., 0.) 
)
inline

Default constructor.

Definition at line 35 of file Step.h.

Here is the caller graph for this function:

◆ Step() [2/2]

Step::Step ( const Step other)
inline

Copy constructor.

Definition at line 37 of file Step.h.

◆ ~Step()

Step::~Step ( )
inline

Destructor.

Definition at line 39 of file Step.h.

Member Function Documentation

◆ Ray_adapter()

static Step Step::Ray_adapter ( Ray ray)
inlinestatic

Return a step build from ray position and direction.

Definition at line 41 of file Step.h.

Here is the call graph for this function:

Member Data Documentation

◆ norm

vec3 Step::norm

Step normal.

Definition at line 48 of file Step.h.

◆ pos

vec3 Step::pos

Step position.

Definition at line 47 of file Step.h.


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