pub struct LensTol {
pub radius_rel: f64,
pub focal_rel: f64,
pub thickness: f64,
pub wedge: f64,
pub dn: f64,
pub disp: f64,
pub decenter: f64,
pub tilt: f64,
pub space: f64,
pub wedge_first: bool,
}Expand description
玉ごとの公差の組(各値は ±、0 なら作らない)
Fields§
§radius_rel: f64曲率半径の比(面ごとに独立、0.002 = ±0.2%)
focal_rel: f64焦点距離の比(玉の曲率半径をすべて同じ比で変える。カタログの公差)
thickness: f64中心厚 [mm](玉の中のガラスの厚さごと)
wedge: f64面の傾き(くさび、玉の後ろの面の x・y の傾き)[deg]
dn: f64屈折率のずれ(ガラスごと)
disp: f64分散の相対変化(アッベ数の比に当たる、ガラスごと)
decenter: f64玉の偏心 x・y [mm]
tilt: f64玉の傾き x・y [deg]
space: f64玉の後の空気の間隔 [mm](次に玉がある場合)
wedge_first: boolくさびを玉の前の面に入れる(false は後ろの面)。前・後ろは玉のもとの向きで、裏返して置いた玉(lensbench_core::units::Unit::flipped)
では系の中で光の通る順の逆(往復する玉は往きの範囲の順)
Implementations§
Trait Implementations§
impl Copy for LensTol
impl StructuralPartialEq for LensTol
Auto Trait Implementations§
impl Freeze for LensTol
impl RefUnwindSafe for LensTol
impl Send for LensTol
impl Sync for LensTol
impl Unpin for LensTol
impl UnsafeUnpin for LensTol
impl UnwindSafe for LensTol
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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