|
Code_TYMPAN
4.4.0
Industrial site acoustic simulation
|
This namespace contains all the functions needed for a ray validation. More...
Functions | |
| bool | validTriangleWithSpecularReflexion (Ray *r, Intersection *inter) |
| bool | validCylindreWithDiffraction (Ray *r, Intersection *inter) |
| bool | validRayWithDoNothingEvent (Ray *r, Intersection *inter) |
| bool | computeRealImpact (Ray *r, Intersection *inter, Cylindre *cylindre, vec3 &impact) |
| Try to compute the intersection of the ray and the ridge. More... | |
| bool | 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 | 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 | 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 | 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... | |
This namespace contains all the functions needed for a ray validation.
| 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
Definition at line 85 of file ValidRay.cpp.


| bool ValidRay::computeRealImpact | ( | Ray * | r, |
| Intersection * | inter, | ||
| Cylindre * | cylindre, | ||
| vec3 & | impact | ||
| ) |
Try to compute the intersection of the ray and the ridge.
Definition at line 139 of file ValidRay.cpp.


| 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.
Definition at line 168 of file ValidRay.cpp.


| 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.
Definition at line 121 of file ValidRay.cpp.


| 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.
Definition at line 100 of file ValidRay.cpp.


| bool ValidRay::validCylindreWithDiffraction | ( | Ray * | r, |
| Intersection * | inter | ||
| ) |
Definition at line 184 of file ValidRay.cpp.


| bool ValidRay::validRayWithDoNothingEvent | ( | Ray * | r, |
| Intersection * | inter | ||
| ) |
Definition at line 24 of file ValidRay.cpp.


| bool ValidRay::validTriangleWithSpecularReflexion | ( | Ray * | r, |
| Intersection * | inter | ||
| ) |
Definition at line 46 of file ValidRay.cpp.

