#include <EmcRecEndCapGeo.h>
|
| EmcRecGeoPlane (double a=0, double b=0, double c=0, double d=0) |
|
| EmcRecGeoPlane (const HepPoint3D &n, const HepPoint3D &p) |
| Constructor from normal and point.
|
|
| EmcRecGeoPlane (const HepPoint3D &p1, const HepPoint3D &p2, const HepPoint3D &p3) |
| Constructor from three points.
|
|
EmcRecGeoPlane & | operator= (const EmcRecGeoPlane &plane) |
| Assignment
|
|
void | Build (double a=0, double b=0, double c=0, double d=0) |
|
void | Build (const HepPoint3D &n, const HepPoint3D &p) |
|
void | Build (const HepPoint3D &p1, const HepPoint3D &p2, const HepPoint3D &p3) |
|
Definition at line 117 of file EmcRecEndCapGeo.h.
◆ EmcRecGeoPlane() [1/3]
EmcRecGeoPlane::EmcRecGeoPlane |
( |
double |
a = 0 , |
|
|
double |
b = 0 , |
|
|
double |
c = 0 , |
|
|
double |
d = 0 |
|
) |
| |
|
inline |
Constructor from four numbers. The numbers are the coefficients of the equation of the plane:
Definition at line 127 of file EmcRecEndCapGeo.h.
127 {
128 a_=a; b_=b; c_=c; d_=d; return; }
◆ EmcRecGeoPlane() [2/3]
Constructor from normal and point.
Definition at line 131 of file EmcRecEndCapGeo.h.
131 {
132 a_=
n.x(); b_=
n.y(); c_=
n.z(); d_=-
n*p;
return; }
◆ EmcRecGeoPlane() [3/3]
Constructor from three points.
Definition at line 135 of file EmcRecEndCapGeo.h.
136 {
138 a_ =
n.x(); b_ =
n.y(); c_ =
n.z(); d_ = -
n*p1;
139 }
HepGeom::Normal3D< double > HepNormal3D
EvtVector3R cross(const EvtVector3R &p1, const EvtVector3R &p2)
◆ Build() [1/3]
◆ Build() [2/3]
Definition at line 156 of file EmcRecEndCapGeo.h.
156 {
158 a_ =
n.x(); b_ =
n.y(); c_ =
n.z(); d_ = -
n*p1;
159 return; }
◆ Build() [3/3]
void EmcRecGeoPlane::Build |
( |
double |
a = 0 , |
|
|
double |
b = 0 , |
|
|
double |
c = 0 , |
|
|
double |
d = 0 |
|
) |
| |
|
inline |
◆ operator=()
Assignment
Definition at line 142 of file EmcRecEndCapGeo.h.
142 {
143 if(this!=&plane) {
144 a_ = plane.a_; b_ = plane.b_; c_ = plane.c_; d_ = plane.d_;
145 }
146 return *this;
147 }
The documentation for this class was generated from the following file: