Skip to main content

check_protection

Function check_protection 

Source
pub fn check_protection(
    mesh: &Mesh,
    vertices: &[VertexId],
    weights: &[f32],
) -> Result<()>
Expand description

Checks a protection list the way with_protection does.

ยงErrors

OpsError::InvalidInput when the lists differ in length, a weight is not in [0, 1], or a listed vertex is not alive.