pub struct FlatteningParameters<S> {
count: S,
integral_from: S,
integral_step: S,
inv_integral_from: S,
div_inv_integral_diff: S,
}
Fields§
§count: S
§integral_from: S
§integral_step: S
§inv_integral_from: S
§div_inv_integral_diff: S
Implementations§
source§impl<S: Scalar> FlatteningParameters<S>
impl<S: Scalar> FlatteningParameters<S>
pub fn new(curve: &QuadraticBezierSegment<S>, tolerance: S) -> Self
fn t_at_iteration(&self, iteration: S) -> S
Auto Trait Implementations§
impl<S> Freeze for FlatteningParameters<S>where
S: Freeze,
impl<S> RefUnwindSafe for FlatteningParameters<S>where
S: RefUnwindSafe,
impl<S> Send for FlatteningParameters<S>where
S: Send,
impl<S> Sync for FlatteningParameters<S>where
S: Sync,
impl<S> Unpin for FlatteningParameters<S>where
S: Unpin,
impl<S> UnwindSafe for FlatteningParameters<S>where
S: UnwindSafe,
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