Triangulation algorithm of a point cloud