pub struct CellComplex {
pub cell_of: Vec<u32>,
pub num_cells: usize,
pub walls: Vec<Wall>,
}Expand description
The arrangement’s cell decomposition.
Fields§
§cell_of: Vec<u32>Compact cell id per (piece, side); index with [node].
num_cells: usize§walls: Vec<Wall>Distinct triangles of the arrangement, each with its coincident stack collapsed into one winding step. Computed once here because both the winding propagation and the extraction need it.
Implementations§
Auto Trait Implementations§
impl Freeze for CellComplex
impl RefUnwindSafe for CellComplex
impl Send for CellComplex
impl Sync for CellComplex
impl Unpin for CellComplex
impl UnsafeUnpin for CellComplex
impl UnwindSafe for CellComplex
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more