mesh_surface_area#
- mesh_surface_area(mesh=None, verts=None, faces=None)[source]#
Calculate the surface area of a meshed region
- Parameters:
mesh (tuple) – The tuple returned from the
mesh_region
functionverts (array) – An N-by-ND array containing the coordinates of each mesh vertex
faces (array) – An N-by-ND array indicating which elements in
verts
form a mesh element.
- Returns:
surface_area – The surface area of the mesh, calculated by
skimage.measure.mesh_surface_area
- Return type:
float
Notes
This function simply calls
scikit-image.measure.mesh_surface_area
, but it allows for the passing of themesh
tuple returned by themesh_region
function, entirely for convenience.Examples
Click here to view online example.