pub trait ParametricCurve: Clone {
type Point;
type Vector;
fn subs(&self, t: f64) -> Self::Point;
fn der(&self, t: f64) -> Self::Vector;
fn der2(&self, t: f64) -> Self::Vector;
}
Expand description
Parametric curves
Required Associated Types§
Required Methods§
Implementations on Foreign Types§
source§impl<C> ParametricCurve for Box<C, Global>where
C: ParametricCurve,
impl<C> ParametricCurve for Box<C, Global>where
C: ParametricCurve,
type Point = <C as ParametricCurve>::Point
type Vector = <C as ParametricCurve>::Vector
fn subs(&self, t: f64) -> <Box<C, Global> as ParametricCurve>::Point
fn der(&self, t: f64) -> <Box<C, Global> as ParametricCurve>::Vector
fn der2(&self, t: f64) -> <Box<C, Global> as ParametricCurve>::Vector
source§impl<'a, C> ParametricCurve for &'a Cwhere
C: ParametricCurve,
impl<'a, C> ParametricCurve for &'a Cwhere
C: ParametricCurve,
source§impl ParametricCurve for ()
impl ParametricCurve for ()
Implementation for the test of topological methods.
source§impl ParametricCurve for (usize, usize)
impl ParametricCurve for (usize, usize)
Implementation for the test of topological methods.