[][src]Trait descartes::Segment

pub trait Segment {
    fn start(&self) -> P2;
fn end(&self) -> P2;
fn length(&self) -> N;
fn start_direction(&self) -> V2;
fn end_direction(&self) -> V2;
fn subdivisions_without_end(&self, max_angle: N) -> Vec<P2>; }

Required methods

fn start(&self) -> P2

fn end(&self) -> P2

fn length(&self) -> N

fn start_direction(&self) -> V2

fn end_direction(&self) -> V2

fn subdivisions_without_end(&self, max_angle: N) -> Vec<P2>

Loading content...

Implementors

impl Segment for ArcOrLineSegment[src]

impl Segment for ArcSegment[src]

impl Segment for LineSegment[src]

Loading content...