Pathfinder
Public Member Functions | Public Attributes | List of all members
Pathfinder::Plane Struct Reference

This struct models a plane of the form ax + by + cz + d = 0. More...

#include <Plane.h>

Collaboration diagram for Pathfinder::Plane:

Public Member Functions

 Plane (const float &a, const float &b, const float &c, const float &d)
 A basic constructor that creates a plane from four parameters. More...
 
 Plane (const Geometry::Vec3 &u, const Geometry::Vec3 &v, const Geometry::Vec3 &w)
 A basic constructor that creates a plane from three vectors. More...
 

Public Attributes

float a
 Parameter a of the plane. More...
 
float b
 Parameter b of the plane. More...
 
float c
 Parameter c of the plane. More...
 
float d
 Parameter d of the plane. More...
 

Detailed Description

This struct models a plane of the form ax + by + cz + d = 0.

Constructor & Destructor Documentation

◆ Plane() [1/2]

Pathfinder::Plane::Plane ( const float &  a,
const float &  b,
const float &  c,
const float &  d 
)

A basic constructor that creates a plane from four parameters.

Parameters
aParameter a of the plane.
bParameter b of the plane.
cParameter c of the plane.
dParameter d of the plane.

◆ Plane() [2/2]

Pathfinder::Plane::Plane ( const Geometry::Vec3 &  u,
const Geometry::Vec3 &  v,
const Geometry::Vec3 &  w 
)

A basic constructor that creates a plane from three vectors.

Parameters
uThe first vector defining the plane.
vThe second vector defining the plane.
wThe third vector defining the plane.

Member Data Documentation

◆ a

float Pathfinder::Plane::a

Parameter a of the plane.

◆ b

float Pathfinder::Plane::b

Parameter b of the plane.

◆ c

float Pathfinder::Plane::c

Parameter c of the plane.

◆ d

float Pathfinder::Plane::d

Parameter d of the plane.


The documentation for this struct was generated from the following files: