pub struct Gap2 {
pub distance: f64,
pub a: [f64; 2],
pub b: [f64; 2],
}Expand description
The closest pair between two sets of polylines, found by contour_gap.
Fields§
§distance: f64The distance between a and b; 0 when the polylines cross or touch.
a: [f64; 2]The point on the first set.
b: [f64; 2]The point on the second set.
Trait Implementations§
impl Copy for Gap2
impl StructuralPartialEq for Gap2
Auto Trait Implementations§
impl Freeze for Gap2
impl RefUnwindSafe for Gap2
impl Send for Gap2
impl Sync for Gap2
impl Unpin for Gap2
impl UnsafeUnpin for Gap2
impl UnwindSafe for Gap2
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