Files
geant4/source/geometry/solids/BREPS/include/G4UVHit.hh
T
2016-06-08 16:57:27 +02:00

61 lines
2.2 KiB
C++

//
// ********************************************************************
// * DISCLAIMER *
// * *
// * The following disclaimer summarizes all the specific disclaimers *
// * of contributors to this software. The specific disclaimers,which *
// * govern, are listed with their locations in: *
// * http://cern.ch/geant4/license *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
//
// $Id: G4UVHit.hh,v 1.6 2001/07/11 09:59:39 gunter Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
// ----------------------------------------------------------------------
// Class G4UVHit
//
// Class Description:
//
// Utility class for knots.
// Authors: J.Sulkimo, P.Urban.
// Revisions by: L.Broglia, G.Cosmo.
// ----------------------------------------------------------------------
#ifndef __G4UV_Hit
#define __G4UV_Hit
#include "globals.hh"
class G4UVHit
{
public:
G4UVHit() {u=-1; v=-1; next=0;}
G4UVHit(G4double u_hit, G4double v_hit) {u = u_hit; v = v_hit; next=0;}
~G4UVHit() {}
void SetNext(G4UVHit* n) { next = n; }
G4UVHit* GetNext() { return next; }
G4double GetU() const { return u; }
G4double GetV() const { return v; }
private:
G4UVHit* next;
G4double u, v;
};
#endif