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

Go to the source code of this file.

Namespaces

 leafTreatment
 Leaf treatment.
 

Enumerations

enum  leafTreatment::treatment { leafTreatment::FIRST = 0 , leafTreatment::ALL_BEFORE_TRIANGLE , leafTreatment::ALL_BEFORE_VISIBLE , leafTreatment::ALL }
 

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...