pub struct RecSurf {
pub surf: usize,
pub parity: f64,
pub xyz: Vec<V3>,
pub lmn: Vec<V3>,
pub opl: Vec<f64>,
pub p: Vec<V3>,
}Expand description
1 つの面での全光線の記録(量ごとに光線の順に並べる)。止まった光線は NaN
Fields§
§surf: usize§parity: f64(-1)^(この面までに通った鏡の数)
xyz: Vec<V3>面の局所座標での交点
lmn: Vec<V3>面の後の方向(局所座標、物理的な向き)
opl: Vec<f64>面までの光路長
p: Vec<V3>大域の交点
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RecSurf
impl RefUnwindSafe for RecSurf
impl Send for RecSurf
impl Sync for RecSurf
impl Unpin for RecSurf
impl UnsafeUnpin for RecSurf
impl UnwindSafe for RecSurf
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
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