Skip to main content

Module mesh

Module mesh 

Source
Expand description

Mesh utilities for BET

Functionsยง

build_neighbor_matrix
Build neighbor matrix for vectorized neighbor lookups
compute_mean_edge_length
Compute mean edge length for vertices in voxel coordinates (converts to mm)
compute_mean_edge_length_mm
Compute mean edge length for vertices already in mm coordinates
compute_vertex_normals
Compute outward-pointing normals at each vertex
self_intersection_heuristic
Compute self-intersection heuristic by comparing vertex distances between current and original mesh.
vertex_distance ๐Ÿ”’
Compute distance between two vertices (already in mm)