Skip to main content

RayQ

Enum RayQ 

Source
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§

Source§

impl RayQ

Source

pub fn recorded(&self) -> bool

面ごとの記録から求める量

Source

pub fn by_diff(&self) -> bool

微分を差分で求める量

Source

pub fn parse(s: &str) -> Result<RayQ>

Source

pub fn name(&self) -> &'static str

Trait Implementations§

Source§

impl Clone for RayQ

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for RayQ

Source§

impl Debug for RayQ

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Eq for RayQ

Source§

impl PartialEq for RayQ

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

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> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DynClone for T
where T: Clone,

Source§

fn __clone_box(&self, _: Private) -> *mut ()

§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

§

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
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
where F: FnOnce(&Self) -> bool,

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
§

impl<T> Pointable for T

§

const ALIGN: usize

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WasmNotSend for T
where T: Send,

§

impl<T> WasmNotSendSync for T
where T: WasmNotSend + WasmNotSync,

§

impl<T> WasmNotSync for T
where T: Sync,