[][src]Enum flo_curves::bezier::CurveFeatures

pub enum CurveFeatures {
    Point,
    Linear,
    Arch,
    SingleInflectionPoint(f64),
    DoubleInflectionPoint(f64f64),
    Parabolic,
    Cusp,
    Loop(f64f64),
}

Describes the features of a two-dimensional cubic bezier curve

Variants

Point

All control points are in the same position

Linear

The control points are in a line

Arch

A simple curve that does not change direction or self-intersect

SingleInflectionPoint(f64)

A curve that changes direction once (and the t value where this occurs)

DoubleInflectionPoint(f64f64)

A curve that changes direction twice (and the t value where this occurs)

Parabolic

A curve that can be represented as a quadratic curve rather than a cubic one

Cusp

A curve with a cusp

Loop(f64f64)

A curve containing a loop and the two t values where it self-intersects

Trait Implementations

impl Clone for CurveFeatures[src]

impl Copy for CurveFeatures[src]

impl Debug for CurveFeatures[src]

impl PartialEq<CurveFeatures> for CurveFeatures[src]

impl StructuralPartialEq for CurveFeatures[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.