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

#include <G4PointRat.hh>

Public Member Functions

 G4PointRat ()
 
 ~G4PointRat ()
 
 G4PointRat (const G4Point3D &)
 
G4PointRatoperator= (const G4Point3D &)
 
G4PointRatoperator= (const G4PointRat &)
 
G4double x () const
 
void setX (G4double Value)
 
G4double y () const
 
void setY (G4double Value)
 
G4double z () const
 
void setZ (G4double Value)
 
G4double w () const
 
void setW (G4double Value)
 
G4Point3D pt () const
 
G4double PlaneDistance (const G4Plane3D &Pl) const
 
G4int GetType (void) const
 

Detailed Description

Definition at line 56 of file G4PointRat.hh.

Constructor & Destructor Documentation

◆ G4PointRat() [1/2]

G4PointRat::G4PointRat ( )

Definition at line 38 of file G4PointRat.cc.

39 : pt3d(), s(1)
40{
41}

◆ ~G4PointRat()

G4PointRat::~G4PointRat ( )

Definition at line 48 of file G4PointRat.cc.

49{
50}

◆ G4PointRat() [2/2]

G4PointRat::G4PointRat ( const G4Point3D tmp)

Definition at line 43 of file G4PointRat.cc.

44 : pt3d(tmp), s(1)
45{
46}

Member Function Documentation

◆ GetType()

G4int G4PointRat::GetType ( void  ) const

◆ operator=() [1/2]

G4PointRat & G4PointRat::operator= ( const G4Point3D a)

Definition at line 64 of file G4PointRat.cc.

65{
66 pt3d = a;
67 s=1;
68
69 return *this;
70}

◆ operator=() [2/2]

G4PointRat & G4PointRat::operator= ( const G4PointRat a)

Definition at line 52 of file G4PointRat.cc.

53{
54 if (this == &a) { return *this; }
55
56 pt3d.setX(a.x());
57 pt3d.setY(a.y());
58 pt3d.setZ(a.z());
59 s=a.w();
60
61 return *this;
62}
G4double x() const
G4double y() const
G4double w() const
G4double z() const

◆ PlaneDistance()

G4double G4PointRat::PlaneDistance ( const G4Plane3D Pl) const
inline

◆ pt()

G4Point3D G4PointRat::pt ( ) const
inline

◆ setW()

void G4PointRat::setW ( G4double  Value)
inline

◆ setX()

void G4PointRat::setX ( G4double  Value)
inline

◆ setY()

void G4PointRat::setY ( G4double  Value)
inline

◆ setZ()

void G4PointRat::setZ ( G4double  Value)
inline

◆ w()

G4double G4PointRat::w ( ) const
inline

◆ x()

G4double G4PointRat::x ( ) const
inline

◆ y()

G4double G4PointRat::y ( ) const
inline

◆ z()

G4double G4PointRat::z ( ) const
inline

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