pub struct Component {
pub triangles: Vec<TriangleId>,
pub area: f64,
pub closed: bool,
}Expand description
A set of triangles connected through shared edges of any kind.
Fields§
§triangles: Vec<TriangleId>The triangles, ascending.
area: f64The total triangle area, in local units squared.
closed: booltrue when the component has no boundary and no non-manifold edge.
Trait Implementations§
impl StructuralPartialEq for Component
Auto Trait Implementations§
impl Freeze for Component
impl RefUnwindSafe for Component
impl Send for Component
impl Sync for Component
impl Unpin for Component
impl UnsafeUnpin for Component
impl UnwindSafe for Component
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