class bgplot.entities.plane.Plane(a: float, b: float, c: float, d: float)

a class that contains information about the mathematical representation of a plane: ax+by+cz+d = 0

Attributes:
afloat

“a” coefficient of the plane equation

bfloat

“b” coefficient of the plane equation

cfloat

“c” coefficient of the plane equation

dfloat

“d” constant of the plane equation

classmethod from_line_and_point(line: Line, point: Point)

creates a plane from a line and a point

Returns:
out~.entities.plane.Plane

the plane formed given by the line and the point

classmethod from_normal_vector_and_point(vector: Vector, point: Point)

creates a plane from a normal vector and a point

Returns:
out~.entities.plane.Plane

the plane formed by the given normal vector and point

Raises:
ValueError

if the normal vector has no dimension

classmethod from_three_points(point_1: Point, point_2: Point, point_3: Point)

creates a plane given three different points

Returns:
out~.entities.plane.Plane

the plane formed by the three given points

classmethod from_two_vectors_and_point(vector_1: Vector, vector_2: Vector, point: Point)

creates a plane from two vectors and a point

Returns:
out~.entities.plane.Plane

the plane formed by the given vectors and point

Raises:
ValueError

if any of the given vectors has no dimensions