Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4CurvePoint Class Reference

#include <G4CurvePoint.hh>

+ Inheritance diagram for G4CurvePoint:

Public Member Functions

 G4CurvePoint (G4Curve &c0)
 
virtual ~G4CurvePoint ()
 
 G4CurvePoint (const G4CurvePoint &cp)
 
G4CurvePointoperator= (const G4CurvePoint &cp)
 
void Init (G4Curve &c0)
 
G4CurveGetCurve () const
 
void Reset ()
 
void Reset (G4double u0)
 
void Reset (const G4Point3D &p0)
 
void Reset (G4double u0, const G4Point3D &p0)
 
G4double GetPPoint ()
 
const G4Point3DGetPoint ()
 

Protected Member Functions

 G4CurvePoint ()
 

Protected Attributes

G4Curvec
 
G4Point3D p
 
G4double u
 
G4int notComputed
 

Static Protected Attributes

static const G4int pFlag = 1
 
static const G4int uFlag = 2
 
static const G4int allFlags = 0xFF
 

Detailed Description

Definition at line 47 of file G4CurvePoint.hh.

Constructor & Destructor Documentation

◆ G4CurvePoint() [1/3]

G4CurvePoint::G4CurvePoint ( G4Curve c0)

Definition at line 47 of file G4CurvePoint.cc.

48{
49 Init(c0);
50}
void Init(G4Curve &c0)

◆ ~G4CurvePoint()

G4CurvePoint::~G4CurvePoint ( )
virtual

Definition at line 52 of file G4CurvePoint.cc.

53{
54}

◆ G4CurvePoint() [2/3]

G4CurvePoint::G4CurvePoint ( const G4CurvePoint cp)

Definition at line 56 of file G4CurvePoint.cc.

57 : c(cp.c), p(cp.p), u(cp.u), notComputed(cp.notComputed)
58{
59}
G4Curve * c
Definition: G4CurvePoint.hh:87
G4Point3D p
Definition: G4CurvePoint.hh:89
G4double u
Definition: G4CurvePoint.hh:90
G4int notComputed
Definition: G4CurvePoint.hh:92

◆ G4CurvePoint() [3/3]

G4CurvePoint::G4CurvePoint ( )
protected

Definition at line 42 of file G4CurvePoint.cc.

43 : c(0), u(0.), notComputed(allFlags)
44{
45}
static const G4int allFlags
Definition: G4CurvePoint.hh:95

Member Function Documentation

◆ GetCurve()

G4Curve & G4CurvePoint::GetCurve ( ) const
inline

◆ GetPoint()

◆ GetPPoint()

G4double G4CurvePoint::GetPPoint ( )
inline

◆ Init()

void G4CurvePoint::Init ( G4Curve c0)
inline

Referenced by G4CurvePoint().

◆ operator=()

G4CurvePoint & G4CurvePoint::operator= ( const G4CurvePoint cp)

Definition at line 61 of file G4CurvePoint.cc.

62{
63 if (&cp == this) return *this;
64 c = cp.c;
65 p = cp.p;
66 u = cp.u;
68
69 return *this;
70}

◆ Reset() [1/4]

void G4CurvePoint::Reset ( )
inline

◆ Reset() [2/4]

void G4CurvePoint::Reset ( const G4Point3D p0)
inline

◆ Reset() [3/4]

void G4CurvePoint::Reset ( G4double  u0)
inline

◆ Reset() [4/4]

void G4CurvePoint::Reset ( G4double  u0,
const G4Point3D p0 
)
inline

Member Data Documentation

◆ allFlags

const G4int G4CurvePoint::allFlags = 0xFF
staticprotected

Definition at line 95 of file G4CurvePoint.hh.

◆ c

G4Curve* G4CurvePoint::c
protected

◆ notComputed

G4int G4CurvePoint::notComputed
protected

◆ p

G4Point3D G4CurvePoint::p
protected

◆ pFlag

const G4int G4CurvePoint::pFlag = 1
staticprotected

Definition at line 93 of file G4CurvePoint.hh.

◆ u

G4double G4CurvePoint::u
protected

◆ uFlag

const G4int G4CurvePoint::uFlag = 2
staticprotected

Definition at line 94 of file G4CurvePoint.hh.


The documentation for this class was generated from the following files: