mymesh.delaunay.Alpha2d#

mymesh.delaunay.Alpha2d(NodeCoords, alpha, method='scipy', Type='line')[source]#

2D Alpha shapes

Parameters:
  • NodeCoords (array_like) – Node coordinates

  • alpha (float or list of floats) – Alpha value. If given as a list of values, a corresponding list of meshes will be returned

  • method (str, optional) – Delaunay triangulation method used to determine the alpha shape, by default None. See Triangulate() for more details and the default method.

  • Type (str, optional) – Type of the returned Mesh or Meshes, by default ‘line’. Note that if using Type=’surf’, triangular meshes may have small unnoticed holes that could pose problems for some applications.

Returns:

M – Mesh of the alpha shape. If alpha is given as a list, a corresponding list of meshes will be returned.

Return type:

mymesh.mesh or list of mymesh.mesh