itkwasm_mesh_filters.slice_mesh_async¶
Module Contents¶
Functions¶
Slice a mesh along planes into polylines. |
API¶
- async itkwasm_mesh_filters.slice_mesh_async.slice_mesh_async(input_mesh: itkwasm.Mesh, planes: Any) itkwasm.Mesh¶
Slice a mesh along planes into polylines.
- Parameters:
input_mesh (Mesh) – The input triangle mesh.
planes (Any) – An array of plane locations to slice the mesh. Each plane is defined by an array of ‘origin’ and ‘spacing’ values.
- Returns:
The output mesh comprised of polylines. Cell data indicates whether part of a closed line. Point data indicates the slice index.
- Return type:
Mesh