Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

EmcRecGeoPlane Class Reference

#include <EmcRecEndCapGeo.h>

List of all members.

Public Member Functions

void Build (const HepPoint3D &p1, const HepPoint3D &p2, const HepPoint3D &p3)
void Build (const HepPoint3D &n, const HepPoint3D &p)
void Build (double a=0, double b=0, double c=0, double d=0)
void Build (const HepPoint3D &p1, const HepPoint3D &p2, const HepPoint3D &p3)
void Build (const HepPoint3D &n, const HepPoint3D &p)
void Build (double a=0, double b=0, double c=0, double d=0)
 EmcRecGeoPlane (const HepPoint3D &p1, const HepPoint3D &p2, const HepPoint3D &p3)
 Constructor from three points.
 EmcRecGeoPlane (const HepPoint3D &n, const HepPoint3D &p)
 Constructor from normal and point.
 EmcRecGeoPlane (double a=0, double b=0, double c=0, double d=0)
 EmcRecGeoPlane (const HepPoint3D &p1, const HepPoint3D &p2, const HepPoint3D &p3)
 Constructor from three points.
 EmcRecGeoPlane (const HepPoint3D &n, const HepPoint3D &p)
 Constructor from normal and point.
 EmcRecGeoPlane (double a=0, double b=0, double c=0, double d=0)
EmcRecGeoPlaneoperator= (const EmcRecGeoPlane &plane)
 Assignment.
EmcRecGeoPlaneoperator= (const EmcRecGeoPlane &plane)
 Assignment.


Constructor & Destructor Documentation

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:

   a*x+b*y+c*z+d=0
00127                                                                   {
00128       a_=a; b_=b; c_=c; d_=d; return; }

EmcRecGeoPlane::EmcRecGeoPlane const HepPoint3D n,
const HepPoint3D p
[inline]
 

Constructor from normal and point.

00131                                                             {
00132       a_=n.x(); b_=n.y(); c_=n.z(); d_=-n*p; return; }

EmcRecGeoPlane::EmcRecGeoPlane const HepPoint3D p1,
const HepPoint3D p2,
const HepPoint3D p3
[inline]
 

Constructor from three points.

00136      {
00137         HepNormal3D n = (p2-p1).cross(p3-p1);
00138         a_ = n.x(); b_ = n.y(); c_ = n.z(); d_ = -n*p1;
00139      }

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:

   a*x+b*y+c*z+d=0
00127                                                                   {
00128       a_=a; b_=b; c_=c; d_=d; return; }

EmcRecGeoPlane::EmcRecGeoPlane const HepPoint3D n,
const HepPoint3D p
[inline]
 

Constructor from normal and point.

00131                                                             {
00132       a_=n.x(); b_=n.y(); c_=n.z(); d_=-n*p; return; }

EmcRecGeoPlane::EmcRecGeoPlane const HepPoint3D p1,
const HepPoint3D p2,
const HepPoint3D p3
[inline]
 

Constructor from three points.

00136      {
00137         HepNormal3D n = (p2-p1).cross(p3-p1);
00138         a_ = n.x(); b_ = n.y(); c_ = n.z(); d_ = -n*p1;
00139      }


Member Function Documentation

void EmcRecGeoPlane::Build const HepPoint3D p1,
const HepPoint3D p2,
const HepPoint3D p3
[inline]
 

00156                                                                                 {
00157       HepNormal3D n = (p2-p1).cross(p3-p1);
00158       a_ = n.x(); b_ = n.y(); c_ = n.z(); d_ = -n*p1;
00159       return; }

void EmcRecGeoPlane::Build const HepPoint3D n,
const HepPoint3D p
[inline]
 

00153                                                         {
00154       a_=n.x(); b_=n.y(); c_=n.z(); d_=-n*p; return; }

void EmcRecGeoPlane::Build double  a = 0,
double  b = 0,
double  c = 0,
double  d = 0
[inline]
 

00150                                                               {
00151         a_=a; b_=b; c_=c; d_=d; return; }

void EmcRecGeoPlane::Build const HepPoint3D p1,
const HepPoint3D p2,
const HepPoint3D p3
[inline]
 

00156                                                                                 {
00157       HepNormal3D n = (p2-p1).cross(p3-p1);
00158       a_ = n.x(); b_ = n.y(); c_ = n.z(); d_ = -n*p1;
00159       return; }

void EmcRecGeoPlane::Build const HepPoint3D n,
const HepPoint3D p
[inline]
 

00153                                                         {
00154       a_=n.x(); b_=n.y(); c_=n.z(); d_=-n*p; return; }

void EmcRecGeoPlane::Build double  a = 0,
double  b = 0,
double  c = 0,
double  d = 0
[inline]
 

00150                                                               {
00151         a_=a; b_=b; c_=c; d_=d; return; }

EmcRecGeoPlane& EmcRecGeoPlane::operator= const EmcRecGeoPlane plane  )  [inline]
 

Assignment.

00142                                                           {
00143       if(this!=&plane) {
00144          a_ = plane.a_; b_ = plane.b_; c_ = plane.c_; d_ = plane.d_;
00145       } 
00146       return *this;
00147    }

EmcRecGeoPlane& EmcRecGeoPlane::operator= const EmcRecGeoPlane plane  )  [inline]
 

Assignment.

00142                                                           {
00143       if(this!=&plane) {
00144          a_ = plane.a_; b_ = plane.b_; c_ = plane.c_; d_ = plane.d_;
00145       } 
00146       return *this;
00147    }


The documentation for this class was generated from the following files:
Generated on Wed Feb 2 16:01:59 2011 for BOSS6.5.5 by  doxygen 1.3.9.1