A plane. More...
#include <Plane.hpp>
Public Member Functions | |
| float | distance (const BaseVecT &other) const |
| Calculates the distance between the plane and the given point. More... | |
| Line< BaseVecT > | intersect (const Plane< BaseVecT > &other) const |
| Calculates the intersection between this and other. More... | |
| Plane () | |
| BaseVecT | project (const BaseVecT &other) const |
| Projects the given point onto the plane and returns the projection point. More... | |
Public Attributes | |
| Normal< typename BaseVecT::CoordType > | normal |
| BaseVecT | pos |
A plane.
A plane represented by a normal and a position vector.
|
inline |
| float lvr2::Plane< BaseVecT >::distance | ( | const BaseVecT & | other | ) | const |
Calculates the distance between the plane and the given point.
| Line<BaseVecT> lvr2::Plane< BaseVecT >::intersect | ( | const Plane< BaseVecT > & | other | ) | const |
Calculates the intersection between this and other.
| BaseVecT lvr2::Plane< BaseVecT >::project | ( | const BaseVecT & | other | ) | const |
Projects the given point onto the plane and returns the projection point.
| Normal<typename BaseVecT::CoordType> lvr2::Plane< BaseVecT >::normal |
| BaseVecT lvr2::Plane< BaseVecT >::pos |