Skip to main content

curvatures

Function curvatures 

Source
pub fn curvatures(mesh: &Mesh, out: &mut [f32]) -> Result<()>
Expand description

Per-vertex signed mean curvature of mesh: out[v] gets the value for vertex slot v (see the module docs), in 1/local-units. out must hold one entry per vertex slot.

ยงErrors

FieldsError::InvalidInput when out is not one entry per vertex slot. On error out is unchanged.