[−][src]Trait truck_modeling::base::Curve
Parametric curves
Associated Types
type Point
[src]
The curve is in the space of Self::Point
.
type Vector
[src]
The derivation vector of the curve.
Required methods
pub fn subs(&self, t: f64) -> Self::Point
[src]
Substitutes the parameter t
.
pub fn der(&self, t: f64) -> Self::Vector
[src]
Returns the derivation.
pub fn parameter_range(&self) -> (f64, f64)
[src]
The range of the parameter of the curve.
pub fn inverse(&self) -> Self
[src]
Returns the inverse of the curve.
Provided methods
pub fn front(&self) -> Self::Point
[src]
The front end point of the curve.
pub fn back(&self) -> Self::Point
[src]
The back end point of the curve.
Implementations on Foreign Types
impl Curve for (usize, usize)
[src]
Implementation for the test of topological methods.
type Point = usize
type Vector = usize
pub fn subs(&self, t: f64) -> <(usize, usize) as Curve>::Point
[src]
pub fn der(&self, f64) -> <(usize, usize) as Curve>::Vector
[src]
pub fn parameter_range(&self) -> (f64, f64)
[src]
pub fn inverse(&self) -> (usize, usize)
[src]
impl Curve for ()
[src]
Implementation for the test of topological methods.
type Point = ()
type Vector = ()
pub fn subs(&self, f64) -> <() as Curve>::Point
[src]
pub fn der(&self, f64) -> <() as Curve>::Vector
[src]
pub fn parameter_range(&self) -> (f64, f64)
[src]
pub fn inverse(&self)
[src]
impl<V> Curve for BSplineCurve<V> where
V: TangentSpace<f64>,
<V as TangentSpace<f64>>::Space: EuclideanSpace,
<<V as TangentSpace<f64>>::Space as EuclideanSpace>::Scalar == f64,
<<V as TangentSpace<f64>>::Space as EuclideanSpace>::Diff == V,
[src]
V: TangentSpace<f64>,
<V as TangentSpace<f64>>::Space: EuclideanSpace,
<<V as TangentSpace<f64>>::Space as EuclideanSpace>::Scalar == f64,
<<V as TangentSpace<f64>>::Space as EuclideanSpace>::Diff == V,
type Point = <V as TangentSpace<f64>>::Space
type Vector = V
pub fn subs(&self, t: f64) -> <BSplineCurve<V> as Curve>::Point
[src]
pub fn der(&self, t: f64) -> <BSplineCurve<V> as Curve>::Vector
[src]
pub fn parameter_range(&self) -> (f64, f64)
[src]
pub fn inverse(&self) -> BSplineCurve<V>
[src]
impl<V> Curve for NURBSCurve<V> where
V: Homogeneous<f64>,
[src]
V: Homogeneous<f64>,