Skip to main content

subdivide

Function subdivide 

Source
pub fn subdivide(
    mesh: &HalfedgeMesh,
    options: &SubdivisionOptions,
) -> Result<HalfedgeMesh, SubdivisionError>
Expand description

Subdivide mesh options.levels times.

ยงErrors

SubdivisionError::NotATriangle for Loop on a mesh with another face and SubdivisionError::BudgetExceeded before building a level over the face budget.