Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4GeomTestSegment Class Reference

#include <G4GeomTestSegment.hh>

Public Member Functions

 G4GeomTestSegment (const G4VSolid *theSolid, const G4ThreeVector &theP, const G4ThreeVector &theV, G4GeomTestLogger *logger)
 
const G4VSolidGetSolid () const
 
const G4ThreeVectorGetP () const
 
const G4ThreeVectorGetV () const
 
const G4GeomTestPointGetPoint (G4int i) const
 
G4int GetNumberPoints () const
 

Detailed Description

Definition at line 53 of file G4GeomTestSegment.hh.

Constructor & Destructor Documentation

◆ G4GeomTestSegment()

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

Definition at line 46 of file G4GeomTestSegment.cc.

50 : solid(theSolid),
51 p0(theP),
52 v(theV)
53{
55 FindPoints(logger);
56}
G4double GetSurfaceTolerance() const
static G4GeometryTolerance * GetInstance()

Member Function Documentation

◆ GetNumberPoints()

G4int G4GeomTestSegment::GetNumberPoints ( ) const

Definition at line 72 of file G4GeomTestSegment.cc.

73{
74 return points.size();
75}

Referenced by G4GeomTestVolume::TestOneLine().

◆ GetP()

const G4ThreeVector & G4GeomTestSegment::GetP ( ) const

Definition at line 64 of file G4GeomTestSegment.cc.

64{ return p0; }

◆ GetPoint()

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

Definition at line 81 of file G4GeomTestSegment.cc.

82{
83 return points[i];
84}

Referenced by G4GeomTestVolume::TestOneLine().

◆ GetSolid()

const G4VSolid * G4GeomTestSegment::GetSolid ( ) const

Definition at line 62 of file G4GeomTestSegment.cc.

62{ return solid; }

◆ GetV()

const G4ThreeVector & G4GeomTestSegment::GetV ( ) const

Definition at line 66 of file G4GeomTestSegment.cc.

66{ return v; }

The documentation for this class was generated from the following files: