Skip to main content

vertex_bounds

Function vertex_bounds 

Source
pub fn vertex_bounds(
    model: &Model,
    shape: &Shape,
    tol: Tolerances,
) -> OgeomResult<Aabb>
Expand description

A bound for a shape built only from its vertices.

Tighter than shape_bounds for a solid whose faces sit on unbounded surfaces, and not a guarantee: a curved edge bulges past its own endpoints. Use it for a quick estimate, never for a rejection test.

ยงErrors

As shape_bounds.