#include <TGeoTorus.h>
Inheritance diagram for TGeoTorus:
Definition at line 30 of file TGeoTorus.h.
TGeoTorus::TGeoTorus | ( | ) |
TGeoTorus::TGeoTorus | ( | Double_t | r, | |
Double_t | rmin, | |||
Double_t | rmax, | |||
Double_t | phi1 = 0 , |
|||
Double_t | dphi = 360 | |||
) |
Definition at line 55 of file TGeoTorus.cxx.
References ComputeBBox(), fRmax, fRmin, TGeoShape::kGeoRunTimeShape, TGeoShape::kGeoTorus, TGeoShape::SetShapeBit(), and SetTorusDimensions().
TGeoTorus::TGeoTorus | ( | const char * | name, | |
Double_t | r, | |||
Double_t | rmin, | |||
Double_t | rmax, | |||
Double_t | phi1 = 0 , |
|||
Double_t | dphi = 360 | |||
) |
Definition at line 67 of file TGeoTorus.cxx.
References ComputeBBox(), fRmax, fRmin, TGeoShape::kGeoRunTimeShape, TGeoShape::kGeoTorus, TGeoShape::SetShapeBit(), and SetTorusDimensions().
TGeoTorus::TGeoTorus | ( | Double_t * | params | ) |
Definition at line 79 of file TGeoTorus.cxx.
References ComputeBBox(), fRmax, fRmin, TGeoShape::kGeoRunTimeShape, TGeoShape::kGeoTorus, SetDimensions(), and TGeoShape::SetShapeBit().
virtual TGeoTorus::~TGeoTorus | ( | ) | [inline, virtual] |
Definition at line 56 of file TGeoTorus.h.
TGeoTorus::TGeoTorus | ( | ) |
TGeoTorus::TGeoTorus | ( | Double_t | r, | |
Double_t | rmin, | |||
Double_t | rmax, | |||
Double_t | phi1 = 0 , |
|||
Double_t | dphi = 360 | |||
) |
TGeoTorus::TGeoTorus | ( | const char * | name, | |
Double_t | r, | |||
Double_t | rmin, | |||
Double_t | rmax, | |||
Double_t | phi1 = 0 , |
|||
Double_t | dphi = 360 | |||
) |
TGeoTorus::TGeoTorus | ( | Double_t * | params | ) |
virtual TGeoTorus::~TGeoTorus | ( | ) | [inline, virtual] |
Definition at line 56 of file TGeoTorus.h.
Double_t TGeoTorus::Capacity | ( | ) | const [virtual] |
Reimplemented from TGeoBBox.
Definition at line 95 of file TGeoTorus.cxx.
References fDphi, fR, fRmax, fRmin, and TMath::Pi().
Definition at line 222 of file TGeoTorus.cxx.
References fR, i, p, and TMath::Sqrt().
Referenced by ComputeNormal(), DistFromInside(), and DistFromOutside().
Definition at line 232 of file TGeoTorus.cxx.
References d, E, fR, i, TGeoShape::IsSameWithinTolerance(), p, and TMath::Sqrt().
Definition at line 246 of file TGeoTorus.cxx.
References E, fR, i, TGeoShape::IsSameWithinTolerance(), p, and TMath::Sqrt().
Definition at line 1032 of file TGeoTorus.cxx.
References a, TMath::Abs(), b, TGeoShape::Big(), c, d, E, fR, i, TMath::Min(), s, SolveQuartic(), TMath::Sqrt(), TGeoShape::Tolerance(), and x.
Referenced by DistFromInside(), and DistFromOutside().
Definition at line 903 of file TGeoTorus.cxx.
References TMath::Abs(), TMath::ATan2(), TMath::Cos(), p, TMath::Power(), TMath::Sign(), TMath::Sqrt(), t, and u.
Referenced by SolveQuartic().
Int_t TGeoTorus::SolveQuartic | ( | Double_t | a, | |
Double_t | b, | |||
Double_t | c, | |||
Double_t | d, | |||
Double_t * | x | |||
) | const |
Definition at line 944 of file TGeoTorus.cxx.
References g, h, i, TGeoShape::IsSameWithinTolerance(), j, kFALSE, SolveCubic(), TMath::Sort(), and TMath::Sqrt().
Referenced by ToBoundary().
void TGeoTorus::ComputeBBox | ( | ) | [virtual] |
Reimplemented from TGeoBBox.
Definition at line 103 of file TGeoTorus.cxx.
References TMath::Cos(), TMath::DegToRad(), fDphi, TGeoBBox::fDX, TGeoBBox::fDY, TGeoBBox::fDZ, TGeoBBox::fOrigin, fPhi1, fR, fRmax, TGeoShape::IsSameWithinTolerance(), TMath::LocMax(), TMath::LocMin(), TMath::Sin(), xmax, xmin, ymax, and ymin.
Referenced by TGeoTorusEditor::DoApply(), and TGeoTorus().
Reimplemented from TGeoBBox.
Definition at line 149 of file TGeoTorus.cxx.
References TMath::ATan2(), c1, TMath::Cos(), Daxis(), TMath::DegToRad(), E, fDphi, fPhi1, fR, fRmax, fRmin, i, TGeoShape::IsSameWithinTolerance(), TGeoShape::NormalPhi(), phi, s1, s2, TMath::Sin(), and TMath::Sqrt().
Reimplemented from TGeoBBox.
Definition at line 191 of file TGeoTorus.cxx.
References TMath::ATan2(), fDphi, fPhi1, fR, fRmax, fRmin, TGeoShape::IsSameWithinTolerance(), kFALSE, kTRUE, phi, TMath::RadToDeg(), and TMath::Sqrt().
Double_t TGeoTorus::DistFromInside | ( | Double_t * | point, | |
Double_t * | dir, | |||
Int_t | iact = 1 , |
|||
Double_t | step = TGeoShape::Big() , |
|||
Double_t * | safe = 0 | |||
) | const [virtual] |
Reimplemented from TGeoBBox.
Definition at line 263 of file TGeoTorus.cxx.
References TGeoShape::Big(), c1, TMath::Cos(), Daxis(), TMath::DegToRad(), TGeoTubeSeg::DistFromInsideS(), E, fDphi, fPhi1, fR, fRmax, fRmin, kFALSE, kTRUE, TMath::Min(), s1, s2, Safety(), TMath::Sin(), ToBoundary(), and TGeoShape::Tolerance().
Double_t TGeoTorus::DistFromOutside | ( | Double_t * | point, | |
Double_t * | dir, | |||
Int_t | iact = 1 , |
|||
Double_t | step = TGeoShape::Big() , |
|||
Double_t * | safe = 0 | |||
) | const [virtual] |
Reimplemented from TGeoBBox.
Definition at line 301 of file TGeoTorus.cxx.
References TMath::Abs(), TMath::ATan2(), TGeoShape::Big(), c1, TMath::Cos(), Daxis(), TMath::DegToRad(), TGeoTubeSeg::DistFromInsideS(), TGeoTube::DistFromInsideS(), TGeoBBox::DistFromOutside(), TGeoTube::DistFromOutsideS(), TGeoTubeSeg::DistFromOutsideS(), fDphi, TGeoBBox::fDX, TGeoBBox::fDY, TGeoBBox::fDZ, TGeoBBox::fOrigin, fPhi1, fR, fRmax, fRmin, i, kFALSE, kTRUE, TMath::Max(), phi, TMath::RadToDeg(), s1, s2, Safety(), TMath::Sin(), and ToBoundary().
Reimplemented from TGeoBBox.
Definition at line 211 of file TGeoTorus.cxx.
References fDphi, fRmin, TGeoManager::GetNsegments(), gGeoManager, n, and TGeoShape::ShapeDistancetoPrimitive().
TGeoVolume * TGeoTorus::Divide | ( | TGeoVolume * | voldiv, | |
const char * | divname, | |||
Int_t | iaxis, | |||
Int_t | ndiv, | |||
Double_t | start, | |||
Double_t | step | |||
) | [virtual] |
const char * TGeoTorus::GetAxisName | ( | Int_t | iaxis | ) | const [virtual] |
void TGeoTorus::GetBoundingCylinder | ( | Double_t * | param | ) | const [virtual] |
Reimplemented from TGeoBBox.
Definition at line 1126 of file TGeoTorus.cxx.
References buffer, TGeoBBox::FillBuffer3D(), GetDphi(), TGeoManager::GetNsegments(), GetRmin(), gGeoManager, kFALSE, TBuffer3DTypes::kGeneric, TBuffer3D::kRaw, TBuffer3D::kRawSizes, kTRUE, n, SetPoints(), SetSegsAndPols(), and TGeoShape::TransformPoints().
virtual Int_t TGeoTorus::GetByteCount | ( | ) | const [inline, virtual] |
TGeoShape * TGeoTorus::GetMakeRuntimeShape | ( | TGeoShape * | mother, | |
TGeoMatrix * | mat | |||
) | const [virtual] |
Reimplemented from TGeoBBox.
Definition at line 472 of file TGeoTorus.cxx.
References TObject::Error(), TGeoShape::kGeoRunTimeShape, and TGeoShape::TestShapeBit().
Reimplemented from TGeoBBox.
Definition at line 1104 of file TGeoTorus.cxx.
References GetDphi(), TGeoManager::GetNsegments(), GetRmin(), gGeoManager, kFALSE, kTRUE, and n.
Int_t TGeoTorus::GetNmeshVertices | ( | ) | const [virtual] |
Reimplemented from TGeoBBox.
Definition at line 865 of file TGeoTorus.cxx.
References fDphi, fRmin, TGeoManager::GetNsegments(), gGeoManager, n, and TGeoShape::Tolerance().
Double_t TGeoTorus::GetR | ( | ) | const [inline] |
Definition at line 78 of file TGeoTorus.h.
References fR.
Referenced by TGeoTorusEditor::SetModel(), and torus().
Double_t TGeoTorus::GetRmin | ( | ) | const [inline] |
Definition at line 79 of file TGeoTorus.h.
References fRmin.
Referenced by GetBuffer3D(), GetMeshNumbers(), MakeBuffer3D(), TGeoTorusEditor::SetModel(), SetSegsAndPols(), and torus().
Double_t TGeoTorus::GetRmax | ( | ) | const [inline] |
Definition at line 80 of file TGeoTorus.h.
References fRmax.
Referenced by TGeoTorusEditor::SetModel(), and torus().
Double_t TGeoTorus::GetPhi1 | ( | ) | const [inline] |
Definition at line 81 of file TGeoTorus.h.
References fPhi1.
Referenced by TGeoTorusEditor::SetModel(), and torus().
Double_t TGeoTorus::GetDphi | ( | ) | const [inline] |
Definition at line 82 of file TGeoTorus.h.
References fDphi.
Referenced by GetBuffer3D(), GetMeshNumbers(), MakeBuffer3D(), TGeoTorusEditor::SetModel(), SetSegsAndPols(), and torus().
void TGeoTorus::InspectShape | ( | ) | const [virtual] |
Reimplemented from TGeoBBox.
Definition at line 481 of file TGeoTorus.cxx.
References fDphi, fPhi1, fR, fRmax, fRmin, TGeoShape::GetName(), and TGeoBBox::InspectShape().
virtual Bool_t TGeoTorus::IsCylType | ( | ) | const [inline, virtual] |
TBuffer3D * TGeoTorus::MakeBuffer3D | ( | ) | const [virtual] |
Reimplemented from TGeoBBox.
Definition at line 495 of file TGeoTorus.cxx.
References TBuffer3D::fPnts, GetDphi(), TGeoManager::GetNsegments(), GetRmin(), gGeoManager, kFALSE, TBuffer3DTypes::kGeneric, kTRUE, n, SetPoints(), and SetSegsAndPols().
Reimplemented from TGeoBBox.
Definition at line 686 of file TGeoTorus.cxx.
References TGeoShape::Big(), fDphi, fPhi1, fR, fRmax, fRmin, i, TGeoShape::IsSameWithinTolerance(), TMath::Max(), TMath::Min(), safe, TGeoShape::SafetyPhi(), and TMath::Sqrt().
Referenced by DistFromInside(), and DistFromOutside().
void TGeoTorus::SavePrimitive | ( | ostream & | out, | |
Option_t * | option = "" | |||
) | [virtual] |
Reimplemented from TGeoBBox.
Definition at line 714 of file TGeoTorus.cxx.
References TObject::ClassName(), fDphi, fPhi1, fR, fRmax, fRmin, TGeoShape::GetName(), TGeoShape::GetPointerName(), TGeoShape::kGeoSavePrimitive, TObject::SetBit(), and TObject::TestBit().
void TGeoTorus::SetTorusDimensions | ( | Double_t | r, | |
Double_t | rmin, | |||
Double_t | rmax, | |||
Double_t | phi1, | |||
Double_t | dphi | |||
) |
Definition at line 729 of file TGeoTorus.cxx.
References fDphi, fPhi1, fR, fRmax, and fRmin.
Referenced by SetDimensions(), and TGeoTorus().
void TGeoTorus::SetDimensions | ( | Double_t * | param | ) | [virtual] |
Reimplemented from TGeoBBox.
Definition at line 742 of file TGeoTorus.cxx.
References SetTorusDimensions().
Referenced by TGeoTorusEditor::DoApply(), and TGeoTorus().
void TGeoTorus::SetPoints | ( | Double_t * | points | ) | const [virtual] |
Reimplemented from TGeoBBox.
Definition at line 749 of file TGeoTorus.cxx.
References TMath::Cos(), TMath::DegToRad(), fDphi, fPhi1, fR, fRmax, fRmin, TGeoManager::GetNsegments(), gGeoManager, i, j, kFALSE, kTRUE, n, TMath::Sin(), and TGeoShape::Tolerance().
Referenced by GetBuffer3D(), and MakeBuffer3D().
void TGeoTorus::SetPoints | ( | Float_t * | points | ) | const [virtual] |
Reimplemented from TGeoBBox.
Definition at line 805 of file TGeoTorus.cxx.
References TMath::Cos(), TMath::DegToRad(), fDphi, fPhi1, fR, fRmax, fRmin, TGeoManager::GetNsegments(), gGeoManager, i, j, kFALSE, kTRUE, n, TMath::Sin(), and TGeoShape::Tolerance().
void TGeoTorus::SetSegsAndPols | ( | TBuffer3D & | buff | ) | const [virtual] |
Reimplemented from TGeoBBox.
Definition at line 530 of file TGeoTorus.cxx.
References c, TBuffer3D::fPols, TBuffer3D::fSegs, TGeoShape::GetBasicColor(), GetDphi(), TGeoManager::GetNsegments(), GetRmin(), gGeoManager, i, if(), j, kFALSE, kTRUE, n, TBuffer3D::NbPols(), and TBuffer3D::NbSegs().
Referenced by GetBuffer3D(), and MakeBuffer3D().
void TGeoTorus::Sizeof3D | ( | ) | const [virtual] |
Int_t TGeoTorus::SolveQuartic | ( | Double_t | a, | |
Double_t | b, | |||
Double_t | c, | |||
Double_t | d, | |||
Double_t * | x | |||
) | const |
virtual void TGeoTorus::ComputeBBox | ( | ) | [virtual] |
Reimplemented from TGeoBBox.
virtual void TGeoTorus::ComputeNormal | ( | Double_t * | point, | |
Double_t * | dir, | |||
Double_t * | norm | |||
) | [virtual] |
Reimplemented from TGeoBBox.
Reimplemented from TGeoBBox.
virtual Double_t TGeoTorus::DistFromInside | ( | Double_t * | point, | |
Double_t * | dir, | |||
Int_t | iact = 1 , |
|||
Double_t | step = TGeoShape::Big() , |
|||
Double_t * | safe = 0 | |||
) | const [virtual] |
Reimplemented from TGeoBBox.
virtual Double_t TGeoTorus::DistFromOutside | ( | Double_t * | point, | |
Double_t * | dir, | |||
Int_t | iact = 1 , |
|||
Double_t | step = TGeoShape::Big() , |
|||
Double_t * | safe = 0 | |||
) | const [virtual] |
Reimplemented from TGeoBBox.
Reimplemented from TGeoBBox.
virtual TGeoVolume* TGeoTorus::Divide | ( | TGeoVolume * | voldiv, | |
const char * | divname, | |||
Int_t | iaxis, | |||
Int_t | ndiv, | |||
Double_t | start, | |||
Double_t | step | |||
) | [virtual] |
Reimplemented from TGeoBBox.
virtual const char* TGeoTorus::GetAxisName | ( | Int_t | iaxis | ) | const [virtual] |
Reimplemented from TGeoBBox.
virtual Double_t TGeoTorus::GetAxisRange | ( | Int_t | iaxis, | |
Double_t & | xlo, | |||
Double_t & | xhi | |||
) | const [virtual] |
Reimplemented from TGeoBBox.
virtual void TGeoTorus::GetBoundingCylinder | ( | Double_t * | param | ) | const [virtual] |
Reimplemented from TGeoBBox.
virtual const TBuffer3D& TGeoTorus::GetBuffer3D | ( | Int_t | reqSections, | |
Bool_t | localFrame | |||
) | const [virtual] |
Reimplemented from TGeoBBox.
virtual Int_t TGeoTorus::GetByteCount | ( | ) | const [inline, virtual] |
virtual TGeoShape* TGeoTorus::GetMakeRuntimeShape | ( | TGeoShape * | mother, | |
TGeoMatrix * | mat | |||
) | const [virtual] |
Reimplemented from TGeoBBox.
virtual void TGeoTorus::GetMeshNumbers | ( | Int_t & | nvert, | |
Int_t & | nsegs, | |||
Int_t & | npols | |||
) | const [virtual] |
Reimplemented from TGeoBBox.
Double_t TGeoTorus::GetR | ( | ) | const [inline] |
Double_t TGeoTorus::GetRmin | ( | ) | const [inline] |
Double_t TGeoTorus::GetRmax | ( | ) | const [inline] |
Double_t TGeoTorus::GetPhi1 | ( | ) | const [inline] |
Double_t TGeoTorus::GetDphi | ( | ) | const [inline] |
virtual void TGeoTorus::InspectShape | ( | ) | const [virtual] |
Reimplemented from TGeoBBox.
virtual Bool_t TGeoTorus::IsCylType | ( | ) | const [inline, virtual] |
Reimplemented from TGeoBBox.
virtual void TGeoTorus::SavePrimitive | ( | ostream & | out, | |
Option_t * | option = "" | |||
) | [virtual] |
Reimplemented from TGeoBBox.
void TGeoTorus::SetTorusDimensions | ( | Double_t | r, | |
Double_t | rmin, | |||
Double_t | rmax, | |||
Double_t | phi1, | |||
Double_t | dphi | |||
) |
virtual void TGeoTorus::SetPoints | ( | Double_t * | points | ) | const [virtual] |
Reimplemented from TGeoBBox.
virtual void TGeoTorus::SetSegsAndPols | ( | TBuffer3D & | buff | ) | const [virtual] |
Reimplemented from TGeoBBox.
virtual void TGeoTorus::Sizeof3D | ( | ) | const [virtual] |
Reimplemented from TGeoBBox.
Double_t TGeoTorus::fR [protected] |
Definition at line 34 of file TGeoTorus.h.
Referenced by Capacity(), ComputeBBox(), ComputeNormal(), Contains(), Daxis(), DDaxis(), DDDaxis(), DistFromInside(), DistFromOutside(), GetBoundingCylinder(), GetR(), InspectShape(), Safety(), SavePrimitive(), SetPoints(), SetTorusDimensions(), and ToBoundary().
Double_t TGeoTorus::fRmin [protected] |
Definition at line 35 of file TGeoTorus.h.
Referenced by Capacity(), ComputeNormal(), Contains(), DistancetoPrimitive(), DistFromInside(), DistFromOutside(), GetAxisRange(), GetNmeshVertices(), GetRmin(), InspectShape(), Safety(), SavePrimitive(), SetPoints(), SetTorusDimensions(), and TGeoTorus().
Double_t TGeoTorus::fRmax [protected] |
Definition at line 36 of file TGeoTorus.h.
Referenced by Capacity(), ComputeBBox(), ComputeNormal(), Contains(), DistFromInside(), DistFromOutside(), GetAxisRange(), GetBoundingCylinder(), GetRmax(), InspectShape(), Safety(), SavePrimitive(), SetPoints(), SetTorusDimensions(), and TGeoTorus().
Double_t TGeoTorus::fPhi1 [protected] |
Definition at line 37 of file TGeoTorus.h.
Referenced by ComputeBBox(), ComputeNormal(), Contains(), DistFromInside(), DistFromOutside(), GetAxisRange(), GetBoundingCylinder(), GetPhi1(), InspectShape(), Safety(), SavePrimitive(), SetPoints(), and SetTorusDimensions().
Double_t TGeoTorus::fDphi [protected] |
Definition at line 38 of file TGeoTorus.h.
Referenced by Capacity(), ComputeBBox(), ComputeNormal(), Contains(), DistancetoPrimitive(), DistFromInside(), DistFromOutside(), GetAxisRange(), GetBoundingCylinder(), GetDphi(), GetNmeshVertices(), InspectShape(), Safety(), SavePrimitive(), SetPoints(), and SetTorusDimensions().