Trait truck_rendimpl::modeling::Tolerance [−]
Defines a tolerance in the whole package
Provided methods
pub fn near(&self, other: &Self) -> bool
The "distance" is less than TOLERANCE
.
pub fn near2(&self, other: &Self) -> bool
The "distance" is less than TOLERANCR2
.
pub fn assert_near(one: &Self, other: &Self)
assert if one
is not near other
.
pub fn assert_near2(one: &Self, other: &Self)
assertion if one
is not near other
in square order.