Geant4  10.01.p02
G4LineSection Class Reference

#include <G4LineSection.hh>

Public Member Functions

 G4LineSection (const G4ThreeVector &PntA, const G4ThreeVector &PntB)
 
G4double Dist (G4ThreeVector OtherPnt) const
 
G4double GetABdistanceSq () const
 

Static Public Member Functions

static G4double Distline (const G4ThreeVector &OtherPnt, const G4ThreeVector &LinePntA, const G4ThreeVector &LinePntB)
 

Private Attributes

G4ThreeVector EndpointA
 
G4ThreeVector VecAtoB
 
G4double fABdistanceSq
 

Detailed Description

Definition at line 47 of file G4LineSection.hh.

Constructor & Destructor Documentation

G4LineSection::G4LineSection ( const G4ThreeVector PntA,
const G4ThreeVector PntB 
)
inline

Definition at line 70 of file G4LineSection.hh.

References fABdistanceSq, and VecAtoB.

Member Function Documentation

G4double G4LineSection::Dist ( G4ThreeVector  OtherPnt) const

Definition at line 33 of file G4LineSection.cc.

References EndpointA, fABdistanceSq, and VecAtoB.

Referenced by Distline().

+ Here is the caller graph for this function:

G4double G4LineSection::Distline ( const G4ThreeVector OtherPnt,
const G4ThreeVector LinePntA,
const G4ThreeVector LinePntB 
)
inlinestatic

Definition at line 84 of file G4LineSection.hh.

References Dist().

Referenced by G4ConstRK4::DistChord(), G4RKG3_Stepper::DistChord(), G4CashKarpRKF45::DistChord(), and G4MagErrorStepper::DistChord().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4LineSection::GetABdistanceSq ( ) const
inline

Definition at line 78 of file G4LineSection.hh.

References fABdistanceSq.

Member Data Documentation

G4ThreeVector G4LineSection::EndpointA
private

Definition at line 62 of file G4LineSection.hh.

Referenced by Dist().

G4double G4LineSection::fABdistanceSq
private

Definition at line 64 of file G4LineSection.hh.

Referenced by Dist(), G4LineSection(), and GetABdistanceSq().

G4ThreeVector G4LineSection::VecAtoB
private

Definition at line 63 of file G4LineSection.hh.

Referenced by Dist(), and G4LineSection().


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