G4GeomTestSegment Class Reference

#include <G4GeomTestSegment.hh>


Public Member Functions

 G4GeomTestSegment (const G4VSolid *theSolid, const G4ThreeVector &theP, const G4ThreeVector &theV, G4GeomTestLogger *logger)
const G4VSolid * GetSolid () const
const G4ThreeVector & GetP () const
const G4ThreeVector & GetV () const
const G4GeomTestPoint & GetPoint (G4int i) const
G4int GetNumberPoints () const


Detailed Description

Definition at line 53 of file G4GeomTestSegment.hh.


Constructor & Destructor Documentation

G4GeomTestSegment::G4GeomTestSegment ( const G4VSolid *  theSolid,
const G4ThreeVector &  theP,
const G4ThreeVector &  theV,
G4GeomTestLogger *  logger 
)

Definition at line 46 of file G4GeomTestSegment.cc.

References G4GeometryTolerance::GetInstance(), and G4GeometryTolerance::GetSurfaceTolerance().

00050   : solid(theSolid),
00051     p0(theP),
00052     v(theV)
00053 {
00054   kCarTolerance = G4GeometryTolerance::GetInstance()->GetSurfaceTolerance();
00055   FindPoints(logger);
00056 }


Member Function Documentation

G4int G4GeomTestSegment::GetNumberPoints (  )  const

Definition at line 72 of file G4GeomTestSegment.cc.

00073 {
00074   return points.size();
00075 }

const G4ThreeVector & G4GeomTestSegment::GetP (  )  const

Definition at line 64 of file G4GeomTestSegment.cc.

00064 { return p0; }

const G4GeomTestPoint & G4GeomTestSegment::GetPoint ( G4int  i  )  const

Definition at line 81 of file G4GeomTestSegment.cc.

00082 {
00083   return points[i];
00084 }

const G4VSolid * G4GeomTestSegment::GetSolid (  )  const

Definition at line 62 of file G4GeomTestSegment.cc.

00062 { return solid; }

const G4ThreeVector & G4GeomTestSegment::GetV (  )  const

Definition at line 66 of file G4GeomTestSegment.cc.

00066 { return v; }


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