class bgplot.entities.line.Line(u: float, v: float, w: float, x: float, y: float, z: float)

a class that contains the information of a 3D Line: (x, y, z) + t(u, v, w)

Attributes:
ufloat

the u value of the director vector of the line

vfloat

the v value of the director vector of the line

wfloat

the w value of the director vector of the line

x: float

the x value of the point contained in the line

y: float

the y value of the point contained in the line

z: float

the z value of the point contained in the line

classmethod from_two_points(point_1: Point, point_2: Point)

creates a Line instance given two points

Returns:
out~.entities.line.Line

the line given by two points

classmethod from_vector_and_point(vector: Vector, point: Point)

creates a Line instance given a director vector and a point

Returns:
out~.entities.line.Line

the line given by the director vector and the point