Code_TYMPAN  4.4.0
Industrial site acoustic simulation
Namespaces | Functions
ValidRay.h File Reference
#include "Ray/Ray.h"
#include "Geometry/Shape.h"
Include dependency graph for ValidRay.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 ValidRay
 This namespace contains all the functions needed for a ray validation.
 

Functions

bool ValidRay::validTriangleWithSpecularReflexion (Ray *r, Intersection *inter)
 
bool ValidRay::validCylindreWithDiffraction (Ray *r, Intersection *inter)
 
bool ValidRay::validRayWithDoNothingEvent (Ray *r, Intersection *inter)
 
bool ValidRay::computeRealImpact (Ray *r, Intersection *inter, Cylindre *cylindre, vec3 &impact)
 Try to compute the intersection of the ray and the ridge. More...
 
bool ValidRay::isRayPassesNearRidge (Ray *r, const vec3 &impact, const vec3 &realImpact)
 Return True if ray passes near enough the ridge for it be in the thickness of the ray. More...
 
bool ValidRay::pathDiffValidationForDiffraction (Ray *r, const vec3 &impact)
 Tests if the addition of a diffraction event at position impact does not cause the pathDifference to exceed MaxPathDifference. (NB: L = length of the ray from source to impact l = length of the ray from source to impact taking a direct path between reflexions while ignoring diffractions pathDifference = L- l. More...
 
bool ValidRay::pathDiffValidationForReflection (Ray *r, const vec3 &impact)
 Tests if the addition of a reflection event at position impact does not cause the pathDifference to exceed MaxPathDifference. (NB: L = length of the ray from source to impact l = length of the ray from source to impact taking a direct path between reflexions while ignoring diffractions pathDifference = L- l. More...
 
void ValidRay::computeCumulDistance (Ray *r, const vec3 &impact)
 adds the distance between impact and the last REFLECTION/SOURCE of the ray to the cumulDistance of the ray More...