[][src]Trait flo_curves::bezier::NormalCurve

pub trait NormalCurve: BezierCurve {
    fn tangent_at_pos(&self, t: f64) -> Self::Point;
fn normal_at_pos(&self, t: f64) -> Self::Point; }

Trait implemented by bezier curves where we can compute the normal

Required methods

fn tangent_at_pos(&self, t: f64) -> Self::Point

Computes the tangent vector to the curve at the specified t value

fn normal_at_pos(&self, t: f64) -> Self::Point

Computes the normal vector to the curve at the specified t value

Loading content...

Implementors

impl<Curve: BezierCurve> NormalCurve for Curve where
    Curve::Point: Normalize
[src]

Loading content...