Skip to main content

is_shell_closed

Function is_shell_closed 

Source
pub fn is_shell_closed(model: &Model, shell: &Shape) -> OgeomResult<bool>
Expand description

Whether every edge in a shell is shared by exactly two faces.

The defining property of a closed shell, and the one that decides whether it can bound a solid. An edge used once is a free boundary: the shell has a hole. An edge used three or more times is non-manifold, which is legitimate topology but not something that encloses a volume.

ยงErrors

As ogeom_topo::explore.