Public Member Functions | Public Attributes | List of all members
Plane Class Reference

Public Member Functions

void set_normal (const Vector3 &p_normal)
 
_FORCE_INLINE_ Vector3 get_normal () const
 
void normalize ()
 Point is coplanar, CMP_EPSILON for precision.
 
Plane normalized () const
 
_FORCE_INLINE_ Vector3 center () const
 
Vector3 get_any_point () const
 
Vector3 get_any_perpendicular_normal () const
 
_FORCE_INLINE_ bool is_point_over (const Vector3 &p_point) const
 Point is over plane.
 
_FORCE_INLINE_ real_t distance_to (const Vector3 &p_point) const
 
_FORCE_INLINE_ bool has_point (const Vector3 &p_point, real_t _epsilon=CMP_EPSILON) const
 
bool intersect_3 (const Plane &p_plane1, const Plane &p_plane2, Vector3 *r_result=0) const
 
bool intersects_ray (Vector3 p_from, Vector3 p_dir, Vector3 *p_intersection) const
 
bool intersects_segment (Vector3 p_begin, Vector3 p_end, Vector3 *p_intersection) const
 
_FORCE_INLINE_ Vector3 project (const Vector3 &p_point) const
 
Plane operator- () const
 
bool is_almost_like (const Plane &p_plane) const
 
_FORCE_INLINE_ bool operator== (const Plane &p_plane) const
 
_FORCE_INLINE_ bool operator!= (const Plane &p_plane) const
 
 operator String () const
 
_FORCE_INLINE_ Plane (real_t p_a, real_t p_b, real_t p_c, real_t p_d)
 
_FORCE_INLINE_ Plane (const Vector3 &p_normal, real_t p_d)
 
_FORCE_INLINE_ Plane (const Vector3 &p_point, const Vector3 &p_normal)
 
_FORCE_INLINE_ Plane (const Vector3 &p_point1, const Vector3 &p_point2, const Vector3 &p_point3, ClockDirection p_dir=CLOCKWISE)
 

Public Attributes

Vector3 normal
 
real_t d
 

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