pub struct KannalaBrandt4 {
pub k1: f64,
pub k2: f64,
pub k3: f64,
pub k4: f64,
}Expand description
Kannala–Brandt four-coefficient fisheye model.
Fields§
§k1: f64Cubic angle coefficient.
k2: f64Fifth-order angle coefficient.
k3: f64Seventh-order angle coefficient.
k4: f64Ninth-order angle coefficient.
Implementations§
Trait Implementations§
Source§impl Clone for KannalaBrandt4
impl Clone for KannalaBrandt4
Source§fn clone(&self) -> KannalaBrandt4
fn clone(&self) -> KannalaBrandt4
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 KannalaBrandt4
impl Debug for KannalaBrandt4
Source§impl Default for KannalaBrandt4
impl Default for KannalaBrandt4
Source§fn default() -> KannalaBrandt4
fn default() -> KannalaBrandt4
Returns the “default value” for a type. Read more
Source§impl PartialEq for KannalaBrandt4
impl PartialEq for KannalaBrandt4
Source§fn eq(&self, other: &KannalaBrandt4) -> bool
fn eq(&self, other: &KannalaBrandt4) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for KannalaBrandt4
impl StructuralPartialEq for KannalaBrandt4
Auto Trait Implementations§
impl Freeze for KannalaBrandt4
impl RefUnwindSafe for KannalaBrandt4
impl Send for KannalaBrandt4
impl Sync for KannalaBrandt4
impl Unpin for KannalaBrandt4
impl UnsafeUnpin for KannalaBrandt4
impl UnwindSafe for KannalaBrandt4
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