Plane class.
More...
#include <aeongames/Plane.hpp>
|
|
DLL | Plane () |
| | Default constructor.
|
| DLL | Plane (float aNormalX, float aNormalY, float aNormalZ, float aDistance) |
| | Construct a plane from a normal vector and distance.
|
|
DLL | ~Plane () |
| | destructor.
|
| DLL const Vector3 & | GetNormal () const |
| | Get the plane normal vector.
|
| DLL const float & | GetDistance () const |
| | Get the distance from the origin to the plane.
|
Plane class.
Definition at line 32 of file Plane.hpp.
◆ Plane()
| AeonGames::Plane::Plane |
( |
float | aNormalX, |
|
|
float | aNormalY, |
|
|
float | aNormalZ, |
|
|
float | aDistance ) |
Construct a plane from a normal vector and distance.
- Parameters
-
| aNormalX | X component of the plane normal. |
| aNormalY | Y component of the plane normal. |
| aNormalZ | Z component of the plane normal. |
| aDistance | Distance from the origin along the normal. |
Definition at line 25 of file Plane.cpp.
◆ GetDistance()
| const float & AeonGames::Plane::GetDistance |
( |
| ) |
const |
Get the distance from the origin to the plane.
- Returns
- Const reference to the distance value.
Definition at line 45 of file Plane.cpp.
◆ GetNormal()
| const Vector3 & AeonGames::Plane::GetNormal |
( |
| ) |
const |
Get the plane normal vector.
- Returns
- Const reference to the normal vector.
Definition at line 40 of file Plane.cpp.
The documentation for this class was generated from the following files: