mymesh.delaunay.AlphaPeel3d#
- mymesh.delaunay.AlphaPeel3d(NodeCoords, alpha, method='scipy', 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 ‘scipy’. See
Tetrahedralize()
for more details.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