Code_TYMPAN  4.4.0
Industrial site acoustic simulation
Namespaces | Functions
LeafTreatment.cpp File Reference
#include "LeafTreatment.h"
#include "Geometry/Triangle.h"
Include dependency graph for LeafTreatment.cpp:

Go to the source code of this file.

Namespaces

 leafTreatment
 Leaf treatment.
 

Functions

decimal leafTreatment::keepFunction (treatment choice, std::list< Intersection > &currentIntersections, decimal currentTmin)
 
decimal leafTreatment::keepFirst (std::list< Intersection > &currentIntersections, decimal currentTmin)
 Keep only the first intersection encountered before reaching currentTmin and return its corresponding tmin. More...
 
decimal leafTreatment::keepAllBeforeTriangle (std::list< Intersection > &currentIntersections, decimal currentTmin)
 Keep all intersections encountered before intersecting a visible shape and before reaching currentTmin, and return the tmin of the intersection with the triangle (only the cylinders used for diffraction edge are considered invisible) More...
 
decimal leafTreatment::keepAllBeforeVisible (std::list< Intersection > &currentIntersections, decimal currentTmin)
 Keep all intersections encountered before intersecting a triangle and before reaching currentTmin, and return the tmin of the intersection with the triangle. More...
 
decimal leafTreatment::keepAll (std::list< Intersection > &currentIntersections, decimal currentTmin)
 Keep all intersections before reaching currentTmin and return the tmin of the first one encountered. More...