|
Code_TYMPAN
4.4.0
Industrial site acoustic simulation
|
Class to build a geometric path used by the TYCalculParcours class. More...
#include <TYSetGeometriqueParcours.h>

Public Member Functions | |
| TYSetGeometriqueParcours () | |
| Constructor. More... | |
| ~TYSetGeometriqueParcours () | |
| Destructor. More... | |
| void | Copy (TYSetGeometriqueParcours &geoIn) |
| Copy operator. More... | |
| void | AllouerPolylignes (int nNbPolylineAllouee) |
| Allocation of the polylines list. More... | |
| bool | PolylignesInfraFermees () |
| Return true if all polylines from infrastructure are closed. More... | |
| int | MergePointsDoubles () |
| Detect and fix double points. More... | |
| int | SupressionPolylignesRedondantes () |
| Suppress useless polylines. More... | |
| void | SeparationDroiteGauche (bool *PointsAGauche, bool *PointsADroite, TYSetGeometriqueParcours &geoGauche, TYSetGeometriqueParcours &geoDroite, int compteurIter=0) |
| Separate left and right polylines with two geometric paths. More... | |
| bool | polyligneContientSouR (int i) |
| Returns true if polyligne of index i contains Source or Receptor. More... | |
| void | MarquePointsADroiteEtAGauche (TYPointParcours &Srce, TYPointParcours &Dest, bool *&PointsAGauche, bool *&PointsADroite) |
| Mark points on the left and on the right of the current geometric path. More... | |
| void | RamenerPointsTraversantLaFrontiere (TYPointParcours &Srce, TYPointParcours &Dest, int *IndexePointsFrontiere, int &NbPointsFrontiere, std::vector< bool > &pEstUnPointIntersectant, bool bCoteGauche, bool *PointsAGauche, bool *PointsADroite) |
| To be commented. More... | |
| bool | ListerPointsConnexes (Connexite *&Connexes, std::vector< bool > &pEstUnPointIntersectant) |
| Fill for each point the connectivity with segments. More... | |
| bool | PremierePasse (TYPointParcours &Srce, TYPointParcours &Dest, int *IndexePointsFrontiere, int NbPointsFrontiere, std::vector< bool > &pEstUnPointIntersectant, Connexite *Connexes, TYSetGeometriqueParcours &geoPremierePasse, int compteurIter=0) |
| First pass to build a path along all the intersecting polylines. More... | |
| bool | SecondePasse (TYSetGeometriqueParcours &geoPremierePasse, TYSetGeometriqueParcours &geoSecondePasse, bool bTrajetsAGaucheDeSR, TYPointParcours **&pTableauEC, int &nbPtsEC, int compteurIter=0, bool bIsLastSecondePasse=false) |
| Second pass. More... | |
| void | TriePointsIntersectionSuivantSR (TYPointParcours &Srce, TYPointParcours &Dest, int *IndexePointsFrontiere, int NbPointsFrontiere) |
| To be commented. More... | |
| bool | AjoutePointALaPolyLigne (int indexPolyligne, TYPointParcours &P) |
| Add a point P to the polyline indexPolyligne. More... | |
| int | AjouteLesPointsComprisEntre (TYSetGeometriqueParcours &geoPolySource, int nIndexePoly, int nIndexeNbPremierPointAAjouter, int nIndexeDernierPointAAjouter) |
| Add some points of the nIndexePoly polyline from the geoPolySource geometric path. More... | |
| int | ParcourtPolyligneAPartirDe (int IndexPointRacine, TYPolyligneParcours *&PolyligneRacine, std::vector< bool > &pEstUnPointIntersectant, TYSetGeometriqueParcours &geoPremierePasse) |
| To be commented. More... | |
| bool | intersects (TYPointParcours &P1, TYPointParcours &P2) |
| Check if [P1P2] segment can intersect the geometric path. More... | |
| bool | intersects (TYSetGeometriqueParcours &geoPasse) |
| Tests if the intersecting segments held in this geo parcours, intersect the geo passe in argument, in order to improve convex hull computation. The geo passe must have only one TYPolylineParcours, as it is computed by SecondePasse method. More... | |
| bool | coincideWith (TYSetGeometriqueParcours &otherGeoPasse) |
| Tests if the first polyline of this geo parcours coincide with the geo passe in argument, in order to exit loop during convex hull computation. The geo passe must have only one TYPolylineParcours. More... | |
| int | SelectionnePointsEntreSetRetDuCoteDeSR (TYSetGeometriqueParcours *geoSR, TYPointParcours **TableauDePoints, int nNbPoints) |
| Select points from the current geometric path which are between source and receptor of the geoSR geometric path. More... | |
| void | CreerTrajetAPartirDuneListeDePointsTriee (TYPointParcours **TableauDePoints, int nNbPoints, bool bSens, bool bGardeIdentifiant) |
| Create paths from a sorted points list (Used only for vertical paths) More... | |
| bool | AppartienneMemePolyligne (TYPointParcours *a, TYPointParcours *b, TYPointParcours *c) |
| Check if the points a, b, c belong to the same polyline. More... | |
| bool | extendListePoint (int nNouvelleTaille) |
| Extends the attribute array _ListePoint. More... | |
| void | Clean () |
| Delete polylines list and points list. More... | |
| void | Init () |
| Initialize data. More... | |
| TYSetGeometriqueParcours () | |
| Constructor. More... | |
| ~TYSetGeometriqueParcours () | |
| Destructor. More... | |
| void | Copy (TYSetGeometriqueParcours &geoIn) |
| Copy operator. More... | |
| void | AllouerPolylignes (int nNbPolylineAllouee) |
| Allocation of the polylines list. More... | |
| bool | PolylignesInfraFermees () |
| Return true if all polylines from infrastructure are closed. More... | |
| int | MergePointsDoubles () |
| Detect and fix double points. More... | |
| int | SupressionPolylignesRedondantes () |
| Suppress useless polylines. More... | |
| void | SeparationDroiteGauche (bool *PointsAGauche, bool *PointsADroite, TYSetGeometriqueParcours &geoGauche, TYSetGeometriqueParcours &geoDroite) |
| Separate left and right polylines with two geometric paths. More... | |
| bool | polyligneContientSouR (int i) |
| Returns true if polyligne of index i contains Source or Receptor. More... | |
| void | MarquePointsADroiteEtAGauche (TYPointParcours &Srce, TYPointParcours &Dest, bool *&PointsAGauche, bool *&PointsADroite) |
| Mark points on the left and on the right of the current geometric path. More... | |
| void | RamenerPointsTraversantLaFrontiere (TYPointParcours &Srce, TYPointParcours &Dest, int *IndexePointsFrontiere, int &NbPointsFrontiere, std::vector< bool > &pEstUnPointIntersectant, bool bCoteGauche, bool *PointsAGauche, bool *PointsADroite) |
| To be commented. More... | |
| bool | ListerPointsConnexes (Connexite *&Connexes, std::vector< bool > &pEstUnPointIntersectant) |
| Fill for each point the connectivity with segments. More... | |
| bool | PremierePasse (TYPointParcours &Srce, TYPointParcours &Dest, int *IndexePointsFrontiere, int NbPointsFrontiere, std::vector< bool > &pEstUnPointIntersectant, Connexite *Connexes, TYSetGeometriqueParcours &geoPremierePasse) |
| First pass to build a path along all the intersecting polylines. More... | |
| bool | SecondePasse (TYSetGeometriqueParcours &geoPremierePasse, TYSetGeometriqueParcours &geoSecondePasse, bool bTrajetsAGaucheDeSR, TYPointParcours **&pTableauEC, int &nbPtsEC) |
| Second pass. More... | |
| void | TriePointsIntersectionSuivantSR (TYPointParcours &Srce, TYPointParcours &Dest, int *IndexePointsFrontiere, int NbPointsFrontiere) |
| To be commented. More... | |
| bool | AjoutePointALaPolyLigne (int indexPolyligne, TYPointParcours &P) |
| Add a point P to the polyline indexPolyligne. More... | |
| int | AjouteLesPointsComprisEntre (TYSetGeometriqueParcours &geoPolySource, int nIndexePoly, int nIndexeNbPremierPointAAjouter, int nIndexeDernierPointAAjouter) |
| Add some points of the nIndexePoly polyline from the geoPolySource geometric path. More... | |
| int | ParcourtPolyligneAPartirDe (int IndexPointRacine, TYPolyligneParcours *&PolyligneRacine, std::vector< bool > &pEstUnPointIntersectant, TYSetGeometriqueParcours &geoPremierePasse) |
| To be commented. More... | |
| bool | intersects (TYPointParcours &P1, TYPointParcours &P2) |
| Check if [P1P2] segment can intersect the geometric path. More... | |
| int | SelectionnePointsEntreSetRetDuCoteDeSR (TYSetGeometriqueParcours *geoSR, TYPointParcours **TableauDePoints, int nNbPoints) |
| Select points from the current geometric path which are between source and receptor of the geoSR geometric path. More... | |
| void | CreerTrajetAPartirDuneListeDePointsTriee (TYPointParcours **TableauDePoints, int nNbPoints, bool bSens, bool bGardeIdentifiant) |
| Create paths from a sorted points list (Used only for vertical paths) More... | |
| bool | AppartienneMemePolyligne (TYPointParcours *a, TYPointParcours *b, TYPointParcours *c) |
| Check if the points a, b, c belong to the same polyline. More... | |
Static Public Member Functions | |
| static int | EnveloppeConvexeLes2PremiersPointsEtant (TYPointParcours **TableauDePoints, int nNbPoints, TYPointParcours **TableauDePointsECOut, bool bPremiersPointsLesPlusHauts) |
| Compute the convex hull (arrays should be allocated before the call) More... | |
| static int | EnveloppeConvexeLes2PremiersPointsEtant (TYPointParcours **TableauDePoints, int nNbPoints, TYPointParcours **TableauDePointsECOut, bool bPremiersPointsLesPlusHauts) |
| Compute the convex hull (arrays should be allocated before the call) More... | |
Public Attributes | |
| TYPolyligneParcours * | _ListePolylines |
| Geometric path as a polylines. More... | |
| TYPointParcours * | _ListePoint |
| List of points on the path. More... | |
| int | _nNbPolylines |
| Polylines number. More... | |
| int | _nNbPolylineAllouee |
| Allocated polylines. More... | |
| int | _nNbPointTotal |
| Total number of points. More... | |
Static Public Attributes | |
| static TYPointParcours * | _ListePointQSort = NULL |
| static access to the C function of quicksort More... | |
| static TYPointParcours * | _SrceQSort = NULL |
| static access to the C function of quicksort More... | |
| static TYPointParcours * | _DestQSort = NULL |
| static access to the C function of quicksort More... | |
| static QMutex | _mutex |
Private Member Functions | |
| void | SwapPolyligne (int i, int j) |
| Swap polylines i and j. More... | |
| void | SwapPolyligne (int i, int j) |
| Swap polylines i and j. More... | |
| void | Clean () |
| Delete polylines list and points list. More... | |
| void | Init () |
| Initialize data. More... | |
Static Private Member Functions | |
| static void | InverseOrdreDesPoints (TYPointParcours **ListeDePointsAInverser, int nNbPointsDeLaListe) |
| Invert a list of points. More... | |
| static void | InverseOrdreDesPoints (TYPointParcours **ListeDePointsAInverser, int nNbPointsDeLaListe) |
| Invert a list of points. More... | |
Class to build a geometric path used by the TYCalculParcours class.
Definition at line 56 of file TYSetGeometriqueParcours.h.
|
inline |
Constructor.
Definition at line 70 of file TYSetGeometriqueParcours.h.

|
inline |
Destructor.
Definition at line 75 of file TYSetGeometriqueParcours.h.

|
inline |
Constructor.
Definition at line 70 of file TYSetGeometriqueParcours.h.

|
inline |
Destructor.
Definition at line 75 of file TYSetGeometriqueParcours.h.

| int TYSetGeometriqueParcours::AjouteLesPointsComprisEntre | ( | TYSetGeometriqueParcours & | geoPolySource, |
| int | nIndexePoly, | ||
| int | nIndexeNbPremierPointAAjouter, | ||
| int | nIndexeDernierPointAAjouter | ||
| ) |
Add some points of the nIndexePoly polyline from the geoPolySource geometric path.
Definition at line 992 of file TYSetGeometriqueParcours.cpp.


| int TYSetGeometriqueParcours::AjouteLesPointsComprisEntre | ( | TYSetGeometriqueParcours & | geoPolySource, |
| int | nIndexePoly, | ||
| int | nIndexeNbPremierPointAAjouter, | ||
| int | nIndexeDernierPointAAjouter | ||
| ) |
Add some points of the nIndexePoly polyline from the geoPolySource geometric path.
| bool TYSetGeometriqueParcours::AjoutePointALaPolyLigne | ( | int | indexPolyligne, |
| TYPointParcours & | P | ||
| ) |
Add a point P to the polyline indexPolyligne.
Definition at line 486 of file TYSetGeometriqueParcours.cpp.


| bool TYSetGeometriqueParcours::AjoutePointALaPolyLigne | ( | int | indexPolyligne, |
| TYPointParcours & | P | ||
| ) |
Add a point P to the polyline indexPolyligne.
|
inline |
Allocation of the polylines list.
Definition at line 83 of file TYSetGeometriqueParcours.h.

|
inline |
Allocation of the polylines list.
Definition at line 83 of file TYSetGeometriqueParcours.h.
| bool TYSetGeometriqueParcours::AppartienneMemePolyligne | ( | TYPointParcours * | a, |
| TYPointParcours * | b, | ||
| TYPointParcours * | c | ||
| ) |
Check if the points a, b, c belong to the same polyline.
Definition at line 1364 of file TYSetGeometriqueParcours.cpp.


| bool TYSetGeometriqueParcours::AppartienneMemePolyligne | ( | TYPointParcours * | a, |
| TYPointParcours * | b, | ||
| TYPointParcours * | c | ||
| ) |
Check if the points a, b, c belong to the same polyline.
|
inline |
Delete polylines list and points list.
Definition at line 245 of file TYSetGeometriqueParcours.h.

|
inlineprivate |
Delete polylines list and points list.
Definition at line 220 of file TYSetGeometriqueParcours.h.
| bool TYSetGeometriqueParcours::coincideWith | ( | TYSetGeometriqueParcours & | otherGeoPasse | ) |
Tests if the first polyline of this geo parcours coincide with the geo passe in argument, in order to exit loop during convex hull computation. The geo passe must have only one TYPolylineParcours.
| geoPasse | the geo passe which must be tested |
Definition at line 1068 of file TYSetGeometriqueParcours.cpp.


| void TYSetGeometriqueParcours::Copy | ( | TYSetGeometriqueParcours & | geoIn | ) |
Copy operator.
Definition at line 57 of file TYSetGeometriqueParcours.cpp.


| void TYSetGeometriqueParcours::Copy | ( | TYSetGeometriqueParcours & | geoIn | ) |
Copy operator.
| void TYSetGeometriqueParcours::CreerTrajetAPartirDuneListeDePointsTriee | ( | TYPointParcours ** | TableauDePoints, |
| int | nNbPoints, | ||
| bool | bSens, | ||
| bool | bGardeIdentifiant | ||
| ) |
Create paths from a sorted points list (Used only for vertical paths)
Definition at line 1308 of file TYSetGeometriqueParcours.cpp.


| void TYSetGeometriqueParcours::CreerTrajetAPartirDuneListeDePointsTriee | ( | TYPointParcours ** | TableauDePoints, |
| int | nNbPoints, | ||
| bool | bSens, | ||
| bool | bGardeIdentifiant | ||
| ) |
Create paths from a sorted points list (Used only for vertical paths)
|
static |
Compute the convex hull (arrays should be allocated before the call)
| TableauDePoints | [in] Points array (first points are the lower ones) |
| nNbPoints | [in] Size of previous array |
| TableauDePointsECOut | [out] Points array of the convex hull |
| bPremiersPointsLesPlusHauts | [in] True if the first points are the higher ones |
Definition at line 1103 of file TYSetGeometriqueParcours.cpp.


|
static |
Compute the convex hull (arrays should be allocated before the call)
| TableauDePoints | [in] Points array (first points are the lower ones) |
| nNbPoints | [in] Size of previous array |
| TableauDePointsECOut | [out] Points array of the convex hull |
| bPremiersPointsLesPlusHauts | [in] True if the first points are the higher ones |
| bool TYSetGeometriqueParcours::extendListePoint | ( | int | nNouvelleTaille | ) |
Extends the attribute array _ListePoint.
| nNouvelleTaille | New size of the array |
Definition at line 1448 of file TYSetGeometriqueParcours.cpp.

|
inline |
Initialize data.
Definition at line 257 of file TYSetGeometriqueParcours.h.

|
inlineprivate |
Initialize data.
Definition at line 232 of file TYSetGeometriqueParcours.h.
| bool TYSetGeometriqueParcours::intersects | ( | TYPointParcours & | P1, |
| TYPointParcours & | P2 | ||
| ) |
Check if [P1P2] segment can intersect the geometric path.
| P1 | First point |
| P2 | Second point |
Definition at line 1020 of file TYSetGeometriqueParcours.cpp.


| bool TYSetGeometriqueParcours::intersects | ( | TYPointParcours & | P1, |
| TYPointParcours & | P2 | ||
| ) |
Check if [P1P2] segment can intersect the geometric path.
| P1 | First point |
| P2 | Second point |
| bool TYSetGeometriqueParcours::intersects | ( | TYSetGeometriqueParcours & | geoPasse | ) |
Tests if the intersecting segments held in this geo parcours, intersect the geo passe in argument, in order to improve convex hull computation. The geo passe must have only one TYPolylineParcours, as it is computed by SecondePasse method.
| geoPasse | the geo passe which must be tested |
Definition at line 1053 of file TYSetGeometriqueParcours.cpp.

|
staticprivate |
Invert a list of points.
| ListeDePointsAInverser | [In] The list of points to be inverted [out] The inverted list |
| nNbPointsDeLaListe | Points number in the list |
Definition at line 981 of file TYSetGeometriqueParcours.cpp.

|
staticprivate |
Invert a list of points.
| ListeDePointsAInverser | [In] The list of points to be inverted [out] The inverted list |
| nNbPointsDeLaListe | Points number in the list |
| bool TYSetGeometriqueParcours::ListerPointsConnexes | ( | Connexite *& | Connexes, |
| std::vector< bool > & | pEstUnPointIntersectant | ||
| ) |
Fill for each point the connectivity with segments.
| Connexes | Array of connectivity |
| pEstUnPointIntersectant | True if it is an intersecting point |
Definition at line 539 of file TYSetGeometriqueParcours.cpp.


| bool TYSetGeometriqueParcours::ListerPointsConnexes | ( | Connexite *& | Connexes, |
| std::vector< bool > & | pEstUnPointIntersectant | ||
| ) |
Fill for each point the connectivity with segments.
| Connexes | Array of connectivity |
| pEstUnPointIntersectant | True if it is an intersecting point |
| void TYSetGeometriqueParcours::MarquePointsADroiteEtAGauche | ( | TYPointParcours & | Srce, |
| TYPointParcours & | Dest, | ||
| bool *& | PointsAGauche, | ||
| bool *& | PointsADroite | ||
| ) |
Mark points on the left and on the right of the current geometric path.
| [in] | Srce | Source point |
| [in] | Dest | Receptor point |
| [out] | PointsAGauche | Boolean array marking the points on the left |
| [out] | PointsADroite | Boolean array marking the points on the right |
Definition at line 277 of file TYSetGeometriqueParcours.cpp.


| void TYSetGeometriqueParcours::MarquePointsADroiteEtAGauche | ( | TYPointParcours & | Srce, |
| TYPointParcours & | Dest, | ||
| bool *& | PointsAGauche, | ||
| bool *& | PointsADroite | ||
| ) |
Mark points on the left and on the right of the current geometric path.
| [in] | Srce | Source point |
| [in] | Dest | Receptor point |
| [out] | PointsAGauche | Boolean array marking the points on the left |
| [out] | PointsADroite | Boolean array marking the points on the right |
| int TYSetGeometriqueParcours::MergePointsDoubles | ( | ) |
Detect and fix double points.
Definition at line 163 of file TYSetGeometriqueParcours.cpp.

| int TYSetGeometriqueParcours::MergePointsDoubles | ( | ) |
Detect and fix double points.
| int TYSetGeometriqueParcours::ParcourtPolyligneAPartirDe | ( | int | IndexPointRacine, |
| TYPolyligneParcours *& | PolyligneRacine, | ||
| std::vector< bool > & | pEstUnPointIntersectant, | ||
| TYSetGeometriqueParcours & | geoPremierePasse | ||
| ) |
To be commented.
Definition at line 498 of file TYSetGeometriqueParcours.cpp.


| int TYSetGeometriqueParcours::ParcourtPolyligneAPartirDe | ( | int | IndexPointRacine, |
| TYPolyligneParcours *& | PolyligneRacine, | ||
| std::vector< bool > & | pEstUnPointIntersectant, | ||
| TYSetGeometriqueParcours & | geoPremierePasse | ||
| ) |
To be commented.
| bool TYSetGeometriqueParcours::polyligneContientSouR | ( | int | i | ) |
Returns true if polyligne of index i contains Source or Receptor.
Definition at line 403 of file TYSetGeometriqueParcours.cpp.


| bool TYSetGeometriqueParcours::polyligneContientSouR | ( | int | i | ) |
Returns true if polyligne of index i contains Source or Receptor.
| bool TYSetGeometriqueParcours::PolylignesInfraFermees | ( | ) |
Return true if all polylines from infrastructure are closed.
Definition at line 523 of file TYSetGeometriqueParcours.cpp.
| bool TYSetGeometriqueParcours::PolylignesInfraFermees | ( | ) |
Return true if all polylines from infrastructure are closed.
| bool TYSetGeometriqueParcours::PremierePasse | ( | TYPointParcours & | Srce, |
| TYPointParcours & | Dest, | ||
| int * | IndexePointsFrontiere, | ||
| int | NbPointsFrontiere, | ||
| std::vector< bool > & | pEstUnPointIntersectant, | ||
| Connexite * | Connexes, | ||
| TYSetGeometriqueParcours & | geoPremierePasse | ||
| ) |
First pass to build a path along all the intersecting polylines.
| Srce | Source |
| Dest | Receptor |
| IndexePointsFrontiere | Array of boundary point indices |
| NbPointsFrontiere | Boundary points number |
| pEstUnPointIntersectant | True if it is a intersecting point |
| Connexes | Connectivity points array |
| geoPremierePasse | First geometric path |
Definition at line 667 of file TYSetGeometriqueParcours.cpp.

| bool TYSetGeometriqueParcours::PremierePasse | ( | TYPointParcours & | Srce, |
| TYPointParcours & | Dest, | ||
| int * | IndexePointsFrontiere, | ||
| int | NbPointsFrontiere, | ||
| std::vector< bool > & | pEstUnPointIntersectant, | ||
| Connexite * | Connexes, | ||
| TYSetGeometriqueParcours & | geoPremierePasse, | ||
| int | compteurIter = 0 |
||
| ) |
First pass to build a path along all the intersecting polylines.
| Srce | Source |
| Dest | Receptor |
| IndexePointsFrontiere | Array of boundary point indices |
| NbPointsFrontiere | Boundary points number |
| pEstUnPointIntersectant | True if it is a intersecting point |
| Connexes | Connectivity points array |
| geoPremierePasse | First geometric path |
Definition at line 665 of file TYSetGeometriqueParcours.cpp.


| void TYSetGeometriqueParcours::RamenerPointsTraversantLaFrontiere | ( | TYPointParcours & | Srce, |
| TYPointParcours & | Dest, | ||
| int * | IndexePointsFrontiere, | ||
| int & | NbPointsFrontiere, | ||
| std::vector< bool > & | pEstUnPointIntersectant, | ||
| bool | bCoteGauche, | ||
| bool * | PointsAGauche, | ||
| bool * | PointsADroite | ||
| ) |
To be commented.
Definition at line 200 of file TYSetGeometriqueParcours.cpp.


| void TYSetGeometriqueParcours::RamenerPointsTraversantLaFrontiere | ( | TYPointParcours & | Srce, |
| TYPointParcours & | Dest, | ||
| int * | IndexePointsFrontiere, | ||
| int & | NbPointsFrontiere, | ||
| std::vector< bool > & | pEstUnPointIntersectant, | ||
| bool | bCoteGauche, | ||
| bool * | PointsAGauche, | ||
| bool * | PointsADroite | ||
| ) |
To be commented.
| bool TYSetGeometriqueParcours::SecondePasse | ( | TYSetGeometriqueParcours & | geoPremierePasse, |
| TYSetGeometriqueParcours & | geoSecondePasse, | ||
| bool | bTrajetsAGaucheDeSR, | ||
| TYPointParcours **& | pTableauEC, | ||
| int & | nbPtsEC | ||
| ) |
Second pass.
| geoPremierePasse | First geometric path |
| geoSecondePasse | Second geometric path |
| bTrajetsAGaucheDeSR | Flag to define paths at the left of source-receptor direction |
| pTableauEC | Array of points for the convex hull |
| nbPtsEC | Points number of the convex hull |
Definition at line 757 of file TYSetGeometriqueParcours.cpp.

| bool TYSetGeometriqueParcours::SecondePasse | ( | TYSetGeometriqueParcours & | geoPremierePasse, |
| TYSetGeometriqueParcours & | geoSecondePasse, | ||
| bool | bTrajetsAGaucheDeSR, | ||
| TYPointParcours **& | pTableauEC, | ||
| int & | nbPtsEC, | ||
| int | compteurIter = 0, |
||
| bool | bIsLastSecondePasse = false |
||
| ) |
Second pass.
| geoPremierePasse | First geometric path |
| geoSecondePasse | Second geometric path |
| bTrajetsAGaucheDeSR | Flag to define paths at the left of source-receptor direction |
| pTableauEC | Array of points for the convex hull |
| nbPtsEC | Points number of the convex hull |
Definition at line 759 of file TYSetGeometriqueParcours.cpp.


| int TYSetGeometriqueParcours::SelectionnePointsEntreSetRetDuCoteDeSR | ( | TYSetGeometriqueParcours * | geoSR, |
| TYPointParcours ** | TableauDePoints, | ||
| int | nNbPoints | ||
| ) |
Select points from the current geometric path which are between source and receptor of the geoSR geometric path.
| geoSR | Geometric path from which the selection happens |
| TableauDePoints | Array of selected points (will contain the source and receptor points of geoSR) |
| nNbPoints | Points number |
Definition at line 1208 of file TYSetGeometriqueParcours.cpp.


| int TYSetGeometriqueParcours::SelectionnePointsEntreSetRetDuCoteDeSR | ( | TYSetGeometriqueParcours * | geoSR, |
| TYPointParcours ** | TableauDePoints, | ||
| int | nNbPoints | ||
| ) |
Select points from the current geometric path which are between source and receptor of the geoSR geometric path.
| geoSR | Geometric path from which the selection happens |
| TableauDePoints | Array of selected points (will contain the source and receptor points of geoSR) |
| nNbPoints | Points number |
| void TYSetGeometriqueParcours::SeparationDroiteGauche | ( | bool * | PointsAGauche, |
| bool * | PointsADroite, | ||
| TYSetGeometriqueParcours & | geoGauche, | ||
| TYSetGeometriqueParcours & | geoDroite | ||
| ) |
Separate left and right polylines with two geometric paths.
| [in] | PointsAGauche | Boolean array marking the points on the left |
| [in] | PointsADroite | Boolean array marking the points on the right |
| [out] | geoGauche | Geometric path on the left |
| [out] | geoDroite | Geometric path on the right |
Definition at line 312 of file TYSetGeometriqueParcours.cpp.

| void TYSetGeometriqueParcours::SeparationDroiteGauche | ( | bool * | PointsAGauche, |
| bool * | PointsADroite, | ||
| TYSetGeometriqueParcours & | geoGauche, | ||
| TYSetGeometriqueParcours & | geoDroite, | ||
| int | compteurIter = 0 |
||
| ) |
Separate left and right polylines with two geometric paths.
| [in] | PointsAGauche | Boolean array marking the points on the left |
| [in] | PointsADroite | Boolean array marking the points on the right |
| [out] | geoGauche | Geometric path on the left |
| [out] | geoDroite | Geometric path on the right |
Definition at line 310 of file TYSetGeometriqueParcours.cpp.


| int TYSetGeometriqueParcours::SupressionPolylignesRedondantes | ( | ) |
Suppress useless polylines.
Definition at line 89 of file TYSetGeometriqueParcours.cpp.


| int TYSetGeometriqueParcours::SupressionPolylignesRedondantes | ( | ) |
Suppress useless polylines.
|
private |
Swap polylines i and j.
Definition at line 81 of file TYSetGeometriqueParcours.cpp.
|
private |
Swap polylines i and j.
| void TYSetGeometriqueParcours::TriePointsIntersectionSuivantSR | ( | TYPointParcours & | Srce, |
| TYPointParcours & | Dest, | ||
| int * | IndexePointsFrontiere, | ||
| int | NbPointsFrontiere | ||
| ) |
To be commented.
Definition at line 445 of file TYSetGeometriqueParcours.cpp.


| void TYSetGeometriqueParcours::TriePointsIntersectionSuivantSR | ( | TYPointParcours & | Srce, |
| TYPointParcours & | Dest, | ||
| int * | IndexePointsFrontiere, | ||
| int | NbPointsFrontiere | ||
| ) |
To be commented.
|
static |
static access to the C function of quicksort
Definition at line 67 of file TYSetGeometriqueParcours.h.
| TYPointParcours * TYSetGeometriqueParcours::_ListePoint |
List of points on the path.
Definition at line 60 of file TYSetGeometriqueParcours.h.
|
static |
static access to the C function of quicksort
Definition at line 65 of file TYSetGeometriqueParcours.h.
| TYPolyligneParcours * TYSetGeometriqueParcours::_ListePolylines |
Geometric path as a polylines.
Definition at line 59 of file TYSetGeometriqueParcours.h.
|
static |
mutex used to serialize TriePointsIntersectionSuivantSR method
Definition at line 68 of file TYSetGeometriqueParcours.h.
| int TYSetGeometriqueParcours::_nNbPointTotal |
Total number of points.
Definition at line 63 of file TYSetGeometriqueParcours.h.
| int TYSetGeometriqueParcours::_nNbPolylineAllouee |
Allocated polylines.
Definition at line 62 of file TYSetGeometriqueParcours.h.
| int TYSetGeometriqueParcours::_nNbPolylines |
Polylines number.
Definition at line 61 of file TYSetGeometriqueParcours.h.
|
static |
static access to the C function of quicksort
Definition at line 66 of file TYSetGeometriqueParcours.h.