pub struct PixelData {
pub n: usize,
pub x0: f64,
pub y0: f64,
pub dx: f64,
pub ok: Vec<bool>,
pub i: Vec<f64>,
pub l: Vec<Vec<f64>>,
pub ex: Vec<C64>,
pub ey: Vec<C64>,
pub fold_fraction: f64,
}Expand description
画素の格子(N × N、画素 (i, j) の中心は (x0 + i·dx, y0 + j·dx)、番号 j·N + i)に補間した 1 本の経路
Fields§
§n: usize§x0: f64§y0: f64§dx: f64§ok: Vec<bool>§i: Vec<f64>強度(モードの重み × 方向余弦の面積 / 検出面の面積)
l: Vec<Vec<f64>>§ex: Vec<C64>§ey: Vec<C64>§fold_fraction: f64折り返した(向きが逆の)三角形の割合
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PixelData
impl RefUnwindSafe for PixelData
impl Send for PixelData
impl Sync for PixelData
impl Unpin for PixelData
impl UnsafeUnpin for PixelData
impl UnwindSafe for PixelData
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