Two-dimensional lines

src.geometry.line2d.standard_line(x0, y0, x1, y1)[source]

Computes the coefficients of Ax + By + C = 0 given two plane points.

Returns:a tuple (A, B, C); it is (0, 0, 0) if both points are the same