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

#include <G4CurveRayIntersection.hh>

+ Inheritance diagram for G4CurveRayIntersection:

Public Member Functions

 G4CurveRayIntersection ()
 
 G4CurveRayIntersection (G4Curve &c0, const G4Ray &r0)
 
 ~G4CurveRayIntersection ()
 
 G4CurveRayIntersection (const G4CurveRayIntersection &cr)
 
G4CurveRayIntersectionoperator= (const G4CurveRayIntersection &cr)
 
void Init (G4Curve &c0, const G4Ray &r0)
 
const G4RayGetRay () const
 
void Reset ()
 
void ResetPPoint (G4double u0)
 
void Reset (const G4Point3D &p0)
 
void Reset (G4double u0, const G4Point3D &p0)
 
void ResetDistance (G4double d0)
 
void Reset (G4double u0, G4double d0)
 
void Reset (const G4Point3D &p0, G4double d0)
 
void Reset (G4double u0, const G4Point3D &p0, G4double d0)
 
G4double GetPPoint ()
 
const G4Point3DGetPoint ()
 
G4double GetDistance ()
 
void Update (G4CurveRayIntersection &is)
 
void UpdateWithPointOnCurve (G4CurveRayIntersection &is)
 
- Public Member Functions inherited from G4CurvePoint
 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 Attributes

const G4Rayr
 
G4double d
 
G4double kCarTolerance
 
- Protected Attributes inherited from G4CurvePoint
G4Curvec
 
G4Point3D p
 
G4double u
 
G4int notComputed
 

Static Protected Attributes

static const G4int dFlag = 4
 
- Static Protected Attributes inherited from G4CurvePoint
static const G4int pFlag = 1
 
static const G4int uFlag = 2
 
static const G4int allFlags = 0xFF
 

Additional Inherited Members

- Protected Member Functions inherited from G4CurvePoint
 G4CurvePoint ()
 

Detailed Description

Definition at line 47 of file G4CurveRayIntersection.hh.

Constructor & Destructor Documentation

◆ G4CurveRayIntersection() [1/3]

G4CurveRayIntersection::G4CurveRayIntersection ( )

Definition at line 41 of file G4CurveRayIntersection.cc.

◆ G4CurveRayIntersection() [2/3]

G4CurveRayIntersection::G4CurveRayIntersection ( G4Curve c0,
const G4Ray r0 
)

Definition at line 47 of file G4CurveRayIntersection.cc.

48{
49 Init(c0, r0);
51}
void Init(G4Curve &c0, const G4Ray &r0)

◆ ~G4CurveRayIntersection()

G4CurveRayIntersection::~G4CurveRayIntersection ( )

Definition at line 53 of file G4CurveRayIntersection.cc.

54{
55}

◆ G4CurveRayIntersection() [3/3]

G4CurveRayIntersection::G4CurveRayIntersection ( const G4CurveRayIntersection cr)

Definition at line 57 of file G4CurveRayIntersection.cc.

58 : G4CurvePoint(), r(cr.r), d(cr.d)
59{
60 c = cr.c;
61 p = cr.p;
62 u = cr.u;
65}
G4Curve * c
Definition: G4CurvePoint.hh:87
G4Point3D p
Definition: G4CurvePoint.hh:89
G4double u
Definition: G4CurvePoint.hh:90
G4int notComputed
Definition: G4CurvePoint.hh:92

Member Function Documentation

◆ GetDistance()

G4double G4CurveRayIntersection::GetDistance ( )
inline

◆ GetPoint()

const G4Point3D & G4CurveRayIntersection::GetPoint ( )
inline

◆ GetPPoint()

G4double G4CurveRayIntersection::GetPPoint ( )
inline

◆ GetRay()

const G4Ray & G4CurveRayIntersection::GetRay ( ) const
inline

◆ Init()

void G4CurveRayIntersection::Init ( G4Curve c0,
const G4Ray r0 
)
inline

Referenced by G4CurveRayIntersection().

◆ operator=()

G4CurveRayIntersection & G4CurveRayIntersection::operator= ( const G4CurveRayIntersection cr)

Definition at line 68 of file G4CurveRayIntersection.cc.

69{
70 if (&cr == this) return *this;
71 c = cr.c;
72 p = cr.p;
73 u = cr.u;
74 r = cr.r;
75 d = cr.d;
78
79 return *this;
80}

◆ Reset() [1/6]

void G4CurveRayIntersection::Reset ( )
inline

Referenced by G4SurfaceBoundary::Init().

◆ Reset() [2/6]

void G4CurveRayIntersection::Reset ( const G4Point3D p0)
inline

◆ Reset() [3/6]

void G4CurveRayIntersection::Reset ( const G4Point3D p0,
G4double  d0 
)
inline

◆ Reset() [4/6]

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

◆ Reset() [5/6]

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

◆ Reset() [6/6]

void G4CurveRayIntersection::Reset ( G4double  u0,
G4double  d0 
)
inline

◆ ResetDistance()

void G4CurveRayIntersection::ResetDistance ( G4double  d0)
inline

◆ ResetPPoint()

void G4CurveRayIntersection::ResetPPoint ( G4double  u0)
inline

◆ Update()

void G4CurveRayIntersection::Update ( G4CurveRayIntersection is)
inline

◆ UpdateWithPointOnCurve()

void G4CurveRayIntersection::UpdateWithPointOnCurve ( G4CurveRayIntersection is)
inline

Member Data Documentation

◆ d

G4double G4CurveRayIntersection::d
protected

Definition at line 101 of file G4CurveRayIntersection.hh.

Referenced by operator=().

◆ dFlag

const G4int G4CurveRayIntersection::dFlag = 4
staticprotected

Definition at line 103 of file G4CurveRayIntersection.hh.

◆ kCarTolerance

G4double G4CurveRayIntersection::kCarTolerance
protected

Definition at line 102 of file G4CurveRayIntersection.hh.

Referenced by G4CurveRayIntersection(), and operator=().

◆ r

const G4Ray* G4CurveRayIntersection::r
protected

Definition at line 100 of file G4CurveRayIntersection.hh.

Referenced by operator=().


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