Mesh2d vectors similar to SciLab

I am looking for a way, similar to the mesh2d function in SciLab, to have OpenCV determine the facets of X-Y coordinates. Are there any examples for me?

See: mesh2d - Triangulation of n points in the plane

there is a delaunay triangulation here:

1 Like

Thanks for this hint: OpenCV: Planar Subdivision