pub struct MeshEdge {
pub points: Vec<[f64; 3]>,
pub ends: Option<(u64, u64)>,
}Expand description
One display edge of a MeshSolid: its polyline, and the topology
vertices it starts and ends on — where runs chain, as the exact pass chains
through the B-rep’s own start_vertex_id / end_vertex_id. None when
either end is not recoverably one vertex.
Fields§
§points: Vec<[f64; 3]>§ends: Option<(u64, u64)>Trait Implementations§
Auto Trait Implementations§
impl Freeze for MeshEdge
impl RefUnwindSafe for MeshEdge
impl Send for MeshEdge
impl Sync for MeshEdge
impl Unpin for MeshEdge
impl UnsafeUnpin for MeshEdge
impl UnwindSafe for MeshEdge
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