#include <TGeoHype.h>
Inheritance diagram for TGeoHype:
Definition at line 47 of file TGeoHype.h.
TGeoHype::TGeoHype | ( | ) |
Referenced by GetMakeRuntimeShape().
Definition at line 72 of file TGeoHype.cxx.
References ComputeBBox(), TGeoTube::fDz, TGeoShape::kGeoHype, TGeoShape::kGeoRunTimeShape, SetHypeDimensions(), and TGeoShape::SetShapeBit().
TGeoHype::TGeoHype | ( | const char * | name, | |
Double_t | rin, | |||
Double_t | stin, | |||
Double_t | rout, | |||
Double_t | stout, | |||
Double_t | dz | |||
) |
Definition at line 83 of file TGeoHype.cxx.
References ComputeBBox(), TGeoTube::fDz, TGeoShape::kGeoHype, TGeoShape::kGeoRunTimeShape, SetHypeDimensions(), and TGeoShape::SetShapeBit().
TGeoHype::TGeoHype | ( | Double_t * | params | ) |
Definition at line 95 of file TGeoHype.cxx.
References ComputeBBox(), TGeoTube::fDz, TGeoShape::kGeoHype, TGeoShape::kGeoRunTimeShape, SetDimensions(), and TGeoShape::SetShapeBit().
TGeoHype::~TGeoHype | ( | ) | [virtual] |
Definition at line 112 of file TGeoHype.cxx.
TGeoHype::TGeoHype | ( | ) |
TGeoHype::TGeoHype | ( | const char * | name, | |
Double_t | rin, | |||
Double_t | stin, | |||
Double_t | rout, | |||
Double_t | stout, | |||
Double_t | dz | |||
) |
TGeoHype::TGeoHype | ( | Double_t * | params | ) |
virtual TGeoHype::~TGeoHype | ( | ) | [virtual] |
Double_t TGeoHype::Capacity | ( | ) | const [virtual] |
Reimplemented from TGeoTube.
Definition at line 118 of file TGeoHype.cxx.
References TGeoTube::fDz, TGeoTube::fRmax, TGeoTube::fRmin, fTinsq, fToutsq, and TMath::Pi().
void TGeoHype::ComputeBBox | ( | ) | [virtual] |
Reimplemented from TGeoTube.
Definition at line 127 of file TGeoHype.cxx.
References TObject::Error(), TGeoBBox::fDX, TGeoBBox::fDY, TGeoTube::fDz, TGeoBBox::fDZ, TGeoTube::fRmax, TGeoTube::fRmin, fStIn, fStOut, fTinsq, fToutsq, TGeoShape::GetName(), kFALSE, TGeoShape::kGeoInvalidShape, RadiusHypeSq(), TGeoShape::SetShapeBit(), TMath::Sqrt(), and TObject::Warning().
Referenced by TGeoHypeEditor::DoApply(), and TGeoHype().
Reimplemented from TGeoTube.
Definition at line 146 of file TGeoHype.cxx.
References TMath::Abs(), TMath::ATan2(), TGeoShape::Big(), TMath::Cos(), E, TGeoTube::fDz, fTinsq, fToutsq, HasInner(), i, kFALSE, kTRUE, TMath::LocMin(), phi, RadiusHypeSq(), TMath::Sign(), TMath::Sin(), TMath::Sqrt(), and t.
Reimplemented from TGeoTube.
Definition at line 182 of file TGeoHype.cxx.
References TMath::Abs(), TGeoTube::fDz, HasInner(), kFALSE, kTRUE, r2, and RadiusHypeSq().
Double_t TGeoHype::DistFromInside | ( | Double_t * | point, | |
Double_t * | dir, | |||
Int_t | iact = 1 , |
|||
Double_t | step = TGeoShape::Big() , |
|||
Double_t * | safe = 0 | |||
) | const [virtual] |
Reimplemented from TGeoTube.
Definition at line 204 of file TGeoHype.cxx.
References TGeoShape::Big(), DistToHype(), TGeoTube::fDz, kFALSE, kTRUE, TMath::Min(), s, and Safety().
Double_t TGeoHype::DistFromOutside | ( | Double_t * | point, | |
Double_t * | dir, | |||
Int_t | iact = 1 , |
|||
Double_t | step = TGeoShape::Big() , |
|||
Double_t * | safe = 0 | |||
) | const [virtual] |
Reimplemented from TGeoTube.
Definition at line 243 of file TGeoHype.cxx.
References TMath::Abs(), TGeoShape::Big(), TGeoBBox::DistFromOutside(), DistToHype(), TGeoBBox::fDX, TGeoBBox::fDY, TGeoTube::fDz, TGeoBBox::fDZ, TGeoBBox::fOrigin, kFALSE, kTRUE, TMath::Min(), r2, RadiusHypeSq(), s, Safety(), and sin().
Definition at line 301 of file TGeoHype.cxx.
References a, TMath::Abs(), b, c, TGeoTube::fRmax, TGeoTube::fRmin, fTinsq, fToutsq, HasInner(), TMath::Sign(), TMath::Sqrt(), and TGeoShape::Tolerance().
Referenced by DistFromInside(), and DistFromOutside().
Reimplemented from TGeoTube.
Definition at line 196 of file TGeoHype.cxx.
References GetNmeshVertices(), and TGeoShape::ShapeDistancetoPrimitive().
TGeoVolume * TGeoHype::Divide | ( | TGeoVolume * | voldiv, | |
const char * | divname, | |||
Int_t | iaxis, | |||
Int_t | ndiv, | |||
Double_t | start, | |||
Double_t | step | |||
) | [virtual] |
Reimplemented from TGeoTube.
Definition at line 340 of file TGeoHype.cxx.
References TObject::Error().
Reimplemented from TGeoTube.
Definition at line 349 of file TGeoHype.cxx.
References TGeoTube::fDz, TGeoTube::fRmin, kFALSE, RadiusHypeSq(), and TMath::Sqrt().
void TGeoHype::GetBoundingCylinder | ( | Double_t * | param | ) | const [virtual] |
Reimplemented from TGeoTube.
Definition at line 376 of file TGeoHype.cxx.
References TGeoTube::fDz, TGeoTube::fRmin, kFALSE, RadiusHypeSq(), and TMath::Sqrt().
Reimplemented from TGeoTube.
Definition at line 911 of file TGeoHype.cxx.
References buffer, TGeoBBox::FillBuffer3D(), TGeoManager::GetNsegments(), gGeoManager, HasInner(), TBuffer3DTypes::kGeneric, TBuffer3D::kRaw, TBuffer3D::kRawSizes, n, SetPoints(), SetSegsAndPols(), and TGeoShape::TransformPoints().
virtual Int_t TGeoHype::GetByteCount | ( | ) | const [inline, virtual] |
TGeoShape * TGeoHype::GetMakeRuntimeShape | ( | TGeoShape * | mother, | |
TGeoMatrix * | mat | |||
) | const [virtual] |
Reimplemented from TGeoTube.
Definition at line 389 of file TGeoHype.cxx.
References TObject::Error(), TGeoTube::fDz, TGeoTube::fRmax, TGeoTube::fRmin, fStIn, fStOut, TGeoShape::GetAxisRange(), TGeoShape::GetName(), hype(), TGeoShape::kGeoRunTimeShape, TGeoShape::TestShapeBit(), and TGeoHype().
Reimplemented from TGeoTube.
Definition at line 878 of file TGeoHype.cxx.
References TGeoManager::GetNsegments(), gGeoManager, HasInner(), and n.
Int_t TGeoHype::GetNmeshVertices | ( | ) | const [virtual] |
Reimplemented from TGeoTube.
Definition at line 889 of file TGeoHype.cxx.
References TGeoManager::GetNsegments(), gGeoManager, TGeoTube::HasRmin(), and n.
Referenced by DistancetoPrimitive().
Double_t TGeoHype::GetStIn | ( | ) | const [inline] |
Definition at line 94 of file TGeoHype.h.
References fStIn.
Referenced by TGeoHypeEditor::SetModel().
Double_t TGeoHype::GetStOut | ( | ) | const [inline] |
Definition at line 95 of file TGeoHype.h.
References fStOut.
Referenced by TGeoHypeEditor::SetModel().
Bool_t TGeoHype::HasInner | ( | ) | const [inline] |
Definition at line 96 of file TGeoHype.h.
References TGeoShape::kGeoRSeg, and TGeoShape::TestShapeBit().
Referenced by ComputeNormal(), Contains(), DistToHype(), GetBuffer3D(), GetMeshNumbers(), MakeBuffer3D(), SafetyToHype(), SetPoints(), and SetSegsAndPols().
Definition at line 646 of file TGeoHype.cxx.
References TGeoTube::fRmax, TGeoTube::fRmin, fTinsq, and fToutsq.
Referenced by ComputeBBox(), ComputeNormal(), Contains(), DistFromOutside(), GetAxisRange(), GetBoundingCylinder(), SafetyToHype(), and SetPoints().
Definition at line 661 of file TGeoHype.cxx.
References TMath::Abs(), TGeoShape::Big(), TGeoTube::fRmax, TGeoTube::fRmin, fTinsq, fToutsq, and TGeoShape::Tolerance().
Referenced by SafetyToHype().
void TGeoHype::InspectShape | ( | ) | const [virtual] |
Reimplemented from TGeoTube.
Definition at line 412 of file TGeoHype.cxx.
References TGeoTube::fDz, TGeoTube::fRmax, TGeoTube::fRmin, fStIn, fStOut, TGeoShape::GetName(), and TGeoBBox::InspectShape().
virtual Bool_t TGeoHype::IsCylType | ( | ) | const [inline, virtual] |
TBuffer3D * TGeoHype::MakeBuffer3D | ( | ) | const [virtual] |
Reimplemented from TGeoTube.
Definition at line 427 of file TGeoHype.cxx.
References TBuffer3D::fPnts, TGeoManager::GetNsegments(), gGeoManager, HasInner(), TBuffer3DTypes::kGeneric, n, SetPoints(), and SetSegsAndPols().
Reimplemented from TGeoTube.
Definition at line 677 of file TGeoHype.cxx.
References TMath::Abs(), TGeoTube::fDz, kFALSE, kTRUE, safe, and SafetyToHype().
Referenced by DistFromInside(), and DistFromOutside().
Definition at line 699 of file TGeoHype.cxx.
References TMath::Abs(), TGeoShape::Big(), dr, TGeoTube::fRmin, fStIn, fStOut, fTinsq, fToutsq, HasInner(), m, RadiusHypeSq(), TMath::Sqrt(), TGeoShape::Tolerance(), and ZHypeSq().
Referenced by Safety().
void TGeoHype::SavePrimitive | ( | ostream & | out, | |
Option_t * | option = "" | |||
) | [virtual] |
Reimplemented from TGeoTube.
Definition at line 735 of file TGeoHype.cxx.
References TObject::ClassName(), TGeoTube::fDz, TGeoTube::fRmax, TGeoTube::fRmin, fStIn, fStOut, TGeoShape::GetName(), TGeoShape::GetPointerName(), TGeoShape::kGeoSavePrimitive, TObject::SetBit(), and TObject::TestBit().
void TGeoHype::SetHypeDimensions | ( | Double_t | rin, | |
Double_t | stin, | |||
Double_t | rout, | |||
Double_t | stout, | |||
Double_t | dz | |||
) |
Definition at line 750 of file TGeoHype.cxx.
References TMath::DegToRad(), TGeoTube::fDz, TGeoTube::fRmax, TGeoTube::fRmin, fStIn, fStOut, fTin, fTinsq, fTout, fToutsq, kFALSE, TGeoShape::kGeoRSeg, kTRUE, TGeoShape::SetShapeBit(), and TMath::Tan().
Referenced by SetDimensions(), and TGeoHype().
void TGeoHype::SetDimensions | ( | Double_t * | param | ) | [virtual] |
Reimplemented from TGeoTube.
Definition at line 767 of file TGeoHype.cxx.
References SetHypeDimensions().
Referenced by TGeoHypeEditor::DoApply(), and TGeoHype().
void TGeoHype::SetPoints | ( | Double_t * | points | ) | const [virtual] |
Reimplemented from TGeoTube.
Definition at line 784 of file TGeoHype.cxx.
References TMath::Cos(), TMath::DegToRad(), TGeoTube::fDz, TGeoManager::GetNsegments(), gGeoManager, HasInner(), i, j, kFALSE, kTRUE, n, phi, RadiusHypeSq(), TMath::Sin(), and TMath::Sqrt().
Referenced by GetBuffer3D(), and MakeBuffer3D().
void TGeoHype::SetPoints | ( | Float_t * | points | ) | const [virtual] |
Reimplemented from TGeoTube.
Definition at line 831 of file TGeoHype.cxx.
References TMath::Cos(), TMath::DegToRad(), TGeoTube::fDz, TGeoManager::GetNsegments(), gGeoManager, HasInner(), i, j, kFALSE, kTRUE, n, phi, RadiusHypeSq(), TMath::Sin(), and TMath::Sqrt().
void TGeoHype::SetSegsAndPols | ( | TBuffer3D & | buff | ) | const [virtual] |
Reimplemented from TGeoTube.
Definition at line 450 of file TGeoHype.cxx.
References c, TBuffer3D::fPols, TBuffer3D::fSegs, TGeoShape::GetBasicColor(), TGeoManager::GetNsegments(), gGeoManager, HasInner(), i, isin, j, and n.
Referenced by GetBuffer3D(), and MakeBuffer3D().
void TGeoHype::Sizeof3D | ( | ) | const [virtual] |
virtual void TGeoHype::ComputeBBox | ( | ) | [virtual] |
Reimplemented from TGeoTube.
virtual void TGeoHype::ComputeNormal | ( | Double_t * | point, | |
Double_t * | dir, | |||
Double_t * | norm | |||
) | [virtual] |
Reimplemented from TGeoTube.
virtual Double_t TGeoHype::DistFromInside | ( | Double_t * | point, | |
Double_t * | dir, | |||
Int_t | iact = 1 , |
|||
Double_t | step = TGeoShape::Big() , |
|||
Double_t * | safe = 0 | |||
) | const [virtual] |
Reimplemented from TGeoTube.
virtual Double_t TGeoHype::DistFromOutside | ( | Double_t * | point, | |
Double_t * | dir, | |||
Int_t | iact = 1 , |
|||
Double_t | step = TGeoShape::Big() , |
|||
Double_t * | safe = 0 | |||
) | const [virtual] |
Reimplemented from TGeoTube.
Reimplemented from TGeoTube.
virtual TGeoVolume* TGeoHype::Divide | ( | TGeoVolume * | voldiv, | |
const char * | divname, | |||
Int_t | iaxis, | |||
Int_t | ndiv, | |||
Double_t | start, | |||
Double_t | step | |||
) | [virtual] |
Reimplemented from TGeoTube.
virtual Double_t TGeoHype::GetAxisRange | ( | Int_t | iaxis, | |
Double_t & | xlo, | |||
Double_t & | xhi | |||
) | const [virtual] |
Reimplemented from TGeoTube.
virtual void TGeoHype::GetBoundingCylinder | ( | Double_t * | param | ) | const [virtual] |
Reimplemented from TGeoTube.
virtual const TBuffer3D& TGeoHype::GetBuffer3D | ( | Int_t | reqSections, | |
Bool_t | localFrame | |||
) | const [virtual] |
Reimplemented from TGeoTube.
virtual Int_t TGeoHype::GetByteCount | ( | ) | const [inline, virtual] |
virtual TGeoShape* TGeoHype::GetMakeRuntimeShape | ( | TGeoShape * | mother, | |
TGeoMatrix * | mat | |||
) | const [virtual] |
Reimplemented from TGeoTube.
virtual void TGeoHype::GetMeshNumbers | ( | Int_t & | nvert, | |
Int_t & | nsegs, | |||
Int_t & | npols | |||
) | const [virtual] |
Reimplemented from TGeoTube.
Double_t TGeoHype::GetStIn | ( | ) | const [inline] |
Double_t TGeoHype::GetStOut | ( | ) | const [inline] |
Bool_t TGeoHype::HasInner | ( | ) | const [inline] |
Definition at line 96 of file TGeoHype.h.
References TGeoShape::kGeoRSeg, and TGeoShape::TestShapeBit().
virtual void TGeoHype::InspectShape | ( | ) | const [virtual] |
Reimplemented from TGeoTube.
virtual Bool_t TGeoHype::IsCylType | ( | ) | const [inline, virtual] |
Reimplemented from TGeoTube.
virtual void TGeoHype::SavePrimitive | ( | ostream & | out, | |
Option_t * | option = "" | |||
) | [virtual] |
Reimplemented from TGeoTube.
void TGeoHype::SetHypeDimensions | ( | Double_t | rin, | |
Double_t | stin, | |||
Double_t | rout, | |||
Double_t | stout, | |||
Double_t | dz | |||
) |
virtual void TGeoHype::SetSegsAndPols | ( | TBuffer3D & | buff | ) | const [virtual] |
Reimplemented from TGeoTube.
virtual void TGeoHype::Sizeof3D | ( | ) | const [virtual] |
Reimplemented from TGeoTube.
Double_t TGeoHype::fStIn [protected] |
Definition at line 54 of file TGeoHype.h.
Referenced by ComputeBBox(), GetMakeRuntimeShape(), GetStIn(), InspectShape(), SafetyToHype(), SavePrimitive(), and SetHypeDimensions().
Double_t TGeoHype::fStOut [protected] |
Definition at line 55 of file TGeoHype.h.
Referenced by ComputeBBox(), GetMakeRuntimeShape(), GetStOut(), InspectShape(), SafetyToHype(), SavePrimitive(), and SetHypeDimensions().
Double_t TGeoHype::fTin [private] |
Double_t TGeoHype::fTout [private] |
Double_t TGeoHype::fTinsq [private] |
Definition at line 61 of file TGeoHype.h.
Referenced by Capacity(), ComputeBBox(), ComputeNormal(), DistToHype(), RadiusHypeSq(), SafetyToHype(), SetHypeDimensions(), and ZHypeSq().
Double_t TGeoHype::fToutsq [private] |
Definition at line 62 of file TGeoHype.h.
Referenced by Capacity(), ComputeBBox(), ComputeNormal(), DistToHype(), RadiusHypeSq(), SafetyToHype(), SetHypeDimensions(), and ZHypeSq().