#include <plane.h>
Public Member Functions | |
plane () | |
default plane pos = (0,0,0), normal = z | |
plane (const vec3< T > &pos, const vec3< T > &norm) | |
construct a plane from a point and normal | |
plane (const vec3< T > &p1, const vec3< T > &p2, const vec3< T > &p3) | |
construct a plane given 3 points on it. | |
plane (const plane &pl) | |
copy | |
plane & | operator= (const plane &pl) |
assign | |
Public Attributes | |
vec3< T > | p |
vec3< T > | n |
|
default plane pos = (0,0,0), normal = z
Definition at line 32 of file plane.h. References gutz::plane< T >::n, and gutz::plane< T >::p. |
|
construct a plane from a point and normal
Definition at line 36 of file plane.h. References gutz::plane< T >::n, and gutz::plane< T >::p. |
|
construct a plane given 3 points on it.
pos = p1, normal = (p2 - p1) x (p3 - p1) Definition at line 42 of file plane.h. References gutz::plane< T >::n, and gutz::plane< T >::p. |
|
copy
Definition at line 46 of file plane.h. References gutz::plane< T >::n, and gutz::plane< T >::p. |
|
assign
Definition at line 50 of file plane.h. References gutz::plane< T >::n, and gutz::plane< T >::p. |
|
Definition at line 56 of file plane.h. Referenced by gutz::ray3< T >::intersect(), gutz::plane< T >::operator=(), and gutz::plane< T >::plane(). |
|
Definition at line 55 of file plane.h. Referenced by gutz::ray3< T >::intersect(), gutz::plane< T >::operator=(), and gutz::plane< T >::plane(). |