mymesh.delaunay.Alpha3d#
- mymesh.delaunay.Alpha3d(NodeCoords, alpha, method=None, Type='surf')[source]#
3D 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 tetrahedralization method used to determine the alpha shape, by default None. See
Tetrahedralize()
for more details and the default method.Type (str, optional) – Type of the returned Mesh or Meshes, by default ‘surf’. Note that if using Type=’vol’, tetrahedral 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