fast::Plane class

Class for a 3D plane.

A plane is defined by a 3D position and a 3D normal

Public static functions

static auto Sagittal() -> Plane
static auto Coronal() -> Plane
static auto Axial() -> Plane

Constructors, destructors, conversion operators

Plane()
Plane(Vector3f normal)
Plane(Vector3f normal, Vector3f position)

Public functions

void setPosition(Vector3f position)
void setNormal(Vector3f normal)
auto getPosition() const -> Vector3f
auto getNormal() const -> Vector3f
auto getIntersectionPoint(Vector3f pointA, Vector3f pointB) const -> Vector3f
auto hasPosition() const -> bool