Trait truck_base::geom_traits::Curve[][src]

pub trait Curve: Clone {
    type Point;
    type Vector;
    fn subs(&self, t: f64) -> Self::Point;
fn der(&self, t: f64) -> Self::Vector;
fn parameter_range(&self) -> (f64, f64);
fn inverse(&self) -> Self; fn front(&self) -> Self::Point { ... }
fn back(&self) -> Self::Point { ... } }

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.

Loading content...

Required methods

fn subs(&self, t: f64) -> Self::Point[src]

Substitutes the parameter t.

fn der(&self, t: f64) -> Self::Vector[src]

Returns the derivation.

fn parameter_range(&self) -> (f64, f64)[src]

The range of the parameter of the curve.

fn inverse(&self) -> Self[src]

Returns the inverse of the curve.

Loading content...

Provided methods

fn front(&self) -> Self::Point[src]

The front end point of the curve.

fn back(&self) -> Self::Point[src]

The back end point of the curve.

Loading content...

Implementations on Foreign Types

impl Curve for ()[src]

Implementation for the test of topological methods.

type Point = ()

type Vector = ()

impl Curve for (usize, usize)[src]

Implementation for the test of topological methods.

type Point = usize

type Vector = usize

Loading content...

Implementors

Loading content...