Line#

class Line(A, B)#

Bases: object

An infinite line determined by two points A and B.

__init__(A, B)#

Methods

__init__(A, B)

length(self)

Infinite line has infinite length.

parameter_from_point(point)

For the line T = A + t(B-A), return t such that T = point (if on the line).

parameter_from_point(point)#

For the line T = A + t(B-A), return t such that T = point (if on the line).

static length(self)#

Infinite line has infinite length.