pub struct HlrResult {
pub runs: Vec<Vec<[f64; 2]>>,
pub inked: usize,
pub silhouettes: usize,
pub pieces: usize,
pub trim_queries: usize,
pub ray_queries: usize,
}Expand description
The exact result of one placement: the visible runs on the paper, plus what the A/B comparison and the tests read.
Fields§
§runs: Vec<Vec<[f64; 2]>>§inked: usizeInked candidate curves before splitting (edges and silhouette pieces).
silhouettes: usizeSilhouette pieces among them.
pieces: usizePieces the splitting produced and visibility decided.
trim_queries: usizeHow many times the pass asked the kernel whether a point is inside a
face’s trim (parameter_point_in_face) — the question the projected and
parameter trims exist to answer first.
ray_queries: usizeHow many view rays the pass intersected with a curved face’s carrier
(intersect_curve_surface).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HlrResult
impl RefUnwindSafe for HlrResult
impl Send for HlrResult
impl Sync for HlrResult
impl Unpin for HlrResult
impl UnsafeUnpin for HlrResult
impl UnwindSafe for HlrResult
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