#include <glh_linear.h>
Public Member Functions | |
real | distance (const vec3 &point) const |
real | get_distance_from_origin () const |
const vec3 & | get_normal () const |
bool | intersect (const line &l, vec3 &intersection) const |
bool | is_in_half_space (const vec3 &point) const |
void | offset (real d) |
plane () | |
plane (const vec3 &p0, const vec3 &p1, const vec3 &p2) | |
plane (const vec3 &normal, real distance) | |
plane (const vec3 &normal, const vec3 &point) | |
void | transform (const matrix4 &matrix) |
Public Attributes | |
real | planedistance |
vec3 | planenormal |
Friends | |
bool | operator!= (const plane &p1, const plane &p2) |
bool | operator== (const plane &p1, const plane &p2) |
Definition at line 1471 of file glh_linear.h.
glh::GLH_REAL_NAMESPACE::plane::plane | ( | ) | [inline] |
Definition at line 1475 of file glh_linear.h.
glh::GLH_REAL_NAMESPACE::plane::plane | ( | const vec3 & | p0, |
const vec3 & | p1, | ||
const vec3 & | p2 | ||
) | [inline] |
Definition at line 1482 of file glh_linear.h.
glh::GLH_REAL_NAMESPACE::plane::plane | ( | const vec3 & | normal, |
real | distance | ||
) | [inline] |
Definition at line 1491 of file glh_linear.h.
glh::GLH_REAL_NAMESPACE::plane::plane | ( | const vec3 & | normal, |
const vec3 & | point | ||
) | [inline] |
Definition at line 1498 of file glh_linear.h.
real glh::GLH_REAL_NAMESPACE::plane::distance | ( | const vec3 & | point | ) | const [inline] |
Definition at line 1556 of file glh_linear.h.
real glh::GLH_REAL_NAMESPACE::plane::get_distance_from_origin | ( | ) | const [inline] |
Definition at line 1567 of file glh_linear.h.
const vec3& glh::GLH_REAL_NAMESPACE::plane::get_normal | ( | ) | const [inline] |
Definition at line 1561 of file glh_linear.h.
bool glh::GLH_REAL_NAMESPACE::plane::intersect | ( | const line & | l, |
vec3 & | intersection | ||
) | const [inline] |
Definition at line 1510 of file glh_linear.h.
bool glh::GLH_REAL_NAMESPACE::plane::is_in_half_space | ( | const vec3 & | point | ) | const [inline] |
Definition at line 1547 of file glh_linear.h.
void glh::GLH_REAL_NAMESPACE::plane::offset | ( | real | d | ) | [inline] |
Definition at line 1505 of file glh_linear.h.
void glh::GLH_REAL_NAMESPACE::plane::transform | ( | const matrix4 & | matrix | ) | [inline] |
Definition at line 1530 of file glh_linear.h.
Definition at line 1590 of file glh_linear.h.
Definition at line 1584 of file glh_linear.h.
Definition at line 1580 of file glh_linear.h.
Definition at line 1579 of file glh_linear.h.