1 #ifndef SCENEVIEW_PLANE_HPP__ 
    2 #define SCENEVIEW_PLANE_HPP__ 
   38     Plane(
float a, 
float b, 
float c, 
float d);
 
   45     Plane(
const QVector3D& normal, 
float d);
 
   83     const QVector3D& 
Normal()
 const { 
return normal_; }
 
   88     float D()
 const { 
return d_; }
 
   97 #endif  // SCENEVIEW_PLANE_HPP__ 
A 3D plane. 
Definition: plane.hpp:26
 
const QVector3D & Normal() const 
Returns the plane's normal vector . 
Definition: plane.hpp:83
 
static Plane FromThreePoints(const QVector3D &p1, const QVector3D &p2, const QVector3D &p3)
Create a plane from three points. 
 
float D() const 
Returns the plane's d parameter. 
Definition: plane.hpp:88
 
Plane()
Construct an invalid plane with zero coefficients. 
 
float SignedDistance(const QVector3D &point) const 
Computes the signed distance of a point from the plane.