54 Dump(
" $$$ creating G4ErrorPlaneSurfaceTarget from parameters");
70 Dump(
" $$$ creating G4ErrorPlaneSurfaceTarget from point and normal");
88 Dump(
" $$$ creating G4ErrorPlaneSurfaceTarget from three points");
110 G4cout <<
" $$$ creating G4ErrorPlaneSurfaceTarget::Intersect "
123 if( std::fabs( dir.
mag() -1. ) > 1.
E-6 )
126 message <<
"Direction is not a unit vector: " << dir <<
" !";
127 G4Exception(
"G4ErrorPlaneSurfaceTarget::GetDistanceFromPoint()",
131 / (
a_ * dir.
x() +
b_ * dir.
y() +
c_ * dir.
z() );
136 G4cout <<
" G4ErrorPlaneSurfaceTarget::GetDistanceFromPoint()" <<
G4endl
137 <<
" Point: " << pt <<
", Direction: " << dir <<
G4endl
138 <<
" Distance: " << dist <<
G4endl;
156 G4cout <<
" G4ErrorPlaneSurfaceTarget::GetDistanceFromPoint()" <<
G4endl
157 <<
" Point: " << pt <<
G4endl
158 <<
" Distance: " << dist <<
G4endl;
virtual G4ThreeVector Intersect(const G4ThreeVector &point, const G4ThreeVector &direc) const
G4ErrorPlaneSurfaceTarget(G4double a=0, G4double b=0, G4double c=0, G4double d=0)
virtual G4Plane3D GetTangentPlane(const G4ThreeVector &point) const
virtual G4double GetDistanceFromPoint(const G4ThreeVector &point, const G4ThreeVector &direc) const
void message(RunManager *runmanager)
Normal3D< G4double > normal() const
Point3D< G4double > point() const
G4ErrorTargetType theType
~G4ErrorPlaneSurfaceTarget()
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
G4GLOB_DLL std::ostream G4cout
virtual void Dump(const G4String &msg) const