|
|
|
faceTriangulation Class ReferenceTriangulation of faces. Handles concave polygons as well (inefficiently). More...
Inheritance diagram for faceTriangulation:
![]()
Collaboration diagram for faceTriangulation:
![]()
Detailed DescriptionTriangulation of faces. Handles concave polygons as well (inefficiently).Works by trying to subdivide the face at the vertex with 'flattest' internal angle (i.e. closest to 180 deg). Based on routine 'Diagonal' in
"Efficient Triangulation of Simple Polygons"
Godfried Toussaint, McGill University.
After construction is the list of triangles the face is decomposed into. (Or empty list if no valid triangulation could be found).
Definition at line 61 of file faceTriangulation.H. Constructor & Destructor Documentation
Construct from face and points. Decomposition based on average. normal. After construction *this is size 0 or holds the triangles. If fallBack and triangulation fails does naive triangulation and never returns 0 size. Definition at line 614 of file faceTriangulation.C.
Construct from face and points and user supplied (unit) normal. After construction *this is size 0 or holds the triangles. If fallBack and triangulation fails does naive triangulation and never returns 0 size. Definition at line 638 of file faceTriangulation.C. References setSize().
Here is the call graph for this function:
![]()
Construct from Istream.
Definition at line 659 of file faceTriangulation.C. References setSize().
Here is the call graph for this function:
![]()
The documentation for this class was generated from the following files:
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||