pub struct ZmxSys {
pub glass: Vec<bool>,
pub symmetric: bool,
pub primary_varies: bool,
pub waves: usize,
pub angle_field: bool,
pub mce: Vec<(String, i64, i64)>,
pub configs: usize,
pub off_axis: Vec<bool>,
}Expand description
行を写すのに使う系の様子(ZmxSys::of)。既定は回転対称で、EFLA の単レンズを確かめない
Fields§
§glass: Vec<bool>面の後の媒質が空気でないか(EFLA は面 Surf の前が空気・後がガラスで Surf + 1 の後が空気の単レンズだけ読む。空なら確かめない)
symmetric: bool回転対称か(でなければ X の向きの EFLX・CARD は読まない。lensbench の近軸追跡は Y-Z 面)
primary_varies: bool主波長が多重構成で変わるか(変われば EFFL・PIMH などの波長は主波長と同じ番号でも番号のまま読む。 OpticStudio は Wave 0 を置いたときの主波長の番号にして保存する)
waves: usize波長の数(SPCH の Maxw 0 は最後の波長。0 なら分からない)
angle_field: bool視野が角度か(グリッド歪曲の係数 ABCD・DISA は角の tan での微分で長さ。高さの視野では長さの比で単位がない)
mce: Vec<(String, i64, i64)>多重構成の表の行(MCOV などの Op# の順、MeritFunction::mce)。terms_from_zmx が評価関数から入れる
configs: usize構成の数(ZTHI は構成をまたぐ項で、すべての構成を使う)
off_axis: Vec<bool>視野ごとに軸外か(1 始まりの視野 i は off_axis[i - 1]。軸外の DENC・DENF に知らせを出す。空なら視野 1 だけ軸上とみなす)
Implementations§
Trait Implementations§
impl StructuralPartialEq for ZmxSys
Auto Trait Implementations§
impl Freeze for ZmxSys
impl RefUnwindSafe for ZmxSys
impl Send for ZmxSys
impl Sync for ZmxSys
impl Unpin for ZmxSys
impl UnsafeUnpin for ZmxSys
impl UnwindSafe for ZmxSys
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