G4Conic Class Reference

#include <G4Conic.hh>

Inheritance diagram for G4Conic:

G4Curve G4CircularCurve G4Ellipse G4Hyperbola G4Parabola

Public Member Functions

 G4Conic ()
virtual ~G4Conic ()
 G4Conic (const G4Conic &right)
G4Conicoperator= (const G4Conic &right)
const G4Axis2Placement3DGetPosition () const
G4double GetPShift () const
void SetPShift (G4double pShift0)

Protected Attributes

G4Axis2Placement3D position
G4double pShift

Detailed Description

Definition at line 45 of file G4Conic.hh.


Constructor & Destructor Documentation

G4Conic::G4Conic (  ) 

Definition at line 38 of file G4Conic.cc.

00038                   : pShift(0)
00039 {
00040 }

G4Conic::~G4Conic (  )  [virtual]

Definition at line 42 of file G4Conic.cc.

00043 {
00044 }

G4Conic::G4Conic ( const G4Conic right  ) 

Definition at line 46 of file G4Conic.cc.

References G4Curve::bBox, G4Curve::bounded, G4Curve::end, G4Curve::pEnd, G4Curve::pRange, G4Curve::pStart, G4Curve::sameSense, and G4Curve::start.

00047   : G4Curve(), position(right.position), pShift(right.pShift)
00048 {
00049   bBox      = right.bBox;
00050   start     = right.start;
00051   end       = right.end;
00052   pStart    = right.pStart;
00053   pEnd      = right.pEnd;
00054   pRange    = right.pRange;
00055   bounded   = right.bounded;
00056   sameSense = right.sameSense;
00057 }


Member Function Documentation

const G4Axis2Placement3D * G4Conic::GetPosition (  )  const [inline]

Definition at line 38 of file G4Conic.icc.

References position.

Referenced by G4Parabola::Tangent(), G4Hyperbola::Tangent(), G4Ellipse::Tangent(), and G4CircularCurve::Tangent().

00039 {
00040   return &position;
00041 }

G4double G4Conic::GetPShift (  )  const [inline]

Definition at line 44 of file G4Conic.icc.

References pShift.

Referenced by G4Ellipse::GetPoint(), and G4Ellipse::GetPPoint().

00045 {
00046   return pShift;
00047 }

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

Definition at line 59 of file G4Conic.cc.

References G4Curve::bBox, G4Curve::bounded, G4Curve::end, G4Curve::pEnd, position, G4Curve::pRange, pShift, G4Curve::pStart, G4Curve::sameSense, and G4Curve::start.

00060 {
00061   if (&right == this) return *this;
00062 
00063   pShift   = right.pShift;
00064   position = right.position;
00065   bBox      = right.bBox;
00066   start     = right.start;
00067   end       = right.end;
00068   pStart    = right.pStart;
00069   pEnd      = right.pEnd;
00070   pRange    = right.pRange;
00071   bounded   = right.bounded;
00072   sameSense = right.sameSense;
00073 
00074   return *this;
00075 }

void G4Conic::SetPShift ( G4double  pShift0  )  [inline]

Definition at line 50 of file G4Conic.icc.

References pShift.

Referenced by G4Parabola::Project(), G4Hyperbola::Project(), and G4Ellipse::Project().

00051 {
00052   pShift= pShift0;
00053 }


Field Documentation

G4Axis2Placement3D G4Conic::position [protected]

Definition at line 74 of file G4Conic.hh.

Referenced by G4CircularCurve::G4CircularCurve(), G4Ellipse::G4Ellipse(), G4Hyperbola::G4Hyperbola(), G4Parabola::G4Parabola(), G4Parabola::GetPoint(), G4Hyperbola::GetPoint(), G4Ellipse::GetPoint(), G4CircularCurve::GetPoint(), GetPosition(), G4Parabola::GetPPoint(), G4Hyperbola::GetPPoint(), G4Ellipse::GetPPoint(), G4CircularCurve::GetPPoint(), G4Parabola::Init(), G4Hyperbola::Init(), G4Ellipse::Init(), G4CircularCurve::Init(), G4Parabola::InitBounded(), G4Hyperbola::InitBounded(), G4Ellipse::InitBounded(), G4CircularCurve::InitBounded(), G4Parabola::IntersectRay2D(), G4Parabola::operator=(), G4Hyperbola::operator=(), G4Ellipse::operator=(), operator=(), G4CircularCurve::operator=(), G4Parabola::Project(), G4Hyperbola::Project(), G4Ellipse::Project(), and G4CircularCurve::Project().

G4double G4Conic::pShift [protected]

Definition at line 77 of file G4Conic.hh.

Referenced by G4CircularCurve::G4CircularCurve(), G4Ellipse::G4Ellipse(), G4Hyperbola::G4Hyperbola(), G4Parabola::G4Parabola(), GetPShift(), G4Parabola::operator=(), G4Hyperbola::operator=(), G4Ellipse::operator=(), operator=(), G4CircularCurve::operator=(), and SetPShift().


The documentation for this class was generated from the following files:
Generated on Mon May 27 17:51:42 2013 for Geant4 by  doxygen 1.4.7