#include <lvt/Vec.h>
Public Member Functions | |
| PlaneClass | Classify (const Vec &p) const |
| Classifies the point p with respect to the plane. | |
| Plane & | Flip () |
| Reverses the direction of the Plane's normal. | |
| const Vec & | GetNormal () const |
| Returns the plane's normal vector. | |
| float | Intersection (const Vec &startp, const Vec &endp) const |
| Returns the parameter of the line segment from startp to endp of the intersection of the segment with the plane. | |
| Vec | PointOnPlane () const |
| Returns the point on the plane that is nearest the origin. | |
|
|
Classifies the point p with respect to the plane.
|
|
|
Reverses the direction of the Plane's normal.
|
|
|
Returns the plane's normal vector.
|
|
||||||||||||
|
Returns the parameter of the line segment from startp to endp of the intersection of the segment with the plane.
|
|
|
Returns the point on the plane that is nearest the origin.
|
1.4.1