Struct lyon_geom::Monotonic [] [src]

pub struct Monotonic<T> { /* fields omitted */ }

A x and y monotonic curve segment, for example Monotonic<QuadraticBezierSegment>.

Methods

impl<T: Segment> Monotonic<T>
[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

impl<S: Scalar> Monotonic<QuadraticBezierSegment<S>>
[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

impl<S: Scalar> Monotonic<CubicBezierSegment<S>>
[src]

[src]

[src]

Trait Implementations

impl<T: Copy> Copy for Monotonic<T>
[src]

impl<T: Clone> Clone for Monotonic<T>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<T: Debug> Debug for Monotonic<T>
[src]

[src]

Formats the value using the given formatter.

impl<T: Segment> Segment for Monotonic<T>
[src]

[src]

Start of the curve.

[src]

End of the curve.

[src]

Sample the curve at t (expecting t between 0 and 1).

[src]

Sample x at t (expecting t between 0 and 1).

[src]

Sample y at t (expecting t between 0 and 1).

[src]

Sample the derivative at t (expecting t between 0 and 1).

[src]

Sample x derivative at t (expecting t between 0 and 1).

[src]

Sample y derivative at t (expecting t between 0 and 1).

[src]

Split this curve into two sub-curves.

[src]

Return the curve before the split point.

[src]

Return the curve after the split point.

[src]

Return the curve inside a given range of t. Read more

[src]

Swap the direction of the segment.

[src]

Compute the length of the segment using a flattened approximation.