m3sh.traits

Geometric mesh traits.

Convenience functions to compute common and often used geometric mesh traits like vertex and face normals, etc.

Functions

bounds(points)

Bounding box vertices.

edge_length(item)

Edge length statistics.

face_area(face)

Face area.

face_normal(face)

Face normal.

face_normals(mesh)

Face normals estimate.

planarity_score(face[, denom])

Planarity score of skew quadrilateral.

planarity_scores(mesh[, denom, offset])

Face planarity scores.

vertex_normal(vertex)

Vertex normal.

vertex_normals(mesh[, broadcast])

Vertex normals.