pub enum Residual {
Position {
surf: usize,
target: [f64; 2],
},
DirSum {
s1: usize,
s2: usize,
},
DirDiff {
s1: usize,
s2: usize,
},
}Expand description
残差(2 つ)
Variants§
Position
面 surf での光線の位置 (x, y)(局所座標)− target
DirSum
面 s1 と s2 での方向余弦 (l, m) の和
DirDiff
面 s1 と s2 での方向余弦 (l, m) の差(s1 − s2)
Trait Implementations§
impl Copy for Residual
impl StructuralPartialEq for Residual
Auto Trait Implementations§
impl Freeze for Residual
impl RefUnwindSafe for Residual
impl Send for Residual
impl Sync for Residual
impl Unpin for Residual
impl UnsafeUnpin for Residual
impl UnwindSafe for Residual
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