pub struct CameraScore {
pub camera_id: CameraId,
pub angle_to_talent: f64,
pub distance_to_talent: f64,
pub score: f64,
pub in_fov: bool,
}Expand description
Result of evaluating a camera for talent coverage.
Fields§
§camera_id: CameraIdCamera identifier.
angle_to_talent: f64Angle between camera forward and direction to talent (radians).
distance_to_talent: f64Distance from camera to talent (meters).
score: f64Normalized score (0.0 = best, 1.0 = worst). Lower is better.
in_fov: boolWhether the talent is within the camera’s field of view.
Trait Implementations§
Source§impl Clone for CameraScore
impl Clone for CameraScore
Source§fn clone(&self) -> CameraScore
fn clone(&self) -> CameraScore
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 moreimpl Copy for CameraScore
Auto Trait Implementations§
impl Freeze for CameraScore
impl RefUnwindSafe for CameraScore
impl Send for CameraScore
impl Sync for CameraScore
impl Unpin for CameraScore
impl UnsafeUnpin for CameraScore
impl UnwindSafe for CameraScore
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more