G4GeomTestVolPoint Class Reference

#include <G4GeomTestVolPoint.hh>

Inheritance diagram for G4GeomTestVolPoint:

G4GeomTestPoint

Public Member Functions

 G4GeomTestVolPoint ()
 G4GeomTestVolPoint (const G4ThreeVector &thePoint, G4double theS, G4bool isEntering, G4int theDaughterIndex)
 G4GeomTestVolPoint (const G4GeomTestPoint &base, G4int theDaughterIndex)
 G4GeomTestVolPoint (const G4GeomTestPoint &base, G4int theDaughterIndex, const G4ThreeVector &translation, const G4RotationMatrix *rotation=0)
 G4GeomTestVolPoint (const G4GeomTestVolPoint &other)
virtual ~G4GeomTestVolPoint ()
G4GeomTestVolPointoperator= (const G4GeomTestVolPoint &other)
G4int GetDaughterIndex () const

Protected Attributes

G4int daughterIndex

Detailed Description

Definition at line 48 of file G4GeomTestVolPoint.hh.


Constructor & Destructor Documentation

G4GeomTestVolPoint::G4GeomTestVolPoint (  ) 

Definition at line 90 of file G4GeomTestVolPoint.cc.

00091   : daughterIndex(-1)
00092 {;}

G4GeomTestVolPoint::G4GeomTestVolPoint ( const G4ThreeVector thePoint,
G4double  theS,
G4bool  isEntering,
G4int  theDaughterIndex 
)

Definition at line 42 of file G4GeomTestVolPoint.cc.

00046   : G4GeomTestPoint( thePoint, theS, isEntering ),
00047     daughterIndex(theDaughterIndex)
00048 {;}

G4GeomTestVolPoint::G4GeomTestVolPoint ( const G4GeomTestPoint base,
G4int  theDaughterIndex 
)

Definition at line 54 of file G4GeomTestVolPoint.cc.

00056   : G4GeomTestPoint( base ), daughterIndex(theDaughterIndex)
00057 {;}

G4GeomTestVolPoint::G4GeomTestVolPoint ( const G4GeomTestPoint base,
G4int  theDaughterIndex,
const G4ThreeVector translation,
const G4RotationMatrix rotation = 0 
)

Definition at line 63 of file G4GeomTestVolPoint.cc.

References G4GeomTestPoint::p.

00067   : G4GeomTestPoint( base ), daughterIndex(theDaughterIndex)
00068 {
00069   //
00070   // Rotate point
00071   //
00072   if (rotation)
00073     p = rotation->inverse()*p - translation;
00074   else
00075     p = p - translation;
00076 }

G4GeomTestVolPoint::G4GeomTestVolPoint ( const G4GeomTestVolPoint other  ) 

Definition at line 82 of file G4GeomTestVolPoint.cc.

00083   : G4GeomTestPoint( other ), daughterIndex(other.daughterIndex)
00084 {;}

G4GeomTestVolPoint::~G4GeomTestVolPoint (  )  [virtual]

Definition at line 98 of file G4GeomTestVolPoint.cc.

00098 {;}


Member Function Documentation

G4int G4GeomTestVolPoint::GetDaughterIndex (  )  const

Definition at line 126 of file G4GeomTestVolPoint.cc.

References daughterIndex.

00127 {
00128   return daughterIndex;
00129 }

G4GeomTestVolPoint & G4GeomTestVolPoint::operator= ( const G4GeomTestVolPoint other  ) 

Definition at line 105 of file G4GeomTestVolPoint.cc.

References daughterIndex, and G4GeomTestPoint::operator=().

00106 {
00107    // Check assignment to self
00108    //
00109    if (this == &other)  { return *this; }
00110 
00111    // Copy base class data
00112    //
00113    G4GeomTestPoint::operator=(other);
00114 
00115    // Copy data
00116    //
00117    daughterIndex = other.daughterIndex;
00118 
00119    return *this;
00120 }


Field Documentation

G4int G4GeomTestVolPoint::daughterIndex [protected]

Definition at line 75 of file G4GeomTestVolPoint.hh.

Referenced by GetDaughterIndex(), and operator=().


The documentation for this class was generated from the following files:
Generated on Mon May 27 17:52:05 2013 for Geant4 by  doxygen 1.4.7