Code_TYMPAN  4.4.0
Industrial site acoustic simulation
Public Member Functions | Private Member Functions | List of all members
TYFaceSelector Class Reference

Building class of the faces list. More...

#include <TYFaceSelector.h>

Inheritance diagram for TYFaceSelector:
Inheritance graph
[legend]
Collaboration diagram for TYFaceSelector:
Collaboration graph
[legend]

Public Member Functions

 TYFaceSelector ()
 
virtual ~TYFaceSelector ()
 
virtual void selectFaces (std::deque< TYSIntersection > &tabIntersect, const std::vector< TYStructSurfIntersect > &tabPolygon, const OSegment3D &rayon, const string &sourceVolumeId)
 Build the array of intersections. More...
 
- Public Member Functions inherited from TYFaceSelectorInterface
 TYFaceSelectorInterface ()
 Constructor. More...
 
virtual ~TYFaceSelectorInterface ()
 Destructor. More...
 

Private Member Functions

bool buildPlans (TYSPlan *plan, const OSegment3D &rayon)
 
bool CalculSegmentCoupe (const TYStructSurfIntersect &FaceCourante, TYSIntersection &Intersect, OPoint3D &pt1, OPoint3D &pt2, OPoint3D &pt3, const int &indice) const
 
void reorder_intersect (std::deque< TYSIntersection > &tabIntersect)
 put infrastructure faces on top More...
 

Detailed Description

Building class of the faces list.

Definition at line 27 of file TYFaceSelector.h.

Constructor & Destructor Documentation

◆ TYFaceSelector()

TYFaceSelector::TYFaceSelector ( )

Definition at line 25 of file TYFaceSelector.cpp.

◆ ~TYFaceSelector()

TYFaceSelector::~TYFaceSelector ( )
virtual

Definition at line 27 of file TYFaceSelector.cpp.

Member Function Documentation

◆ buildPlans()

bool TYFaceSelector::buildPlans ( TYSPlan plan,
const OSegment3D rayon 
)
private

Definition at line 99 of file TYFaceSelector.cpp.

Here is the caller graph for this function:

◆ CalculSegmentCoupe()

bool TYFaceSelector::CalculSegmentCoupe ( const TYStructSurfIntersect FaceCourante,
TYSIntersection Intersect,
OPoint3D pt1,
OPoint3D pt2,
OPoint3D pt3,
const int &  indice 
) const
private

Definition at line 159 of file TYFaceSelector.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ reorder_intersect()

void TYFaceSelector::reorder_intersect ( std::deque< TYSIntersection > &  tabIntersect)
private

put infrastructure faces on top

Definition at line 71 of file TYFaceSelector.cpp.

Here is the caller graph for this function:

◆ selectFaces()

void TYFaceSelector::selectFaces ( std::deque< TYSIntersection > &  tabIntersect,
const std::vector< TYStructSurfIntersect > &  tabPolygon,
const OSegment3D rayon,
const string &  sourceVolumeId 
)
virtual

Build the array of intersections.

Parameters
tabIntersectArray of intersections
tabPolygonArray of triangles of the acoustic problem
rayonRay path
sourceVolumeIdvolume_id of source when first ray point is a source

Definition at line 29 of file TYFaceSelector.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following files: