pub enum Quad {
Lensbench,
OpticStudio,
Arms(usize),
Grid(usize),
}Expand description
スポット・波面の項の瞳のガウス求積の点の置き方(r² に Gauss-Legendre の rings 本の輪 × 等間隔の腕)
Variants§
Lensbench
腕 4 rings + 2 本(lensbench_analysis::analysis::pupil_gauss。少ない rings でも角度の求積が収束に近い)
OpticStudio
OpticStudio 26.1 の RSCE・RSCH・RWCE・RWCH と同じ: 腕 2 rings 本を 90° 回して置く
(lensbench_analysis::analysis::pupil_gauss_os。.zmx から読んだ行の項)
Arms(usize)
腕を与えた数だけ 0° から等間隔に置く(腕の角度 a·360°/arms)。OpticStudio の評価関数の Wizard の ガウス求積(GQ)と同じ
Grid(usize)
輪を使わず、瞳を n × n の正方の格子に分けた升の中心のうち瞳の中の点を等しい重みで(OpticStudio の評価関数の Wizard の Rectangular Array と同じ)
Trait Implementations§
impl Copy for Quad
impl Eq for Quad
impl StructuralPartialEq for Quad
Auto Trait Implementations§
impl Freeze for Quad
impl RefUnwindSafe for Quad
impl Send for Quad
impl Sync for Quad
impl Unpin for Quad
impl UnsafeUnpin for Quad
impl UnwindSafe for Quad
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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