#include <G4LineSection.hh>
Definition at line 47 of file G4LineSection.hh.
◆ G4LineSection()
◆ Dist()
Definition at line 33 of file G4LineSection.cc.
37 G4double sq_VecAZ, inner_prod, unit_projection ;
40 sq_VecAZ = VecAZ.
mag2();
51 if( (0. <= unit_projection ) && (unit_projection <= 1.0 ) )
53 dist_sq= sq_VecAZ - unit_projection * inner_prod ;
60 if( unit_projection < 0. )
68 dist_sq = VecBZ.
mag2();
76 if( dist_sq < 0.0 ) dist_sq = 0.0 ;
78 return std::sqrt(dist_sq) ;
double dot(const Hep3Vector &) const
◆ Distline()
◆ GetABdistanceSq()
G4double G4LineSection::GetABdistanceSq |
( |
| ) |
const |
|
inline |
◆ EndpointA
◆ fABdistanceSq
◆ VecAtoB
The documentation for this class was generated from the following files: