pub struct Footprint {
pub points: Vec<[f64; 2]>,
pub edge: Vec<[f64; 2]>,
pub x: [f64; 2],
pub y: [f64; 2],
pub max_radius: f64,
pub rays: usize,
pub reached: usize,
pub clipped: usize,
pub through: usize,
}Expand description
1 視野・1 波長のフットプリント
Fields§
§points: Vec<[f64; 2]>面に届いた光線の交点 (x, y)(面の局所座標)
edge: Vec<[f64; 2]>瞳の縁(半径 1 の CIRCLE 点)の光線の交点。面より前でけられた光線は NaN
x: [f64; 2]交点の x・y の最小・最大(届いた光線が無ければ NaN)
y: [f64; 2]§max_radius: f64面の頂点からの交点の距離の最大
rays: usize瞳の格子の光線の数
reached: usize面に届いた光線の数(面より前でけられていない)
clipped: usizeその面でけられた光線の数
through: usize像面までけられずに通った光線の数
Trait Implementations§
impl StructuralPartialEq for Footprint
Auto Trait Implementations§
impl Freeze for Footprint
impl RefUnwindSafe for Footprint
impl Send for Footprint
impl Sync for Footprint
impl Unpin for Footprint
impl UnsafeUnpin for Footprint
impl UnwindSafe for Footprint
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