#include <TGeoTrd2.h>
Inheritance diagram for TGeoTrd2:
Definition at line 28 of file TGeoTrd2.h.
TGeoTrd2::TGeoTrd2 | ( | ) |
Referenced by Divide(), and GetMakeRuntimeShape().
Definition at line 56 of file TGeoTrd2.cxx.
References ComputeBBox(), fDx1, fDx2, fDy1, fDy2, fDz, TGeoShape::kGeoRunTimeShape, TGeoShape::kGeoTrd2, and TGeoShape::SetShapeBit().
TGeoTrd2::TGeoTrd2 | ( | const char * | name, | |
Double_t | dx1, | |||
Double_t | dx2, | |||
Double_t | dy1, | |||
Double_t | dy2, | |||
Double_t | dz | |||
) |
Definition at line 75 of file TGeoTrd2.cxx.
References ComputeBBox(), fDx1, fDx2, fDy1, fDy2, fDz, TGeoShape::kGeoRunTimeShape, TGeoShape::kGeoTrd2, and TGeoShape::SetShapeBit().
TGeoTrd2::TGeoTrd2 | ( | Double_t * | params | ) |
Definition at line 94 of file TGeoTrd2.cxx.
References ComputeBBox(), fDx1, fDx2, fDy1, fDy2, fDz, TGeoShape::kGeoRunTimeShape, TGeoShape::kGeoTrd2, SetDimensions(), and TGeoShape::SetShapeBit().
TGeoTrd2::~TGeoTrd2 | ( | ) | [virtual] |
Definition at line 110 of file TGeoTrd2.cxx.
TGeoTrd2::TGeoTrd2 | ( | ) |
TGeoTrd2::TGeoTrd2 | ( | const char * | name, | |
Double_t | dx1, | |||
Double_t | dx2, | |||
Double_t | dy1, | |||
Double_t | dy2, | |||
Double_t | dz | |||
) |
TGeoTrd2::TGeoTrd2 | ( | Double_t * | params | ) |
virtual TGeoTrd2::~TGeoTrd2 | ( | ) | [virtual] |
Double_t TGeoTrd2::Capacity | ( | ) | const [virtual] |
Reimplemented from TGeoBBox.
Definition at line 185 of file TGeoTrd2.cxx.
References TMath::Abs(), fDx1, fDx2, fDy1, fDy2, fDz, kFALSE, and kTRUE.
Referenced by GetFittingBox().
void TGeoTrd2::ComputeBBox | ( | ) | [virtual] |
Reimplemented from TGeoBBox.
Definition at line 125 of file TGeoTrd2.cxx.
References TGeoBBox::fDX, fDx1, fDx2, TGeoBBox::fDY, fDy1, fDy2, fDz, TGeoBBox::fDZ, TGeoBBox::fOrigin, and TMath::Max().
Referenced by TGeoTrd2Editor::DoApply(), SetDimensions(), and TGeoTrd2().
Reimplemented from TGeoBBox.
Definition at line 135 of file TGeoTrd2.cxx.
References TMath::Abs(), RootCsg::dot(), E, fDx1, fDx2, fDy1, fDy2, fDz, safe, and TMath::Sqrt().
Double_t TGeoTrd2::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 200 of file TGeoTrd2.cxx.
References TGeoShape::Big(), ROOT::Math::gv_detail::dist(), fDx1, fDx2, fDy1, fDy2, fDz, i, kTRUE, TMath::LocMin(), s, and Safety().
Double_t TGeoTrd2::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 262 of file TGeoTrd2.cxx.
References TMath::Abs(), TGeoShape::Big(), fDx1, fDx2, fDy1, fDy2, fDz, kFALSE, kTRUE, Safety(), and TMath::Sign().
TGeoVolume * TGeoTrd2::Divide | ( | TGeoVolume * | voldiv, | |
const char * | divname, | |||
Int_t | iaxis, | |||
Int_t | ndiv, | |||
Double_t | start, | |||
Double_t | step | |||
) | [virtual] |
Reimplemented from TGeoBBox.
Definition at line 467 of file TGeoTrd2.cxx.
References TGeoVolume::AddNodeOffset(), TGeoVolumeMulti::AddVolume(), TObjArray::At(), TString::Data(), TObject::Error(), fDx1, fDx2, fDy1, fDy2, fDz, TGeoVolume::GetMedium(), TGeoVolume::GetNdaughters(), TGeoVolume::GetNodes(), gGeoManager, id, TGeoManager::MakeVolumeMulti(), TGeoPatternFinder::SetDivIndex(), TGeoVolume::SetFinder(), TGeoTrd2(), and TObject::Warning().
void TGeoTrd2::GetBoundingCylinder | ( | Double_t * | param | ) | const [virtual] |
Reimplemented from TGeoBBox.
Definition at line 517 of file TGeoTrd2.cxx.
References TGeoBBox::GetBoundingCylinder().
virtual Int_t TGeoTrd2::GetByteCount | ( | ) | const [inline, virtual] |
Double_t TGeoTrd2::GetDx1 | ( | ) | const [inline] |
Definition at line 63 of file TGeoTrd2.h.
References fDx1.
Referenced by TGeoTrd2Editor::SetModel().
Double_t TGeoTrd2::GetDx2 | ( | ) | const [inline] |
Definition at line 64 of file TGeoTrd2.h.
References fDx2.
Referenced by TGeoTrd2Editor::SetModel().
Double_t TGeoTrd2::GetDy1 | ( | ) | const [inline] |
Definition at line 65 of file TGeoTrd2.h.
References fDy1.
Referenced by TGeoTrd2Editor::SetModel().
Double_t TGeoTrd2::GetDy2 | ( | ) | const [inline] |
Definition at line 66 of file TGeoTrd2.h.
References fDy2.
Referenced by TGeoTrd2Editor::SetModel().
Double_t TGeoTrd2::GetDz | ( | ) | const [inline] |
Int_t TGeoTrd2::GetFittingBox | ( | const TGeoBBox * | parambox, | |
TGeoMatrix * | mat, | |||
Double_t & | dx, | |||
Double_t & | dy, | |||
Double_t & | dz | |||
) | const [virtual] |
Reimplemented from TGeoBBox.
Definition at line 525 of file TGeoTrd2.cxx.
References Contains(), TObject::Error(), fDx1, fDx2, fDy1, fDy2, fDz, TGeoBBox::GetDX(), TGeoBBox::GetDY(), TGeoBBox::GetDZ(), TGeoBBox::GetOrigin(), TGeoMatrix::IsRotation(), TGeoMatrix::LocalToMaster(), and TMath::Min().
TGeoShape * TGeoTrd2::GetMakeRuntimeShape | ( | TGeoShape * | mother, | |
TGeoMatrix * | mat | |||
) | const [virtual] |
Reimplemented from TGeoBBox.
Definition at line 581 of file TGeoTrd2.cxx.
References TObject::Error(), fDx1, fDx2, fDy1, fDy2, fDz, TGeoShape::kGeoRunTimeShape, TGeoShape::kGeoTrd2, TGeoShape::TestShapeBit(), and TGeoTrd2().
Definition at line 398 of file TGeoTrd2.cxx.
References fDx1, fDx2, fDy1, fDy2, fDz, kFALSE, TGeoShape::kGeoVisX, TGeoShape::kGeoVisY, TGeoShape::kGeoVisZ, SetVertex(), TMath::Sqrt(), and trd2().
void TGeoTrd2::GetOppositeCorner | ( | Double_t * | point, | |
Int_t | inorm, | |||
Double_t * | vertex, | |||
Double_t * | normals | |||
) | const |
Definition at line 444 of file TGeoTrd2.cxx.
References TGeoShape::kGeoVisX, TGeoShape::kGeoVisY, TGeoShape::kGeoVisZ, SetVertex(), TGeoShape::TestShapeBit(), and trd2().
void TGeoTrd2::InspectShape | ( | ) | const [virtual] |
Reimplemented from TGeoBBox.
Definition at line 606 of file TGeoTrd2.cxx.
References fDx1, fDx2, fDy1, fDy2, fDz, TGeoShape::GetName(), and TGeoBBox::InspectShape().
virtual Bool_t TGeoTrd2::IsCylType | ( | ) | const [inline, virtual] |
Reimplemented from TGeoBBox.
Definition at line 620 of file TGeoTrd2.cxx.
References TMath::Abs(), TGeoShape::Big(), fDx1, fDx2, fDy1, fDy2, fDz, i, TMath::LocMax(), TMath::LocMin(), and TMath::Sqrt().
Referenced by DistFromInside(), and DistFromOutside().
void TGeoTrd2::SavePrimitive | ( | ostream & | out, | |
Option_t * | option = "" | |||
) | [virtual] |
Reimplemented from TGeoBBox.
Definition at line 648 of file TGeoTrd2.cxx.
References TObject::ClassName(), fDx1, fDx2, fDy1, fDy2, TGeoBBox::fDZ, TGeoShape::GetName(), TGeoShape::GetPointerName(), TGeoShape::kGeoSavePrimitive, TObject::SetBit(), and TObject::TestBit().
void TGeoTrd2::SetDimensions | ( | Double_t * | param | ) | [virtual] |
Reimplemented from TGeoBBox.
Definition at line 663 of file TGeoTrd2.cxx.
References ComputeBBox(), fDx1, fDx2, fDy1, fDy2, and fDz.
Referenced by TGeoTrd2Editor::DoApply(), and TGeoTrd2().
void TGeoTrd2::SetPoints | ( | Double_t * | points | ) | const [virtual] |
void TGeoTrd2::SetPoints | ( | Float_t * | points | ) | const [virtual] |
void TGeoTrd2::SetVertex | ( | Double_t * | vertex | ) | const |
Definition at line 705 of file TGeoTrd2.cxx.
References fDx1, fDx2, fDy1, fDy2, fDz, TGeoShape::kGeoVisX, TGeoShape::kGeoVisY, TGeoShape::kGeoVisZ, and TGeoShape::TestShapeBit().
Referenced by GetOppositeCorner(), and GetVisibleCorner().
void TGeoTrd2::Sizeof3D | ( | ) | const [virtual] |
Reimplemented from TGeoBBox.
Definition at line 732 of file TGeoTrd2.cxx.
References TGeoBBox::Sizeof3D().
virtual void TGeoTrd2::ComputeBBox | ( | ) | [virtual] |
Reimplemented from TGeoBBox.
virtual void TGeoTrd2::ComputeNormal | ( | Double_t * | point, | |
Double_t * | dir, | |||
Double_t * | norm | |||
) | [virtual] |
Reimplemented from TGeoBBox.
virtual Double_t TGeoTrd2::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 TGeoTrd2::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.
virtual TGeoVolume* TGeoTrd2::Divide | ( | TGeoVolume * | voldiv, | |
const char * | divname, | |||
Int_t | iaxis, | |||
Int_t | ndiv, | |||
Double_t | start, | |||
Double_t | step | |||
) | [virtual] |
Reimplemented from TGeoBBox.
virtual Double_t TGeoTrd2::GetAxisRange | ( | Int_t | iaxis, | |
Double_t & | xlo, | |||
Double_t & | xhi | |||
) | const [virtual] |
Reimplemented from TGeoBBox.
virtual void TGeoTrd2::GetBoundingCylinder | ( | Double_t * | param | ) | const [virtual] |
Reimplemented from TGeoBBox.
virtual Int_t TGeoTrd2::GetByteCount | ( | ) | const [inline, virtual] |
Double_t TGeoTrd2::GetDx1 | ( | ) | const [inline] |
Double_t TGeoTrd2::GetDx2 | ( | ) | const [inline] |
Double_t TGeoTrd2::GetDy1 | ( | ) | const [inline] |
Double_t TGeoTrd2::GetDy2 | ( | ) | const [inline] |
Double_t TGeoTrd2::GetDz | ( | ) | const [inline] |
virtual Int_t TGeoTrd2::GetFittingBox | ( | const TGeoBBox * | parambox, | |
TGeoMatrix * | mat, | |||
Double_t & | dx, | |||
Double_t & | dy, | |||
Double_t & | dz | |||
) | const [virtual] |
Reimplemented from TGeoBBox.
virtual TGeoShape* TGeoTrd2::GetMakeRuntimeShape | ( | TGeoShape * | mother, | |
TGeoMatrix * | mat | |||
) | const [virtual] |
Reimplemented from TGeoBBox.
void TGeoTrd2::GetOppositeCorner | ( | Double_t * | point, | |
Int_t | inorm, | |||
Double_t * | vertex, | |||
Double_t * | normals | |||
) | const |
virtual void TGeoTrd2::InspectShape | ( | ) | const [virtual] |
Reimplemented from TGeoBBox.
virtual Bool_t TGeoTrd2::IsCylType | ( | ) | const [inline, virtual] |
Reimplemented from TGeoBBox.
virtual void TGeoTrd2::SavePrimitive | ( | ostream & | out, | |
Option_t * | option = "" | |||
) | [virtual] |
Reimplemented from TGeoBBox.
void TGeoTrd2::SetVertex | ( | Double_t * | vertex | ) | const |
virtual void TGeoTrd2::Sizeof3D | ( | ) | const [virtual] |
Reimplemented from TGeoBBox.
Double_t TGeoTrd2::fDx1 [protected] |
Definition at line 32 of file TGeoTrd2.h.
Referenced by Capacity(), ComputeBBox(), ComputeNormal(), Contains(), DistFromInside(), DistFromOutside(), Divide(), GetDx1(), GetFittingBox(), GetMakeRuntimeShape(), GetVisibleCorner(), InspectShape(), Safety(), SavePrimitive(), SetDimensions(), SetPoints(), SetVertex(), and TGeoTrd2().
Double_t TGeoTrd2::fDx2 [protected] |
Definition at line 33 of file TGeoTrd2.h.
Referenced by Capacity(), ComputeBBox(), ComputeNormal(), Contains(), DistFromInside(), DistFromOutside(), Divide(), GetDx2(), GetFittingBox(), GetMakeRuntimeShape(), GetVisibleCorner(), InspectShape(), Safety(), SavePrimitive(), SetDimensions(), SetPoints(), SetVertex(), and TGeoTrd2().
Double_t TGeoTrd2::fDy1 [protected] |
Definition at line 34 of file TGeoTrd2.h.
Referenced by Capacity(), ComputeBBox(), ComputeNormal(), Contains(), DistFromInside(), DistFromOutside(), Divide(), GetDy1(), GetFittingBox(), GetMakeRuntimeShape(), GetVisibleCorner(), InspectShape(), Safety(), SavePrimitive(), SetDimensions(), SetPoints(), SetVertex(), and TGeoTrd2().
Double_t TGeoTrd2::fDy2 [protected] |
Definition at line 35 of file TGeoTrd2.h.
Referenced by Capacity(), ComputeBBox(), ComputeNormal(), Contains(), DistFromInside(), DistFromOutside(), Divide(), GetDy2(), GetFittingBox(), GetMakeRuntimeShape(), GetVisibleCorner(), InspectShape(), Safety(), SavePrimitive(), SetDimensions(), SetPoints(), SetVertex(), and TGeoTrd2().
Double_t TGeoTrd2::fDz [protected] |
Definition at line 36 of file TGeoTrd2.h.
Referenced by Capacity(), ComputeBBox(), ComputeNormal(), Contains(), DistFromInside(), DistFromOutside(), Divide(), GetAxisRange(), GetDz(), GetFittingBox(), GetMakeRuntimeShape(), GetVisibleCorner(), InspectShape(), Safety(), SetDimensions(), SetPoints(), SetVertex(), and TGeoTrd2().