pub struct SheetRegion {
pub fraction: f64,
pub pieces: Vec<(u8, u8)>,
}Expand description
One part of a cut face outside the sheet(s).
Fields§
§fraction: f64Area fraction of the face.
pieces: Vec<(u8, u8)>Pieces on its boundary: (side, piece) with side in 0..4 the
face edge in perimeter order (b at the node, c at node + e_b,
b at node + e_c, c at the node, (b, c) = axis.others()) and
piece the piece index along that edge (0 for an uncut edge).
Trait Implementations§
Source§impl Clone for SheetRegion
impl Clone for SheetRegion
Source§impl Debug for SheetRegion
impl Debug for SheetRegion
Source§impl PartialEq for SheetRegion
impl PartialEq for SheetRegion
impl StructuralPartialEq for SheetRegion
Auto Trait Implementations§
impl Freeze for SheetRegion
impl RefUnwindSafe for SheetRegion
impl Send for SheetRegion
impl Sync for SheetRegion
impl Unpin for SheetRegion
impl UnsafeUnpin for SheetRegion
impl UnwindSafe for SheetRegion
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