pub struct DistanceBounds {
pub lower: Scalar,
pub upper: Scalar,
pub point_a: Point3,
pub point_b: Point3,
}Expand description
An interval certain to contain the distance between two boundaries,
and two witnesses. point_a and point_b are computed points, each
within its evaluation rounding of a point of its boundary
(POINT eps W, see “Rounding” in the module docs), and upper is at
least the distance between those two boundary points (#439): the
computed |point_a - point_b| plus that rounding, never less. In plan,
an overlap shown by two planar faces reports [0, 0].
Fields§
§lower: ScalarNo two boundary points are closer than this.
upper: ScalarThe boundary points point_a and point_b stand for are at most
this far apart (in plan, for the plan queries).
point_a: Point3A computed point within rounding of the first boundary.
point_b: Point3A computed point within rounding of the second boundary.
Implementations§
Trait Implementations§
Source§impl Clone for DistanceBounds
impl Clone for DistanceBounds
Source§fn clone(&self) -> DistanceBounds
fn clone(&self) -> DistanceBounds
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 DistanceBounds
impl Debug for DistanceBounds
Source§impl PartialEq for DistanceBounds
impl PartialEq for DistanceBounds
impl StructuralPartialEq for DistanceBounds
Auto Trait Implementations§
impl Freeze for DistanceBounds
impl RefUnwindSafe for DistanceBounds
impl Send for DistanceBounds
impl Sync for DistanceBounds
impl Unpin for DistanceBounds
impl UnsafeUnpin for DistanceBounds
impl UnwindSafe for DistanceBounds
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