pub struct Gap {
pub distance: f64,
pub a: [f64; 3],
pub b: [f64; 3],
}Expand description
The closest pair between two meshes’ contours in a section, from
Scene::section_gap.
Fields§
§distance: f64The distance between a and b in the plane; 0 when the contours
cross or touch.
a: [f64; 3]The point on the first mesh’s contours, in world coordinates.
b: [f64; 3]The point on the second mesh’s contours, in world coordinates.
Trait Implementations§
impl Copy for Gap
impl StructuralPartialEq for Gap
Auto Trait Implementations§
impl Freeze for Gap
impl RefUnwindSafe for Gap
impl Send for Gap
impl Sync for Gap
impl Unpin for Gap
impl UnsafeUnpin for Gap
impl UnwindSafe for Gap
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