Fan triangulation algorithm by simply selecting a base vertex and generating the triangles by iterating over the remaining vertices. However, this approach is not suitable for concave polygons. See the wikipedia article on fan triangulation.
This algorithm wraps a triangulationAlgorithm. Before triangulating the vertices a best fitting plane is estimated and the vertices are projected onto the plane in 2D. After performing the triangulation, the triangulation order is used to recreate the triangles in 3D.