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