53   fType = 
"G4ArrowModel";
 
   55   fGlobalDescription = fType + 
": " + description;
 
   66   const G4double shaftLength = std::sqrt
 
   67     (std::pow(x2-x1,2)+std::pow(y2-y1,2)+std::pow(z2-z1,2));
 
   70   if (shaftRadius > shaftLength/100.) shaftRadius = shaftLength/100.;
 
   71   const G4double halfShaftLength = shaftLength/2.;
 
   72   const G4double halfReduction = 4.*shaftRadius;
 
   73   const G4double halfLength = halfShaftLength-halfReduction;
 
   74   G4Tubs shaft(
"shaft",0.,shaftRadius,halfLength,0.,
twopi);
 
   80   const G4int numRZ = 3;
 
   83   for (
G4int i = 0; i < numRZ; i++) {
 
   84     r[i] *= 2.*shaftRadius;
 
   85     z[i] = halfShaftLength + z[i] * 2.*shaftRadius;
 
   94   const G4Point3D arrowCentre(0.5*(x1+x2),0.5*(y1+y2),0.5*(z1+z2));
 
   97   fpShaftPolyhedron->Transform(tr);
 
   98   fpHeadPolyhedron->Transform(tr);
 
  103   fpShaftPolyhedron->SetVisAttributes(va);
 
  104   fpHeadPolyhedron->SetVisAttributes(va);