|
Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
|
G4LineSection is a utility class that calculates the distance of a point from a line section. More...
#include <G4LineSection.hh>
Public Member Functions | |
| G4LineSection (const G4ThreeVector &PntA, const G4ThreeVector &PntB) | |
| ~G4LineSection ()=default | |
| G4double | Dist (const G4ThreeVector &OtherPnt) const |
| G4double | GetABdistanceSq () const |
Static Public Member Functions | |
| static G4double | Distline (const G4ThreeVector &OtherPnt, const G4ThreeVector &LinePntA, const G4ThreeVector &LinePntB) |
G4LineSection is a utility class that calculates the distance of a point from a line section.
Definition at line 47 of file G4LineSection.hh.
| G4LineSection::G4LineSection | ( | const G4ThreeVector & | PntA, |
| const G4ThreeVector & | PntB ) |
Constructor for G4LineSection.
| [in] | PntA | Coordinates of point A defining the line. |
| [in] | PntB | Coordinates of point B defining the line. |
Definition at line 33 of file G4LineSection.cc.
Referenced by Distline().
|
default |
Default Destructor.
| G4double G4LineSection::Dist | ( | const G4ThreeVector & | OtherPnt | ) | const |
Returns the distance of point 'OtherPnt' from the line.
Definition at line 40 of file G4LineSection.cc.
Referenced by Distline().
|
inlinestatic |
Defines line and returns the distance of point 'OtherPnt' from it.
Definition at line 96 of file G4LineSection.hh.
Referenced by G4BogackiShampine23::DistChord(), G4BogackiShampine45::DistChord(), G4CashKarpRKF45::DistChord(), G4ConstRK4::DistChord(), G4DoLoMcPriRK34::DistChord(), G4DormandPrince745::DistChord(), G4DormandPrinceRK56::DistChord(), G4DormandPrinceRK78::DistChord(), G4FSALBogackiShampine45::DistChord(), G4FSALDormandPrince745::DistChord(), G4MagErrorStepper::DistChord(), G4NystromRK4::DistChord(), G4RK547FEq1::DistChord(), G4RK547FEq2::DistChord(), G4RK547FEq3::DistChord(), G4RKG3_Stepper::DistChord(), G4TCashKarpRKF45< T_Equation, N >::DistChord(), G4TDormandPrince45< T_Equation, N >::DistChord(), G4TMagErrorStepper< T_Stepper, T_Equation, N >::DistChord(), G4TsitourasRK45::DistChord(), and G4BorisDriver::QuickAdvance().
|
inline |
Returns the distance squared.
Definition at line 90 of file G4LineSection.hh.