|
Code_TYMPAN
4.4.0
Industrial site acoustic simulation
|
Triangulate a contour/polygon. More...
#include <Triangulate.h>
Static Public Member Functions | |
| static bool | Process (const Vector2dVector &contour, Vector2dVector &result) |
| Triangulate a contour/polygon, places results in STL vector as series of triangles. More... | |
| static float | Area (const Vector2dVector &contour) |
| Compute and return area of a contour/polygon. More... | |
| static bool | InsideTriangle (float Ax, float Ay, float Bx, float By, float Cx, float Cy, float Px, float Py) |
| Decide if the point (Px,Py) is inside a triangle defined by three points (Ax,Ay) (Bx,By) (Cx,Cy) More... | |
Static Private Member Functions | |
| static bool | Snip (const Vector2dVector &contour, int u, int v, int w, int n, int *V) |
Triangulate a contour/polygon.
Definition at line 45 of file Triangulate.h.
|
static |
Compute and return area of a contour/polygon.
Definition at line 24 of file Triangulate.cpp.

|
static |
Decide if the point (Px,Py) is inside a triangle defined by three points (Ax,Ay) (Bx,By) (Cx,Cy)
Definition at line 42 of file Triangulate.cpp.

|
static |
Triangulate a contour/polygon, places results in STL vector as series of triangles.
| contour | Countour or polygon |
| result | Result as series of triangles |
Definition at line 106 of file Triangulate.cpp.

|
staticprivate |
Definition at line 70 of file Triangulate.cpp.

