- 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