Geant4  10.02.p03
G4TwistedTubs::LastVector Class Reference
Collaboration diagram for G4TwistedTubs::LastVector:

Public Member Functions

 LastVector ()
 
 ~LastVector ()
 
 LastVector (const LastVector &r)
 
LastVectoroperator= (const LastVector &r)
 

Public Attributes

G4ThreeVector p
 
G4ThreeVector vec
 
G4VTwistSurface ** surface
 

Detailed Description

Definition at line 266 of file G4TwistedTubs.hh.

Constructor & Destructor Documentation

◆ LastVector() [1/2]

G4TwistedTubs::LastVector::LastVector ( )
inline

Definition at line 269 of file G4TwistedTubs.hh.

270  {
273  surface = new G4VTwistSurface*[1];
274  }
void set(double x, double y, double z)
static const G4double kInfinity
Definition: geomdefs.hh:42
G4VTwistSurface ** surface
Here is the call graph for this function:

◆ ~LastVector()

G4TwistedTubs::LastVector::~LastVector ( )
inline

Definition at line 275 of file G4TwistedTubs.hh.

276  {
277  delete [] surface;
278  }
G4VTwistSurface ** surface

◆ LastVector() [2/2]

G4TwistedTubs::LastVector::LastVector ( const LastVector r)
inline

Definition at line 279 of file G4TwistedTubs.hh.

279  : p(r.p), vec(r.vec)
280  {
281  surface = new G4VTwistSurface*[1];
282  surface[0] = r.surface[0];
283  }
G4VTwistSurface ** surface

Member Function Documentation

◆ operator=()

LastVector& G4TwistedTubs::LastVector::operator= ( const LastVector r)
inline

Definition at line 284 of file G4TwistedTubs.hh.

285  {
286  if (&r == this) { return *this; }
287  p = r.p; vec = r.vec;
288  delete [] surface; surface = new G4VTwistSurface*[1];
289  surface[0] = r.surface[0];
290  return *this;
291  }
G4VTwistSurface ** surface

Member Data Documentation

◆ p

G4ThreeVector G4TwistedTubs::LastVector::p

Definition at line 293 of file G4TwistedTubs.hh.

◆ surface

G4VTwistSurface** G4TwistedTubs::LastVector::surface

Definition at line 295 of file G4TwistedTubs.hh.

◆ vec

G4ThreeVector G4TwistedTubs::LastVector::vec

Definition at line 294 of file G4TwistedTubs.hh.


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