Trait libfive::Point2

source ·
pub trait Point2 {
    // Required methods
    fn new(x: f32, y: f32) -> Self;
    fn x(&self) -> f32;
    fn y(&self) -> f32;
}
Expand description

Trait to aid with using arbitrary 2D point types on a Contour.

Required Methods§

source

fn new(x: f32, y: f32) -> Self

source

fn x(&self) -> f32

source

fn y(&self) -> f32

Object Safety§

This trait is not object safe.

Implementors§