pub enum RayQ {
Show 36 variants
X,
Y,
Z,
L,
M,
N,
TraX,
TraY,
TraR,
AnaX,
AnaY,
AnaR,
DxDx,
DxDy,
DyDx,
DyDy,
FcgT,
FcgS,
Opth,
Gx,
Gy,
Gz,
Gl,
Gm,
Gn,
R,
Ang,
TanX,
TanY,
Nl,
Nm,
Nn,
Aoi,
Aoe,
CosI,
CosE,
}Expand description
光線の量(TermKind::Ray)。面の局所座標
Variants§
X
Y
Z
L
方向余弦
M
N
TraX
主波長の主光線(瞳の中心)からの x・y のずれと、その長さ(同じ面。OpticStudio の TRAX・TRAY・TRAR)
TraY
TraR
AnaX
像面での方向余弦の、主波長の主光線との差 l − l_c・m − m_c と √((l − l_c)² + (m − m_c)²)(OpticStudio の ANAX・ANAY・ANAR)
AnaY
AnaR
DxDx
面での x・y の、正規化瞳座標 px・py での微分(中心差分。OpticStudio の DXDX・DXDY・DYDX・DYDY)
DxDy
DyDx
DyDy
FcgT
主光線の近くの光線の焦点の、面からの z の距離 [レンズ単位]。正規化瞳座標を y(fcgt)・x(fcgs)の向きに ±0.001 ずらした 2 本の光線が最も近づく点(OpticStudio の FCGT・FCGS。px・py は使わない)
FcgS
Opth
光路長 [レンズ単位](OpticStudio の OPTH)。無限遠物体では、同じ波長の主光線が面 1 を通る点を通り光線に垂直な 面から測る(OpticStudio 26.1 の実測どおり)。有限物体では物点から
Gx
大域の交点・面の後の方向余弦(OpticStudio の RAGX〜RAGC)
Gy
Gz
Gl
Gm
Gn
R
局所の交点の √(x² + y²)(REAR)
Ang
面の後の方向と局所の z 軸の角 [rad](RANG)
TanX
面の後の方向の x・y の傾き l/n・m/n(RETX・RETY)
TanY
Nl
交点での面の法線(局所、−z 寄りの向き。RENA〜RENC)
Nm
Nn
Aoi
入射角・射出角 [度](RAID・RAED)と、その cos(RAIN・RAEN)
Aoe
CosI
CosE
Implementations§
Trait Implementations§
impl Copy for RayQ
impl Eq for RayQ
impl StructuralPartialEq for RayQ
Auto Trait Implementations§
impl Freeze for RayQ
impl RefUnwindSafe for RayQ
impl Send for RayQ
impl Sync for RayQ
impl Unpin for RayQ
impl UnsafeUnpin for RayQ
impl UnwindSafe for RayQ
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