47 : fverbose(false), fcheck(false), fnormalNav(0)
63 const G4double currentProposedStepLength,
71 G4int& blockedReplicaNo)
86 LevelLocate( history, *pBlockedPhysical, blockedReplicaNo,
87 globalPoint, &globalDirection,
true, localPoint2 );
110 currentProposedStepLength,
126 const G4double currentProposedStepLength,
134 G4int& blockedReplicaNo,
146 currentProposedStepLength,
177 G4ThreeVector prevVoxelTranslation = containerPoint - localPoint;
202 newStep = voxelBox->
DistanceToOut( localPoint, localDirection );
204 if( (bFirstStep) && (newStep < currentProposedStepLength) )
210 newStep += kCarTolerance;
212 totalNewStep += newStep;
216 if(std::fabs(totalNewStep-currentProposedStepLength) < kCarTolerance)
218 return currentProposedStepLength;
220 if(totalNewStep > currentProposedStepLength)
223 AddStepLength(copyNo, newStep-totalNewStep+currentProposedStepLength);
224 return currentProposedStepLength;
234 containerPoint += newStep*localDirection;
242 copyNo = param->
GetReplicaNo(containerPoint,localDirection);
249 localPoint += newStep*localDirection;
250 localPoint += prevVoxelTranslation - voxelTranslation;
252 prevVoxelTranslation = voxelTranslation;
257 if( currentMate != nextMate ) {
break; }
313 if( globalDirection )
324 replicaNo = pParam->
GetReplicaNo( localPoint, localDir );
344 pPhysical, &parentTouchable) );