pub struct Irregular {
pub c: f64,
pub k: f64,
pub decenter: [f64; 2],
pub tilt: [f64; 2],
pub zs: f64,
pub za: f64,
pub zc: f64,
pub angle: f64,
pub radius: f64,
}Expand description
Irregular(IRREGULA)の形: 偏心・傾けた標準面(c・k)に Zs ρ⁴ + Za ρ_y² + Zc ρ² ρ_y
(ρ は radius で正規化、ρ_y は angle だけ回した y)
Fields§
§c: f64§k: f64§decenter: [f64; 2]偏心 x・y
tilt: [f64; 2]傾き x・y [deg]
zs: f64§za: f64§zc: f64§angle: f64項を回す角度 [deg]
radius: f64正規化半径(面の半直径)
Implementations§
Trait Implementations§
impl Copy for Irregular
impl StructuralPartialEq for Irregular
Auto Trait Implementations§
impl Freeze for Irregular
impl RefUnwindSafe for Irregular
impl Send for Irregular
impl Sync for Irregular
impl Unpin for Irregular
impl UnsafeUnpin for Irregular
impl UnwindSafe for Irregular
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