41 #ifndef G4LineSection_hh
42 #define G4LineSection_hh
72 : EndpointA(PntA), VecAtoB(PntB-PntA)
74 fABdistanceSq = VecAtoB.
mag2();
89 return LineAB.
Dist( OtherPnt );
G4double Dist(G4ThreeVector OtherPnt) const
static G4double Distline(const G4ThreeVector &OtherPnt, const G4ThreeVector &LinePntA, const G4ThreeVector &LinePntB)
G4double GetABdistanceSq() const
G4LineSection(const G4ThreeVector &PntA, const G4ThreeVector &PntB)