2D TRIANGULATION

How I created a mesh from a closed loop of 2D points.