#[non_exhaustive]pub struct NetMesh {
pub mesh: TriMesh,
pub openings: Vec<EntityId>,
pub closure: MeshClosure,
}Expand description
A product’s NET mesh and the openings removed to produce it.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.mesh: TriMeshThe Body with every voiding opening subtracted.
openings: Vec<EntityId>The openings subtracted, in ascending id. Empty when none void it.
closure: MeshClosureWhether mesh bounds a solid. A net body is MeshClosure::Solid
whenever a subtraction ran, since a boolean refuses a surface operand;
a host with no openings keeps whatever its gross body reported.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NetMesh
impl RefUnwindSafe for NetMesh
impl Send for NetMesh
impl Sync for NetMesh
impl Unpin for NetMesh
impl UnsafeUnpin for NetMesh
impl UnwindSafe for NetMesh
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