Trait voronator::delaunator::Vector[][src]

pub trait Vector<C: Coord> {
    fn vector(p: &C, q: &C) -> C { ... }
fn determinant(p: &C, q: &C) -> f64 { ... }
fn dist2(p: &C, q: &C) -> f64 { ... }
fn equals(p: &C, q: &C) -> bool { ... }
fn equals_with_span(p: &C, q: &C, span: f64) -> bool { ... } }
Expand description

Trait implementing basic vector functions for a Coord.

To implement this trait, it is possible to simply: impl Vector<Point> for Point {}

Provided methods

Test whether two coordinates describe the same point in space

Implementors