Skip to main content

ancestors_of

Function ancestors_of 

Source
pub fn ancestors_of(
    model: &Model,
    root: &Shape,
    target: &Shape,
    want: ShapeType,
) -> OgeomResult<Vec<Shape>>
Expand description

Every shape in root that has target among its sub-shapes.

The inverse of traversal: “which faces meet at this edge?” is how a boolean decides what a split affects, and how a fillet finds what it is blending.

§Errors

As explore.