pub struct StraightEdge {
pub start: DVec3,
pub end: DVec3,
pub na: DVec3,
pub nb: DVec3,
pub da: DVec3,
pub db: DVec3,
pub extent_a: f64,
pub extent_b: f64,
}Expand description
A verified straight edge on the final solid, in the evaluation frame.
Fields§
§start: DVec3§end: DVec3§na: DVec3Final-solid outward normals of the two faces along the edge.
nb: DVec3§da: DVec3Unit in-face directions away from the edge, along each surviving face.
db: DVec3§extent_a: f64How far each face extends from the edge along da/db (setback room).
extent_b: f64Implementations§
Trait Implementations§
Source§impl Clone for StraightEdge
impl Clone for StraightEdge
Source§fn clone(&self) -> StraightEdge
fn clone(&self) -> StraightEdge
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StraightEdge
impl Debug for StraightEdge
impl Copy for StraightEdge
Auto Trait Implementations§
impl Freeze for StraightEdge
impl RefUnwindSafe for StraightEdge
impl Send for StraightEdge
impl Sync for StraightEdge
impl Unpin for StraightEdge
impl UnsafeUnpin for StraightEdge
impl UnwindSafe for StraightEdge
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Identity for Twhere
T: ?Sized,
impl<T> Identity for Twhere
T: ?Sized,
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