Logic for a given plane or N-dimensions. Planes are coordinate systems of one less dimension than the dimension they occupy. More...
#include <Plane.hpp>
Public Member Functions | |
template<uint01 t_new_dims, class t_new_type > | |
Plane< t_new_dims, t_new_type > | as () const |
Vertex< t_dims, t_type > | calculateIntersection (const LineSegment< t_dims, t_type > &line, t_type epsilon) const |
t_type | calculateIntersectionPos (const LineSegment< t_dims, t_type > &line, t_type epsilon) const |
bool | contains (const Vector< 3, t_type > &point, t_type epsilon) const |
t_type | distanceTo (const Vector< t_dims, t_type > &pos) const |
bool | isAbovePlane (const Vector< t_dims, t_type > &pos) const |
bool | isBelowPlane (const Vector< t_dims, t_type > &pos) const |
bool | isSamePlane (const Plane &plane, t_type epsilon) const |
bool | liesOnPlane (const Vector< t_dims, t_type > &pos) const |
Vertex< t_dims, t_type > | nearestPosition (const Vector< 3, fltp08 > &pos) const |
constexpr void | negate () |
bool | operator!= (const Plane &plane) const |
bool | operator== (const Plane &plane) const |
Plane () | |
constexpr | Plane (const Ray< t_dims, t_type > &_normal, const Vertex< t_dims, t_type > &_p) |
constexpr | Plane (const Ray< t_dims, t_type > &_normal, t_type _d) |
constexpr | Plane (const Vertex< t_dims, t_type > &a, const Vertex< t_dims, t_type > &b, const Vertex< t_dims, t_type > &c) |
PlanePosition | planePosition (const Vector< t_dims, t_type > &pos) const |
Matrix< t_type > | projectionMatrix (const Vector< 3, t_type > &up) const |
Static Public Member Functions | |
template<class t_buffer_type > | |
static Plane | CreateBestFitPlane (const t_buffer_type &points, const Vector< t_dims, t_type > &direction_reference=Vector< t_dims, t_type >(0, 0, 1)) |
Public Attributes | |
t_type | d |
Ray< t_dims, t_type > | normal |
Logic for a given plane or N-dimensions. Planes are coordinate systems of one less dimension than the dimension they occupy.
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlinenodiscard |
|
inlinenodiscard |
|
inlinenodiscard |
|
inline |
|
inlinestatic |
|
inlinenodiscard |
|
inlinenodiscard |
|
inlinenodiscard |
|
inline |
|
inlinenodiscard |
|
inlinenodiscard |
|
inlineconstexpr |
|
inline |
|
inline |
|
inlinenodiscard |
|
inlinenodiscard |
t_type d |