Import Geant4 3.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-08 15:55:53 +02:00
parent e7d7193284
commit cfcb558cfe
3050 changed files with 91703 additions and 48310 deletions
@@ -5,33 +5,51 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4ConvexHull.hh,v 1.2 1999/12/15 14:49:56 gunter Exp $
// GEANT4 tag $Name: geant4-02-00 $
// $Id: G4ConvexHull.hh,v 1.4 2000/11/08 14:22:00 gcosmo Exp $
// GEANT4 tag $Name: geant4-03-00 $
//
// ----------------------------------------------------------------------
// Class G4ConvexHull
//
// Class Description:
//
// Definition of a convex hull list.
// Author: J.Sulkimo, P.Urban.
// Revisions by: L.Broglia, G.Cosmo.
// ----------------------------------------------------------------------
#ifndef __CONVEXHULL_H
#define __CONVEXHULL_H
class G4ConvexHull
{
public:
public: // with description
G4ConvexHull(){}
G4ConvexHull(G4double pparam, G4double mmin, G4double mmax)
: next(this), param (pparam), min(mmin), max(mmax){}
// Constructors
~G4ConvexHull(){}
// Destructor
G4ConvexHull* GetNextHull() { return next; }
G4double GetParam() const { return param; }
G4double GetMin() const { return min; }
G4double GetMax() const { return max; }
void SetNextHull(G4ConvexHull* n) { next=n; }
void SetParam(G4double p) { param=p; }
void SetMin(G4double x) { min=x; }
void SetMax(G4double y) { max=y; }
private:
G4ConvexHull *next;
G4double param;
G4double min;
G4double max;
G4ConvexHull(){};
G4ConvexHull(G4double pparam, G4double mmin, G4double mmax)
{
next = this;
param = pparam;
min = mmin;
max = mmax;
}
~G4ConvexHull(){}
};
#endif