Function line2d

Source
pub fn line2d(algorithm: LineAlg, start: Point, end: Point) -> Vec<Point>
Expand description

Plots a line between two 2D points and returns a vector of points along the line.