Struct path::Path [] [src]

pub struct Path {
    // some fields omitted
}

Methods

impl Path

fn evaluate(&mut self, numpts: u8) -> Vec<Vec4<f32>>

Distribute numpts many points along a polyline.

fn length(&mut self) -> f32

Calculate the length of a polyline by summing up the length of all individual vectors.

Trait Implementations

Derived Implementations

impl Debug for Path

fn fmt(&self, __arg_0: &mut Formatter) -> Result