[][src]Trait flo_curves::geo::Coordinate2D

pub trait Coordinate2D {
    fn x(&self) -> f64;
fn y(&self) -> f64; fn coords(&self) -> (f64, f64) { ... } }

Represents a coordinate with a 2D position

Required methods

fn x(&self) -> f64

fn y(&self) -> f64

Loading content...

Provided methods

fn coords(&self) -> (f64, f64)

Loading content...

Implementors

impl Coordinate2D for Coord2[src]

fn x(&self) -> f64[src]

X component of this coordinate

fn y(&self) -> f64[src]

Y component of this coordinate

Loading content...