Stellarium  0.90.0
List of all members | Public Member Functions | Public Attributes
Plane Class Reference
+ Collaboration diagram for Plane:

Public Member Functions

 Plane (Vec3f &v1, Vec3f &v2, Vec3f &v3)
 
 Plane (const Vec4f &e)
 
 Plane (const Vec3f &v1, const Vec3f &v2, const Vec3f &v3, SPolygon::Order o)
 
void setPoints (const Vec3f &v1, const Vec3f &v2, const Vec3f &v3, SPolygon::Order o=SPolygon::CCW)
 
float calcDistance (const Vec3f p) const
 
bool isBehind (const Vec3f &p) const
 
void saveValues ()
 
void resetValues ()
 
bool intersect (const Line &l, float &val) const
 

Public Attributes

Vec3f normal
 
Vec3f sNormal
 
Vec3f p
 
Vec3f sP
 
float distance
 
float sDistance
 

Detailed Description

Definition at line 27 of file Plane.hpp.


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