Skip to main content

slope

Function slope 

Source
pub fn slope(left: Point2, right: Point2) -> Option<f64>
Expand description

Returns the slope between two points, or None for a vertical line.