ShapeUtils.triangulateShape: How to create faces using vector3

For true 3D surfaces, this is a very complex issue.

I have worked on this for specific cases.

See Addon for triangulation of implicit surfaces/ forms with holes