51 Dump(
" $$$ creating G4ErrorPlaneSurfaceTarget from parameters");
67 Dump(
" $$$ creating G4ErrorPlaneSurfaceTarget from point and normal");
85 Dump(
" $$$ creating G4ErrorPlaneSurfaceTarget from three points");
101 G4cout <<
" $$$ creating G4ErrorPlaneSurfaceTarget::Intersect "
114 if( std::fabs( dir.
mag() -1. ) > 1.E-6 )
116 std::ostringstream message;
117 message <<
"Direction is not a unit vector: " << dir <<
" !";
118 G4Exception(
"G4ErrorPlaneSurfaceTarget::GetDistanceFromPoint()",
122 / (
a_ * dir.
x() +
b_ * dir.
y() +
c_ * dir.
z() );
127 G4cout <<
" G4ErrorPlaneSurfaceTarget::GetDistanceFromPoint()" <<
G4endl
128 <<
" Point: " << pt <<
", Direction: " << dir <<
G4endl
129 <<
" Distance: " << dist <<
G4endl;
147 G4cout <<
" G4ErrorPlaneSurfaceTarget::GetDistanceFromPoint()" <<
G4endl
148 <<
" Point: " << pt <<
G4endl
149 <<
" Distance: " << dist <<
G4endl;
@ G4ErrorTarget_PlaneSurface
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
G4GLOB_DLL std::ostream G4cout
G4Plane3D GetTangentPlane(const G4ThreeVector &point) const override
G4double GetDistanceFromPoint(const G4ThreeVector &point, const G4ThreeVector &direc) const override
virtual G4ThreeVector Intersect(const G4ThreeVector &point, const G4ThreeVector &direc) const
void Dump(const G4String &msg) const override
G4ErrorPlaneSurfaceTarget(G4double a=0., G4double b=0., G4double c=0., G4double d=0.)
G4ErrorTargetType theType
Normal3D< G4double > normal() const
Point3D< G4double > point() const