pub struct MeshSolid {
pub positions: Vec<[f64; 3]>,
pub triangles: Vec<[u32; 3]>,
pub faces: Vec<u32>,
pub edges: Vec<MeshEdge>,
}Expand description
One solid’s DISPLAY, in world coordinates: what a placement is drawn from while its B-rep has not reached the scene.
Fields§
§positions: Vec<[f64; 3]>§triangles: Vec<[u32; 3]>§faces: Vec<u32>Per triangle, the display face it tessellates.
edges: Vec<MeshEdge>Every drawn display edge — each B-rep edge the tessellator emitted.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MeshSolid
impl RefUnwindSafe for MeshSolid
impl Send for MeshSolid
impl Sync for MeshSolid
impl Unpin for MeshSolid
impl UnsafeUnpin for MeshSolid
impl UnwindSafe for MeshSolid
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more