{ } Raw JSON

bundles / skimage 0.26.1rc0.dev0+git20260530.b607368ff / skimage / measure / _marching_cubes_lewiner / mesh_surface_area

function

skimage.measure._marching_cubes_lewiner:mesh_surface_area

source: /dev/scikit-image/src/skimage/measure/_marching_cubes_lewiner.py :315

Signature

def   mesh_surface_area ( verts faces )

Summary

Compute surface area, given vertices and triangular faces.

Parameters

verts : (V, 3) array of floats

Array containing coordinates for V unique mesh vertices.

faces : (F, 3) array of ints

List of length-3 lists of integers, referencing vertex coordinates as provided in verts.

Returns

area : float

Surface area of mesh. Units now [coordinate units] ** 2.

Notes

The arguments expected by this function are the first two outputs from skimage.measure.marching_cubes. For unit correct output, ensure correct spacing was passed to skimage.measure.marching_cubes.

This algorithm works properly only if the faces provided are all triangles.

See also

skimage.measure.marching_cubes

Aliases

  • skimage.measure.mesh_surface_area

Referenced by