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) ;  
 G4double Dist(G4ThreeVector OtherPnt) const
 
double dot(const Hep3Vector &) const