Skip to main content

edge_uses

Function edge_uses 

Source
pub fn edge_uses(
    model: &Model,
    shape: &Shape,
) -> OgeomResult<FastMap<TShapeId, usize>>
Expand description

How many times each edge node is walked by the faces of shape, every placed occurrence of it together.

Whether an edge is free or shared is a question about one occurrence: two placements of one face share every node and are two faces, each walking its own edges. placed_edge_uses answers it.

ยงErrors

OgeomError::Dangling if a handle fails to resolve.