pub fn split_stretched(
tx: &mut Transaction<'_>,
options: &StretchOptions,
) -> Result<StretchReport>Expand description
Splits the edges under options.region that have stretched past
StretchOptions::limit, until none is left or
StretchOptions::max_splits runs out. See the module docs for
what changes and where new vertices go. New vertices interpolate source
channels, so UVs follow. The plan is computed first and committed through
tx at the end: either every split lands or nothing does.
ยงErrors
OpsError::InvalidInput for an invalid region or limit, or when the mesh
holds no valid rest sizes: see capture_rest_sizes.