Skip to main content

solid_lumps

Function solid_lumps 

Source
pub fn solid_lumps(
    model: &Model,
    solid_id: SolidId,
    max_nodes: usize,
    epsilon: Scalar,
    seed: u64,
) -> GeopResult<Vec<(ShellId, Vec<ShellId>)>>
Expand description

The lumps of the solid solid_id: each shell bounding material from outside, with the voids in it. A shell is a void when inside an odd number of the solid’s other shells, and a void belongs to the innermost shell around it. Asked of each shell at one of its vertices off the other shell: shells of one solid never cross, so where one vertex is, all of it is. A solid of one shell is one lump without voids. Lumps are in the order of their shells in the solid. Other arguments as for shell_contains.