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

#include <G4Conic.hh>

+ Inheritance diagram for G4Conic:

Public Member Functions

 G4Conic ()
 
virtual ~G4Conic ()
 
 G4Conic (const G4Conic &right)
 
G4Conicoperator= (const G4Conic &right)
 
const G4Axis2Placement3DGetPosition () const
 
G4double GetPShift () const
 
void SetPShift (G4double pShift0)
 
- Public Member Functions inherited from G4Curve
 G4Curve ()
 
virtual ~G4Curve ()
 
 G4Curve (const G4Curve &c)
 
G4Curveoperator= (const G4Curve &c)
 
G4bool operator== (const G4Curve &right) const
 
virtual G4String GetEntityType () const
 
virtual G4CurveProject (const G4Transform3D &tr=G4Transform3D::Identity)=0
 
virtual G4bool Tangent (G4CurvePoint &cp, G4Vector3D &v)=0
 
virtual G4int IntersectRay2D (const G4Ray &ray)=0
 
const G4Point3DGetStart () const
 
const G4Point3DGetEnd () const
 
G4double GetPStart () const
 
G4double GetPEnd () const
 
void SetBounds (G4double p1, G4double p2)
 
void SetBounds (G4double p1, const G4Point3D &p2)
 
void SetBounds (const G4Point3D &p1, G4double p2)
 
void SetBounds (const G4Point3D &p1, const G4Point3D &p2)
 
G4bool IsBounded () const
 
G4bool IsPOn (G4double param) const
 
void SetSameSense (G4int sameSense0)
 
G4int GetSameSense () const
 
virtual G4double GetPMax () const =0
 
virtual G4Point3D GetPoint (G4double param) const =0
 
virtual G4double GetPPoint (const G4Point3D &p) const =0
 
const G4BoundingBox3DBBox () const
 
virtual const char * Name () const
 
virtual void SetParentSrfPtr (const G4Surface *)
 

Protected Attributes

G4Axis2Placement3D position
 
G4double pShift
 
- Protected Attributes inherited from G4Curve
G4BoundingBox3D bBox
 
G4Point3D start
 
G4Point3D end
 
G4double pStart
 
G4double pEnd
 
G4double pRange
 
G4bool bounded
 
G4int sameSense
 
G4double kCarTolerance
 

Additional Inherited Members

- Protected Member Functions inherited from G4Curve
virtual void InitBounded ()=0
 

Detailed Description

Definition at line 45 of file G4Conic.hh.

Constructor & Destructor Documentation

◆ G4Conic() [1/2]

G4Conic::G4Conic ( )

Definition at line 38 of file G4Conic.cc.

38 : pShift(0)
39{
40}
G4double pShift
Definition: G4Conic.hh:77

◆ ~G4Conic()

G4Conic::~G4Conic ( )
virtual

Definition at line 42 of file G4Conic.cc.

43{
44}

◆ G4Conic() [2/2]

G4Conic::G4Conic ( const G4Conic right)

Definition at line 46 of file G4Conic.cc.

47 : G4Curve(), position(right.position), pShift(right.pShift)
48{
49 bBox = right.bBox;
50 start = right.start;
51 end = right.end;
52 pStart = right.pStart;
53 pEnd = right.pEnd;
54 pRange = right.pRange;
55 bounded = right.bounded;
56 sameSense = right.sameSense;
57}
G4Axis2Placement3D position
Definition: G4Conic.hh:74
G4bool bounded
Definition: G4Curve.hh:166
G4Curve()
Definition: G4Curve.cc:39
G4double pStart
Definition: G4Curve.hh:163
G4int sameSense
Definition: G4Curve.hh:167
G4Point3D end
Definition: G4Curve.hh:162
G4BoundingBox3D bBox
Definition: G4Curve.hh:160
G4double pRange
Definition: G4Curve.hh:165
G4Point3D start
Definition: G4Curve.hh:161
G4double pEnd
Definition: G4Curve.hh:164

Member Function Documentation

◆ GetPosition()

◆ GetPShift()

G4double G4Conic::GetPShift ( ) const
inline

◆ operator=()

G4Conic & G4Conic::operator= ( const G4Conic right)

Definition at line 59 of file G4Conic.cc.

60{
61 if (&right == this) return *this;
62
63 pShift = right.pShift;
64 position = right.position;
65 bBox = right.bBox;
66 start = right.start;
67 end = right.end;
68 pStart = right.pStart;
69 pEnd = right.pEnd;
70 pRange = right.pRange;
71 bounded = right.bounded;
72 sameSense = right.sameSense;
73
74 return *this;
75}

◆ SetPShift()

void G4Conic::SetPShift ( G4double  pShift0)
inline

Member Data Documentation

◆ position

◆ pShift


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