Import Geant4 0.1.0 source tree
This commit is contained in:
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4FPlane.hh,v 2.15 1998/12/09 14:49:17 broglia Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
// $Id: G4FPlane.hh,v 1.4 1999/05/12 13:56:33 sgiani Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
//
|
||||
// L. Broglia
|
||||
//
|
||||
@@ -19,7 +19,12 @@
|
||||
// - closest intersection
|
||||
// - intersection by a ray
|
||||
//
|
||||
// Corrections by S.Giani:
|
||||
//
|
||||
// - SurfaceNormal always returns the direction of NormalX, always containing
|
||||
// the correct orientation for all faces.
|
||||
// - Addition of default argument sense = 1 in the second constructor.
|
||||
|
||||
|
||||
#ifndef __PLANESURFACE_H
|
||||
#define __PLANESURFACE_H
|
||||
@@ -46,7 +51,8 @@ public:
|
||||
|
||||
// Constructor used by G4BREPSolidBox and G4BREPSolidPolyhedra
|
||||
G4FPlane(const G4Point3DVector* pVec,
|
||||
const G4Point3DVector* iVec= 0);
|
||||
const G4Point3DVector* iVec= 0,
|
||||
int sense = 1);
|
||||
|
||||
// hit point of the ray on the surface
|
||||
G4Point3D hitpoint;
|
||||
@@ -95,7 +101,7 @@ public:
|
||||
|
||||
G4Vector3D SurfaceNormal(const G4Point3D& Pt)const
|
||||
{
|
||||
return NormalX->GetDir();
|
||||
return NormalX->GetDir();
|
||||
}
|
||||
|
||||
virtual char *Name() const { return "G4FPlane"; }
|
||||
|
||||
Reference in New Issue
Block a user