mymesh.delaunay.SciPy#

mymesh.delaunay.SciPy(NodeCoords)[source]#

Wrapper for scipy.spatial.Delaunay

Parameters:

NodeCoords (array_like) – (n,2) or (n,3) node coordinates for the triangulation. Triangulation is only based on the coordinates in the first two dimensions, if an (n,3) is provided, the coordinates of the third column is ignored.

Returns:

NodeConn – mx3 array of node connectivity for the triangles

Return type:

np.ndarray