5 #include <LCGeometryTypes.h>
23 LCPlane3D(
double a = 0,
double b = 0,
double c = 1,
double d = 0) ;
39 LCPlane3D(LCVector3D point1, LCVector3D point2, LCVector3D point3) ;
81 LCVector3D
normal()
const ;
95 double distance(
const LCVector3D & point)
const ;
101 LCVector3D
projectPoint(
const LCVector3D & point)
const ;
116 double _a, _b, _c, _d;
119 std::ostream & operator << (std::ostream &os,
const LCPlane3D &p) ;
double a() const
Returns the a-coefficient in the plane equation: a*x+b*y+c*z+d=0.
Definition: LCPlane3D.cc:76
LCPlane3D & operator=(const LCPlane3D &rhs)
Assignment.
Definition: LCPlane3D.cc:66
double d() const
Returns the free member of the plane equation: a*x+b*y+c*z+d=0.
Definition: LCPlane3D.cc:91
~LCPlane3D()
Destructor.
Definition: LCPlane3D.h:56
double b() const
Returns the b-coefficient in the plane equation: a*x+b*y+c*z+d=0.
Definition: LCPlane3D.cc:81
bool operator==(const LCPlane3D &plane) const
Test for equality.
Definition: LCPlane3D.cc:134
LCPlane3D(double a=0, double b=0, double c=1, double d=0)
Constructor from four numbers - creates plane a*x+b*y+c*z+d=0.
Definition: LCPlane3D.cc:11
double distance(const LCVector3D &point) const
Distance of a point to the plane.
Definition: LCPlane3D.cc:117
bool operator!=(const LCPlane3D &plane) const
Test for inequality.
Definition: LCPlane3D.cc:142
LCVector3D projectPoint() const
Projection of the origin onto the plane.
Definition: LCPlane3D.cc:128
Definition of a LCPlane3D describing a geometrical plane in 3D space.
Definition: LCPlane3D.h:12
double c() const
Returns the c-coefficient in the plane equation: a*x+b*y+c*z+d=0.
Definition: LCPlane3D.cc:86
LCPlane3D & normalize()
Normalization.
Definition: LCPlane3D.cc:102
LCVector3D normal() const
Returns normal.
Definition: LCPlane3D.cc:96