Code_TYMPAN
4.2.0
Industrial site acoustic simulation
|
Leaf treatment. More...
Enumerations | |
enum | treatment { FIRST = 0, ALL_BEFORE_TRIANGLE, ALL_BEFORE_VISIBLE, ALL } |
Functions | |
decimal | keepFunction (treatment choice, std::list< Intersection > ¤tIntersections, decimal currentTmin) |
decimal | keepFirst (std::list< Intersection > ¤tIntersections, decimal currentTmin) |
Keep only the first intersection encountered before reaching currentTmin and return its corresponding tmin. More... | |
decimal | keepAllBeforeTriangle (std::list< Intersection > ¤tIntersections, 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 | keepAllBeforeVisible (std::list< Intersection > ¤tIntersections, 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 | keepAll (std::list< Intersection > ¤tIntersections, decimal currentTmin) |
Keep all intersections before reaching currentTmin and return the tmin of the first one encountered. More... | |
Leaf treatment.
Enumerator | |
---|---|
FIRST | FIRST. |
ALL_BEFORE_TRIANGLE | ALL_BEFORE_TRIANGLE. |
ALL_BEFORE_VISIBLE | ALL_BEFORE_VISIBLE. |
ALL | ALL. |
Definition at line 29 of file LeafTreatment.h.
decimal leafTreatment::keepAll | ( | std::list< Intersection > & | currentIntersections, |
decimal | currentTmin | ||
) |
Keep all intersections before reaching currentTmin and return the tmin of the first one encountered.
Definition at line 140 of file LeafTreatment.cpp.
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)
Definition at line 79 of file LeafTreatment.cpp.
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.
Definition at line 110 of file LeafTreatment.cpp.
decimal leafTreatment::keepFirst | ( | std::list< Intersection > & | currentIntersections, |
decimal | currentTmin | ||
) |
Keep only the first intersection encountered before reaching currentTmin and return its corresponding tmin.
Definition at line 45 of file LeafTreatment.cpp.
decimal leafTreatment::keepFunction | ( | treatment | choice, |
std::list< Intersection > & | currentIntersections, | ||
decimal | currentTmin | ||
) |
Definition at line 22 of file LeafTreatment.cpp.