Struct lyon_geom::Monotonic [−][src]
pub struct Monotonic<T> { /* fields omitted */ }
Expand description
A x and y monotonic curve segment, for example Monotonic<QuadraticBezierSegment>
.
Implementations
pub fn intersections_t(
&self,
self_t_range: Range<S>,
other: &Self,
other_t_range: Range<S>,
tolerance: S
) -> ArrayVec<[(S, S); 2]>
pub fn intersections(
&self,
self_t_range: Range<S>,
other: &Self,
other_t_range: Range<S>,
tolerance: S
) -> ArrayVec<[Point<S>; 2]>
Trait Implementations
Sample the curve at t (expecting t between 0 and 1).
Sample the derivative at t (expecting t between 0 and 1).
Return the curve before the split point.
Return the curve after the split point.
Return the curve inside a given range of t. Read more
Compute the length of the segment using a flattened approximation.
Auto Trait Implementations
impl<T> RefUnwindSafe for Monotonic<T> where
T: RefUnwindSafe,
impl<T> UnwindSafe for Monotonic<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more