Skip to main content

Module line

Module line 

Source

Structs§

Line2
An infinite 2D line represented by two sample points.

Functions§

slope
Returns the slope between two points, or None for a vertical line.
try_slope
Returns the slope between two points when both points contain only finite coordinates.