Public Member Functions | Public Attributes | Friends
glh::GLH_REAL_NAMESPACE::plane Class Reference

#include <glh_linear.h>

List of all members.

Public Member Functions

real distance (const vec3 &point) const
real get_distance_from_origin () const
const vec3get_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)

Detailed Description

Definition at line 1471 of file glh_linear.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

real glh::GLH_REAL_NAMESPACE::plane::distance ( const vec3 point) const [inline]

Definition at line 1556 of file glh_linear.h.

Definition at line 1567 of file glh_linear.h.

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.

Definition at line 1505 of file glh_linear.h.

Definition at line 1530 of file glh_linear.h.


Friends And Related Function Documentation

bool operator!= ( const plane p1,
const plane p2 
) [friend]

Definition at line 1590 of file glh_linear.h.

bool operator== ( const plane p1,
const plane p2 
) [friend]

Definition at line 1584 of file glh_linear.h.


Member Data Documentation

Definition at line 1580 of file glh_linear.h.

Definition at line 1579 of file glh_linear.h.


The documentation for this class was generated from the following file:


nao_openni
Author(s): Bener SUAY
autogenerated on Mon Jan 6 2014 11:27:52