pub struct FarthestPointEvidence { /* private fields */ }Expand description
A certified bracket on the largest distance to the nearest target.
Implementations§
Source§impl FarthestPointEvidence
impl FarthestPointEvidence
Sourcepub fn try_new(
distance: LengthInterval,
witness: MetricPoint,
converged: bool,
evidence: Evidence,
) -> Result<Self, MetricRoutingError>
pub fn try_new( distance: LengthInterval, witness: MetricPoint, converged: bool, evidence: Evidence, ) -> Result<Self, MetricRoutingError>
Validates the bracket.
distance contains the largest distance over the region; witness
is a point of the region whose distance to every target is at least
distance’s lower bound. converged claims the interval is no wider
than the requested tolerance; the handle checks the claim.
Sourcepub fn distance(&self) -> &LengthInterval
pub fn distance(&self) -> &LengthInterval
Bounds on the largest distance to the nearest target.
Sourcepub fn witness(&self) -> &MetricPoint
pub fn witness(&self) -> &MetricPoint
A point of the region at least the lower bound from every target.
Trait Implementations§
Source§impl Clone for FarthestPointEvidence
impl Clone for FarthestPointEvidence
Source§impl Debug for FarthestPointEvidence
impl Debug for FarthestPointEvidence
Source§impl PartialEq for FarthestPointEvidence
impl PartialEq for FarthestPointEvidence
impl StructuralPartialEq for FarthestPointEvidence
Auto Trait Implementations§
impl Freeze for FarthestPointEvidence
impl RefUnwindSafe for FarthestPointEvidence
impl Send for FarthestPointEvidence
impl Sync for FarthestPointEvidence
impl Unpin for FarthestPointEvidence
impl UnsafeUnpin for FarthestPointEvidence
impl UnwindSafe for FarthestPointEvidence
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