pub enum RtcVerdict {
Small,
Large {
anchor: (f64, f64, f64),
},
}Expand description
What an RTC detector concluded about a model’s coordinates. The anchor and the decision travel together because the decision is not a property of the anchor: the placement-bounds scan decides on the bbox CORNERS and answers with the bbox CENTRE, which can be inside the threshold (8.5 km centre, 15 km corner) or even the origin, while the coordinates still need re-basing.
Variants§
Small
Every coordinate judged is inside the threshold: nothing to subtract.
Large
Some coordinate is past the threshold: subtract anchor before the f32
cast, whatever the anchor’s own magnitude.
Implementations§
Trait Implementations§
Source§impl Clone for RtcVerdict
impl Clone for RtcVerdict
Source§fn clone(&self) -> RtcVerdict
fn clone(&self) -> RtcVerdict
Returns a duplicate of the value. Read more
1.0.0 · 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 RtcVerdict
impl Debug for RtcVerdict
Source§impl PartialEq for RtcVerdict
impl PartialEq for RtcVerdict
impl Copy for RtcVerdict
impl StructuralPartialEq for RtcVerdict
Auto Trait Implementations§
impl Freeze for RtcVerdict
impl RefUnwindSafe for RtcVerdict
impl Send for RtcVerdict
impl Sync for RtcVerdict
impl Unpin for RtcVerdict
impl UnwindSafe for RtcVerdict
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