Skip to main content

limit_positions

Function limit_positions 

Source
pub fn limit_positions(
    mesh: &HalfedgeMesh,
    scheme: SubdivisionScheme,
) -> Result<Vec<Point3>, SubdivisionError>
Expand description

The limit position of every vertex under repeated subdivision by scheme, indexed by vertex id (a removed vertex keeps its stored position).

ยงErrors

SubdivisionError::NotATriangle for Loop and SubdivisionError::NotAQuad for Catmull-Clark on a face of another degree.