#include <TGeoBBox.h>
Inheritance diagram for TGeoBBox:
Public Member Functions | |
TGeoBBox () | |
TGeoBBox (Double_t dx, Double_t dy, Double_t dz, Double_t *origin=0) | |
TGeoBBox (const char *name, Double_t dx, Double_t dy, Double_t dz, Double_t *origin=0) | |
TGeoBBox (Double_t *param) | |
virtual | ~TGeoBBox () |
virtual Double_t | Capacity () const |
virtual void | ComputeBBox () |
virtual void | ComputeNormal (Double_t *point, Double_t *dir, Double_t *norm) |
virtual Bool_t | Contains (Double_t *point) const |
virtual Bool_t | CouldBeCrossed (Double_t *point, Double_t *dir) const |
virtual Int_t | DistancetoPrimitive (Int_t px, Int_t py) |
virtual Double_t | DistFromInside (Double_t *point, Double_t *dir, Int_t iact=1, Double_t step=TGeoShape::Big(), Double_t *safe=0) const |
virtual Double_t | DistFromOutside (Double_t *point, Double_t *dir, Int_t iact=1, Double_t step=TGeoShape::Big(), Double_t *safe=0) const |
virtual TGeoVolume * | Divide (TGeoVolume *voldiv, const char *divname, Int_t iaxis, Int_t ndiv, Double_t start, Double_t step) |
virtual const char * | GetAxisName (Int_t iaxis) const |
virtual Double_t | GetAxisRange (Int_t iaxis, Double_t &xlo, Double_t &xhi) const |
virtual void | GetBoundingCylinder (Double_t *param) const |
virtual const TBuffer3D & | GetBuffer3D (Int_t reqSections, Bool_t localFrame) const |
virtual Int_t | GetByteCount () const |
virtual Double_t | GetFacetArea (Int_t index=0) const |
virtual Bool_t | GetPointsOnFacet (Int_t index, Int_t npoints, Double_t *array) const |
virtual Bool_t | GetPointsOnSegments (Int_t npoints, Double_t *array) const |
virtual Int_t | GetFittingBox (const TGeoBBox *parambox, TGeoMatrix *mat, Double_t &dx, Double_t &dy, Double_t &dz) const |
virtual TGeoShape * | GetMakeRuntimeShape (TGeoShape *mother, TGeoMatrix *mat) const |
virtual void | GetMeshNumbers (Int_t &nvert, Int_t &nsegs, Int_t &npols) const |
virtual Int_t | GetNmeshVertices () const |
virtual Double_t | GetDX () const |
virtual Double_t | GetDY () const |
virtual Double_t | GetDZ () const |
virtual const Double_t * | GetOrigin () const |
virtual void | InspectShape () const |
virtual Bool_t | IsCylType () const |
virtual Bool_t | IsValidBox () const |
virtual Bool_t | IsNullBox () const |
virtual TBuffer3D * | MakeBuffer3D () const |
virtual Double_t | Safety (Double_t *point, Bool_t in=kTRUE) const |
virtual void | SavePrimitive (ostream &out, Option_t *option="") |
void | SetBoxDimensions (Double_t dx, Double_t dy, Double_t dz, Double_t *origin=0) |
virtual void | SetDimensions (Double_t *param) |
void | SetBoxPoints (Double_t *points) const |
virtual void | SetPoints (Double_t *points) const |
virtual void | SetPoints (Float_t *points) const |
virtual void | SetSegsAndPols (TBuffer3D &buffer) const |
virtual void | Sizeof3D () const |
TGeoBBox () | |
TGeoBBox (Double_t dx, Double_t dy, Double_t dz, Double_t *origin=0) | |
TGeoBBox (const char *name, Double_t dx, Double_t dy, Double_t dz, Double_t *origin=0) | |
TGeoBBox (Double_t *param) | |
virtual | ~TGeoBBox () |
virtual Double_t | Capacity () const |
virtual void | ComputeBBox () |
virtual void | ComputeNormal (Double_t *point, Double_t *dir, Double_t *norm) |
virtual Bool_t | Contains (Double_t *point) const |
virtual Bool_t | CouldBeCrossed (Double_t *point, Double_t *dir) const |
virtual Int_t | DistancetoPrimitive (Int_t px, Int_t py) |
virtual Double_t | DistFromInside (Double_t *point, Double_t *dir, Int_t iact=1, Double_t step=TGeoShape::Big(), Double_t *safe=0) const |
virtual Double_t | DistFromOutside (Double_t *point, Double_t *dir, Int_t iact=1, Double_t step=TGeoShape::Big(), Double_t *safe=0) const |
virtual TGeoVolume * | Divide (TGeoVolume *voldiv, const char *divname, Int_t iaxis, Int_t ndiv, Double_t start, Double_t step) |
virtual const char * | GetAxisName (Int_t iaxis) const |
virtual Double_t | GetAxisRange (Int_t iaxis, Double_t &xlo, Double_t &xhi) const |
virtual void | GetBoundingCylinder (Double_t *param) const |
virtual const TBuffer3D & | GetBuffer3D (Int_t reqSections, Bool_t localFrame) const |
virtual Int_t | GetByteCount () const |
virtual Double_t | GetFacetArea (Int_t index=0) const |
virtual Bool_t | GetPointsOnFacet (Int_t index, Int_t npoints, Double_t *array) const |
virtual Bool_t | GetPointsOnSegments (Int_t npoints, Double_t *array) const |
virtual Int_t | GetFittingBox (const TGeoBBox *parambox, TGeoMatrix *mat, Double_t &dx, Double_t &dy, Double_t &dz) const |
virtual TGeoShape * | GetMakeRuntimeShape (TGeoShape *mother, TGeoMatrix *mat) const |
virtual void | GetMeshNumbers (Int_t &nvert, Int_t &nsegs, Int_t &npols) const |
virtual Int_t | GetNmeshVertices () const |
virtual Double_t | GetDX () const |
virtual Double_t | GetDY () const |
virtual Double_t | GetDZ () const |
virtual const Double_t * | GetOrigin () const |
virtual void | InspectShape () const |
virtual Bool_t | IsCylType () const |
virtual Bool_t | IsValidBox () const |
virtual Bool_t | IsNullBox () const |
virtual TBuffer3D * | MakeBuffer3D () const |
virtual Double_t | Safety (Double_t *point, Bool_t in=kTRUE) const |
virtual void | SavePrimitive (ostream &out, Option_t *option="") |
void | SetBoxDimensions (Double_t dx, Double_t dy, Double_t dz, Double_t *origin=0) |
virtual void | SetDimensions (Double_t *param) |
void | SetBoxPoints (Double_t *points) const |
virtual void | SetPoints (Double_t *points) const |
virtual void | SetPoints (Float_t *points) const |
virtual void | SetSegsAndPols (TBuffer3D &buffer) const |
virtual void | Sizeof3D () const |
Static Public Member Functions | |
static Bool_t | AreOverlapping (const TGeoBBox *box1, const TGeoMatrix *mat1, const TGeoBBox *box2, const TGeoMatrix *mat2) |
static Bool_t | Contains (const Double_t *point, Double_t dx, Double_t dy, Double_t dz, const Double_t *origin) |
static Double_t | DistFromInside (const Double_t *point, const Double_t *dir, Double_t dx, Double_t dy, Double_t dz, const Double_t *origin, Double_t stepmax=TGeoShape::Big()) |
static Double_t | DistFromOutside (const Double_t *point, const Double_t *dir, Double_t dx, Double_t dy, Double_t dz, const Double_t *origin, Double_t stepmax=TGeoShape::Big()) |
static Bool_t | AreOverlapping (const TGeoBBox *box1, const TGeoMatrix *mat1, const TGeoBBox *box2, const TGeoMatrix *mat2) |
static Bool_t | Contains (const Double_t *point, Double_t dx, Double_t dy, Double_t dz, const Double_t *origin) |
static Double_t | DistFromInside (const Double_t *point, const Double_t *dir, Double_t dx, Double_t dy, Double_t dz, const Double_t *origin, Double_t stepmax=TGeoShape::Big()) |
static Double_t | DistFromOutside (const Double_t *point, const Double_t *dir, Double_t dx, Double_t dy, Double_t dz, const Double_t *origin, Double_t stepmax=TGeoShape::Big()) |
Protected Member Functions | |
virtual void | FillBuffer3D (TBuffer3D &buffer, Int_t reqSections, Bool_t localFrame) const |
virtual void | FillBuffer3D (TBuffer3D &buffer, Int_t reqSections, Bool_t localFrame) const |
Protected Attributes | |
Double_t | fDX |
Double_t | fDY |
Double_t | fDZ |
Double_t | fOrigin [3] |
Definition at line 29 of file TGeoBBox.h.
TGeoBBox::TGeoBBox | ( | ) |
Referenced by Divide(), and GetMakeRuntimeShape().
Definition at line 99 of file TGeoBBox.cxx.
References fOrigin, TGeoShape::kGeoBox, SetBoxDimensions(), and TGeoShape::SetShapeBit().
TGeoBBox::TGeoBBox | ( | const char * | name, | |
Double_t | dx, | |||
Double_t | dy, | |||
Double_t | dz, | |||
Double_t * | origin = 0 | |||
) |
Definition at line 109 of file TGeoBBox.cxx.
References fOrigin, TGeoShape::kGeoBox, SetBoxDimensions(), and TGeoShape::SetShapeBit().
TGeoBBox::TGeoBBox | ( | Double_t * | param | ) |
Definition at line 119 of file TGeoBBox.cxx.
References fOrigin, TGeoShape::kGeoBox, SetDimensions(), and TGeoShape::SetShapeBit().
TGeoBBox::~TGeoBBox | ( | ) | [virtual] |
Definition at line 132 of file TGeoBBox.cxx.
TGeoBBox::TGeoBBox | ( | ) |
TGeoBBox::TGeoBBox | ( | const char * | name, | |
Double_t | dx, | |||
Double_t | dy, | |||
Double_t | dz, | |||
Double_t * | origin = 0 | |||
) |
TGeoBBox::TGeoBBox | ( | Double_t * | param | ) |
virtual TGeoBBox::~TGeoBBox | ( | ) | [virtual] |
void TGeoBBox::FillBuffer3D | ( | TBuffer3D & | buffer, | |
Int_t | reqSections, | |||
Bool_t | localFrame | |||
) | const [protected, virtual] |
Reimplemented from TGeoShape.
Definition at line 947 of file TGeoBBox.cxx.
References buffer, fDX, fDY, fDZ, TGeoShape::FillBuffer3D(), fOrigin, TBuffer3D::kBoundingBox, and TGeoShape::TransformPoints().
Referenced by TGeoTubeSeg::GetBuffer3D(), TGeoHype::GetBuffer3D(), TGeoCone::GetBuffer3D(), TGeoSphere::GetBuffer3D(), TGeoXtru::GetBuffer3D(), TGeoPgon::GetBuffer3D(), TGeoTube::GetBuffer3D(), TGeoTorus::GetBuffer3D(), TGeoEltu::GetBuffer3D(), TGeoConeSeg::GetBuffer3D(), TGeoPcon::GetBuffer3D(), TGeoParaboloid::GetBuffer3D(), TGeoCtub::GetBuffer3D(), GetBuffer3D(), and TGeoCompositeShape::PaintComposite().
Bool_t TGeoBBox::AreOverlapping | ( | const TGeoBBox * | box1, | |
const TGeoMatrix * | mat1, | |||
const TGeoBBox * | box2, | |||
const TGeoMatrix * | mat2 | |||
) | [static] |
Definition at line 138 of file TGeoBBox.cxx.
References Contains(), dir(), DistFromInside(), DistFromOutside(), GetDX(), GetDY(), GetDZ(), GetOrigin(), kFALSE, kTRUE, local, TGeoMatrix::LocalToMaster(), TGeoMatrix::MasterToLocal(), TGeoMatrix::MasterToLocalVect(), TMath::Sqrt(), and TGeoShape::Tolerance().
Referenced by G__G__Geom1_172_0_6(), and G__setup_memfuncTGeoBBox().
Double_t TGeoBBox::Capacity | ( | ) | const [virtual] |
void TGeoBBox::ComputeBBox | ( | ) | [virtual] |
Implements TGeoShape.
Definition at line 185 of file TGeoBBox.cxx.
References TMath::Abs(), fDX, fDY, fDZ, fOrigin, i, and TMath::LocMin().
Implements TGeoShape.
Definition at line 282 of file TGeoBBox.cxx.
References TMath::Abs(), fDX, fDY, fDZ, fOrigin, kFALSE, and kTRUE.
Referenced by AreOverlapping(), TGeoShapeAssembly::Contains(), TGeoXtru::DistFromOutside(), TGeoShapeAssembly::DistFromOutside(), G__G__Geom1_172_0_11(), G__setup_memfuncTGeoBBox(), GetFittingBox(), and TGeoArb8::Safety().
Implements TGeoShape.
Definition at line 222 of file TGeoBBox.cxx.
References TGeoShape::ShapeDistancetoPrimitive().
Double_t TGeoBBox::DistFromInside | ( | Double_t * | point, | |
Double_t * | dir, | |||
Int_t | iact = 1 , |
|||
Double_t | step = TGeoShape::Big() , |
|||
Double_t * | safe = 0 | |||
) | const [virtual] |
Implements TGeoShape.
Definition at line 302 of file TGeoBBox.cxx.
References TGeoShape::Big(), fDX, fDY, fDZ, fOrigin, i, and s.
Referenced by AreOverlapping(), G__G__Geom1_172_0_15(), and G__setup_memfuncTGeoBBox().
Double_t TGeoBBox::DistFromOutside | ( | Double_t * | point, | |
Double_t * | dir, | |||
Int_t | iact = 1 , |
|||
Double_t | step = TGeoShape::Big() , |
|||
Double_t * | safe = 0 | |||
) | const [virtual] |
Implements TGeoShape.
Definition at line 366 of file TGeoBBox.cxx.
References TMath::Abs(), TGeoShape::Big(), fDX, fDY, fDZ, fOrigin, i, j, kFALSE, kTRUE, and par.
Referenced by AreOverlapping(), TGeoCtub::DistFromOutside(), TGeoTubeSeg::DistFromOutside(), TGeoPgon::DistFromOutside(), TGeoXtru::DistFromOutside(), TGeoArb8::DistFromOutside(), TGeoPcon::DistFromOutside(), TGeoCone::DistFromOutside(), TGeoCompositeShape::DistFromOutside(), TGeoTube::DistFromOutside(), TGeoHype::DistFromOutside(), TGeoEltu::DistFromOutside(), TGeoTrap::DistFromOutside(), TGeoSphere::DistFromOutside(), TGeoShapeAssembly::DistFromOutside(), TGeoConeSeg::DistFromOutside(), TGeoTorus::DistFromOutside(), G__G__Geom1_172_0_17(), and G__setup_memfuncTGeoBBox().
Double_t TGeoBBox::DistFromOutside | ( | const Double_t * | point, | |
const Double_t * | dir, | |||
Double_t | dx, | |||
Double_t | dy, | |||
Double_t | dz, | |||
const Double_t * | origin, | |||
Double_t | stepmax = TGeoShape::Big() | |||
) | [static] |
Definition at line 430 of file TGeoBBox.cxx.
References TMath::Abs(), TGeoShape::Big(), i, j, kFALSE, kTRUE, and par.
TGeoVolume * TGeoBBox::Divide | ( | TGeoVolume * | voldiv, | |
const char * | divname, | |||
Int_t | iaxis, | |||
Int_t | ndiv, | |||
Double_t | start, | |||
Double_t | step | |||
) | [virtual] |
Implements TGeoShape.
Definition at line 230 of file TGeoBBox.cxx.
References TGeoVolume::AddNodeOffset(), TObjArray::At(), TString::Data(), TObject::Error(), fDX, fDY, fDZ, TGeoVolume::GetMedium(), TGeoVolume::GetNdaughters(), TGeoVolume::GetNodes(), gGeoManager, TGeoManager::MakeVolumeMulti(), TGeoPatternFinder::SetDivIndex(), TGeoVolume::SetFinder(), and TGeoBBox().
const char * TGeoBBox::GetAxisName | ( | Int_t | iaxis | ) | const [virtual] |
Implements TGeoShape.
Definition at line 488 of file TGeoBBox.cxx.
References fDX, fDY, fDZ, and fOrigin.
Referenced by GetFittingBox().
void TGeoBBox::GetBoundingCylinder | ( | Double_t * | param | ) | const [virtual] |
Implements TGeoShape.
Definition at line 515 of file TGeoBBox.cxx.
Referenced by TGeoTrd2::GetBoundingCylinder(), TGeoTrd1::GetBoundingCylinder(), and TGeoPara::GetBoundingCylinder().
Reimplemented from TGeoShape.
Definition at line 919 of file TGeoBBox.cxx.
References buffer, FillBuffer3D(), TBuffer3DTypes::kGeneric, TBuffer3D::kRaw, TBuffer3D::kRawSizes, SetPoints(), SetSegsAndPols(), and TGeoShape::TransformPoints().
Referenced by GetPointsOnSegments().
virtual Int_t TGeoBBox::GetByteCount | ( | ) | const [inline, virtual] |
Definition at line 554 of file TGeoBBox.cxx.
References TMath::BinarySearch(), fDX, fDY, fDZ, GetFacetArea(), gRandom, i, kFALSE, kTRUE, TRandom::Rndm(), and val.
Implements TGeoShape.
Definition at line 619 of file TGeoBBox.cxx.
References TObject::Error(), TBuffer3D::fPnts, TBuffer3D::fSegs, GetBuffer3D(), GetNmeshVertices(), i, if(), j, kFALSE, TBuffer3D::kRaw, TBuffer3D::kRawSizes, kTRUE, TBuffer3D::NbPnts(), TBuffer3D::NbSegs(), p0(), p1(), x, and y.
Referenced by TGeoPgon::GetPointsOnSegments().
Int_t TGeoBBox::GetFittingBox | ( | const TGeoBBox * | parambox, | |
TGeoMatrix * | mat, | |||
Double_t & | dx, | |||
Double_t & | dy, | |||
Double_t & | dz | |||
) | const [virtual] |
Implements TGeoShape.
Definition at line 657 of file TGeoBBox.cxx.
References Contains(), TObject::Error(), GetAxisRange(), GetDX(), GetDY(), GetDZ(), GetOrigin(), TGeoMatrix::IsRotation(), TGeoMatrix::LocalToMaster(), and TMath::Min().
TGeoShape * TGeoBBox::GetMakeRuntimeShape | ( | TGeoShape * | mother, | |
TGeoMatrix * | mat | |||
) | const [virtual] |
Implements TGeoShape.
Definition at line 695 of file TGeoBBox.cxx.
References TObject::Error(), TGeoShape::GetFittingBox(), TGeoShape::kGeoRunTimeShape, TGeoShape::TestShapeBit(), and TGeoBBox().
virtual Int_t TGeoBBox::GetNmeshVertices | ( | ) | const [inline, virtual] |
Reimplemented from TGeoShape.
Definition at line 77 of file TGeoBBox.h.
Referenced by GetPointsOnSegments().
virtual Double_t TGeoBBox::GetDX | ( | ) | const [inline, virtual] |
Definition at line 78 of file TGeoBBox.h.
References fDX.
Referenced by AreOverlapping(), TEveGeoShape::ComputeBBox(), TEveGeoPolyShape::Construct(), TGeoEltuEditor::DoApply(), TGeoTrapEditor::DoApply(), TGeoPgonEditor::DoApply(), TGeoParaEditor::DoApply(), TGeoPconEditor::DoApply(), TGeoHypeEditor::DoApply(), TGeoBBoxEditor::DoApply(), TGeoGtraEditor::DoApply(), TGeoTorusEditor::DoApply(), TGeoTrd1::GetFittingBox(), TGeoTrd2::GetFittingBox(), TGeoPara::GetFittingBox(), GetFittingBox(), TGeoArb8::GetFittingBox(), TEveGeoShape::Paint(), and TGeoBBoxEditor::SetModel().
virtual Double_t TGeoBBox::GetDY | ( | ) | const [inline, virtual] |
Definition at line 79 of file TGeoBBox.h.
References fDY.
Referenced by AreOverlapping(), TEveGeoShape::ComputeBBox(), TEveGeoPolyShape::Construct(), TGeoEltuEditor::DoApply(), TGeoTrapEditor::DoApply(), TGeoPgonEditor::DoApply(), TGeoParaEditor::DoApply(), TGeoPconEditor::DoApply(), TGeoHypeEditor::DoApply(), TGeoBBoxEditor::DoApply(), TGeoGtraEditor::DoApply(), TGeoTorusEditor::DoApply(), TGeoTrd1::GetFittingBox(), TGeoTrd2::GetFittingBox(), TGeoPara::GetFittingBox(), GetFittingBox(), TGeoArb8::GetFittingBox(), TEveGeoShape::Paint(), and TGeoBBoxEditor::SetModel().
virtual Double_t TGeoBBox::GetDZ | ( | ) | const [inline, virtual] |
Definition at line 80 of file TGeoBBox.h.
References fDZ.
Referenced by AreOverlapping(), TEveGeoShape::ComputeBBox(), TEveGeoPolyShape::Construct(), TGeoEltuEditor::DoApply(), TGeoTrapEditor::DoApply(), TGeoPgonEditor::DoApply(), TGeoParaEditor::DoApply(), TGeoPconEditor::DoApply(), TGeoHypeEditor::DoApply(), TGeoBBoxEditor::DoApply(), TGeoGtraEditor::DoApply(), TGeoTorusEditor::DoApply(), TGeoTrd1::GetFittingBox(), TGeoTrd2::GetFittingBox(), TGeoPara::GetFittingBox(), GetFittingBox(), TGeoArb8::GetFittingBox(), TEveGeoShape::Paint(), and TGeoBBoxEditor::SetModel().
virtual const Double_t* TGeoBBox::GetOrigin | ( | ) | const [inline, virtual] |
Definition at line 81 of file TGeoBBox.h.
References fOrigin.
Referenced by AreOverlapping(), TEveGeoShape::ComputeBBox(), TEveGeoPolyShape::Construct(), TGeoPgonEditor::DoApply(), TGeoPconEditor::DoApply(), TGeoBBoxEditor::DoApply(), TGeoTrd1::GetFittingBox(), TGeoTrd2::GetFittingBox(), TGeoPara::GetFittingBox(), GetFittingBox(), TGeoArb8::GetFittingBox(), TEveGeoShape::Paint(), and TGeoBBoxEditor::SetModel().
void TGeoBBox::InspectShape | ( | ) | const [virtual] |
Implements TGeoShape.
Definition at line 719 of file TGeoBBox.cxx.
References fDX, fDY, fDZ, fOrigin, and TGeoShape::GetName().
Referenced by TGeoArb8::InspectShape(), TGeoCompositeShape::InspectShape(), TGeoSphere::InspectShape(), TGeoTrd1::InspectShape(), TGeoHype::InspectShape(), TGeoTrd2::InspectShape(), TGeoPara::InspectShape(), TGeoXtru::InspectShape(), TGeoTubeSeg::InspectShape(), TGeoTube::InspectShape(), TGeoTorus::InspectShape(), TGeoConeSeg::InspectShape(), TGeoShapeAssembly::InspectShape(), TGeoScaledShape::InspectShape(), TGeoEltu::InspectShape(), TGeoCone::InspectShape(), TGeoPcon::InspectShape(), and TGeoParaboloid::InspectShape().
virtual Bool_t TGeoBBox::IsCylType | ( | ) | const [inline, virtual] |
virtual Bool_t TGeoBBox::IsValidBox | ( | ) | const [inline, virtual] |
virtual Bool_t TGeoBBox::IsNullBox | ( | ) | const [inline, virtual] |
TBuffer3D * TGeoBBox::MakeBuffer3D | ( | ) | const [virtual] |
Reimplemented from TGeoShape.
Definition at line 730 of file TGeoBBox.cxx.
References TBuffer3D::fPnts, TBuffer3DTypes::kGeneric, SetPoints(), and SetSegsAndPols().
Implements TGeoShape.
Definition at line 778 of file TGeoBBox.cxx.
References TMath::Abs(), fDX, fDY, fDZ, fOrigin, and safe.
Referenced by TGeoArb8::Safety().
void TGeoBBox::SavePrimitive | ( | ostream & | out, | |
Option_t * | option = "" | |||
) | [virtual] |
Reimplemented from TObject.
Definition at line 800 of file TGeoBBox.cxx.
References TObject::ClassName(), fDX, fDY, fDZ, fOrigin, TGeoShape::GetName(), TGeoShape::GetPointerName(), TGeoShape::IsSameWithinTolerance(), TGeoShape::kGeoSavePrimitive, TObject::SetBit(), and TObject::TestBit().
Definition at line 822 of file TGeoBBox.cxx.
References TMath::Abs(), fDX, fDY, fDZ, fOrigin, TGeoShape::kGeoRunTimeShape, TGeoShape::SetShapeBit(), and TGeoShape::Tolerance().
Referenced by TGeoPara::ComputeBBox(), TGeoSphere::ComputeBBox(), TGeoBBoxEditor::DoApply(), and TGeoBBox().
void TGeoBBox::SetDimensions | ( | Double_t * | param | ) | [virtual] |
Implements TGeoShape.
Definition at line 840 of file TGeoBBox.cxx.
References TMath::Abs(), TObject::Error(), fDX, fDY, fDZ, TGeoShape::kGeoRunTimeShape, TGeoShape::SetShapeBit(), and TGeoShape::Tolerance().
Referenced by TGeoBBox().
void TGeoBBox::SetBoxPoints | ( | Double_t * | points | ) | const |
void TGeoBBox::SetPoints | ( | Double_t * | points | ) | const [virtual] |
Implements TGeoShape.
Definition at line 867 of file TGeoBBox.cxx.
References fDX, fDY, fDZ, fOrigin, xmax, xmin, ymax, and ymin.
Referenced by GetBuffer3D(), MakeBuffer3D(), and SetBoxPoints().
void TGeoBBox::SetPoints | ( | Float_t * | points | ) | const [virtual] |
void TGeoBBox::SetSegsAndPols | ( | TBuffer3D & | buffer | ) | const [virtual] |
Implements TGeoShape.
Definition at line 745 of file TGeoBBox.cxx.
References c, TBuffer3D::fPols, TBuffer3D::fSegs, and TGeoShape::GetBasicColor().
Referenced by GetBuffer3D(), and MakeBuffer3D().
void TGeoBBox::Sizeof3D | ( | ) | const [virtual] |
Implements TGeoShape.
Definition at line 911 of file TGeoBBox.cxx.
Referenced by TGeoPara::Sizeof3D(), TGeoArb8::Sizeof3D(), TGeoTrd2::Sizeof3D(), and TGeoTrd1::Sizeof3D().
virtual void TGeoBBox::FillBuffer3D | ( | TBuffer3D & | buffer, | |
Int_t | reqSections, | |||
Bool_t | localFrame | |||
) | const [protected, virtual] |
Reimplemented from TGeoShape.
static Bool_t TGeoBBox::AreOverlapping | ( | const TGeoBBox * | box1, | |
const TGeoMatrix * | mat1, | |||
const TGeoBBox * | box2, | |||
const TGeoMatrix * | mat2 | |||
) | [static] |
virtual void TGeoBBox::ComputeBBox | ( | ) | [virtual] |
Implements TGeoShape.
virtual void TGeoBBox::ComputeNormal | ( | Double_t * | point, | |
Double_t * | dir, | |||
Double_t * | norm | |||
) | [virtual] |
Implements TGeoShape.
static Bool_t TGeoBBox::Contains | ( | const Double_t * | point, | |
Double_t | dx, | |||
Double_t | dy, | |||
Double_t | dz, | |||
const Double_t * | origin | |||
) | [static] |
Implements TGeoShape.
virtual Double_t TGeoBBox::DistFromInside | ( | Double_t * | point, | |
Double_t * | dir, | |||
Int_t | iact = 1 , |
|||
Double_t | step = TGeoShape::Big() , |
|||
Double_t * | safe = 0 | |||
) | const [virtual] |
Implements TGeoShape.
static Double_t TGeoBBox::DistFromInside | ( | const Double_t * | point, | |
const Double_t * | dir, | |||
Double_t | dx, | |||
Double_t | dy, | |||
Double_t | dz, | |||
const Double_t * | origin, | |||
Double_t | stepmax = TGeoShape::Big() | |||
) | [static] |
virtual Double_t TGeoBBox::DistFromOutside | ( | Double_t * | point, | |
Double_t * | dir, | |||
Int_t | iact = 1 , |
|||
Double_t | step = TGeoShape::Big() , |
|||
Double_t * | safe = 0 | |||
) | const [virtual] |
Implements TGeoShape.
static Double_t TGeoBBox::DistFromOutside | ( | const Double_t * | point, | |
const Double_t * | dir, | |||
Double_t | dx, | |||
Double_t | dy, | |||
Double_t | dz, | |||
const Double_t * | origin, | |||
Double_t | stepmax = TGeoShape::Big() | |||
) | [static] |
virtual TGeoVolume* TGeoBBox::Divide | ( | TGeoVolume * | voldiv, | |
const char * | divname, | |||
Int_t | iaxis, | |||
Int_t | ndiv, | |||
Double_t | start, | |||
Double_t | step | |||
) | [virtual] |
Implements TGeoShape.
virtual Double_t TGeoBBox::GetAxisRange | ( | Int_t | iaxis, | |
Double_t & | xlo, | |||
Double_t & | xhi | |||
) | const [virtual] |
Implements TGeoShape.
virtual void TGeoBBox::GetBoundingCylinder | ( | Double_t * | param | ) | const [virtual] |
Implements TGeoShape.
virtual const TBuffer3D& TGeoBBox::GetBuffer3D | ( | Int_t | reqSections, | |
Bool_t | localFrame | |||
) | const [virtual] |
Reimplemented from TGeoShape.
virtual Int_t TGeoBBox::GetByteCount | ( | ) | const [inline, virtual] |
virtual Bool_t TGeoBBox::GetPointsOnFacet | ( | Int_t | index, | |
Int_t | npoints, | |||
Double_t * | array | |||
) | const [virtual] |
Implements TGeoShape.
virtual Int_t TGeoBBox::GetFittingBox | ( | const TGeoBBox * | parambox, | |
TGeoMatrix * | mat, | |||
Double_t & | dx, | |||
Double_t & | dy, | |||
Double_t & | dz | |||
) | const [virtual] |
Implements TGeoShape.
virtual TGeoShape* TGeoBBox::GetMakeRuntimeShape | ( | TGeoShape * | mother, | |
TGeoMatrix * | mat | |||
) | const [virtual] |
Implements TGeoShape.
virtual void TGeoBBox::GetMeshNumbers | ( | Int_t & | nvert, | |
Int_t & | nsegs, | |||
Int_t & | npols | |||
) | const [virtual] |
Reimplemented from TGeoShape.
virtual Int_t TGeoBBox::GetNmeshVertices | ( | ) | const [inline, virtual] |
virtual Double_t TGeoBBox::GetDX | ( | ) | const [inline, virtual] |
virtual Double_t TGeoBBox::GetDY | ( | ) | const [inline, virtual] |
virtual Double_t TGeoBBox::GetDZ | ( | ) | const [inline, virtual] |
virtual const Double_t* TGeoBBox::GetOrigin | ( | ) | const [inline, virtual] |
virtual void TGeoBBox::InspectShape | ( | ) | const [virtual] |
Implements TGeoShape.
virtual Bool_t TGeoBBox::IsCylType | ( | ) | const [inline, virtual] |
virtual Bool_t TGeoBBox::IsValidBox | ( | ) | const [inline, virtual] |
virtual Bool_t TGeoBBox::IsNullBox | ( | ) | const [inline, virtual] |
Implements TGeoShape.
virtual void TGeoBBox::SavePrimitive | ( | ostream & | out, | |
Option_t * | option = "" | |||
) | [virtual] |
Reimplemented from TObject.
void TGeoBBox::SetBoxPoints | ( | Double_t * | points | ) | const |
virtual void TGeoBBox::Sizeof3D | ( | ) | const [virtual] |
Implements TGeoShape.
Double_t TGeoBBox::fDX [protected] |
Definition at line 33 of file TGeoBBox.h.
Referenced by TGeoCompositeShape::Capacity(), Capacity(), TGeoHype::ComputeBBox(), TGeoTube::ComputeBBox(), TGeoTrd1::ComputeBBox(), TGeoParaboloid::ComputeBBox(), TGeoShapeAssembly::ComputeBBox(), TGeoTrd2::ComputeBBox(), TGeoPgon::ComputeBBox(), TGeoArb8::ComputeBBox(), TGeoEltu::ComputeBBox(), TGeoTubeSeg::ComputeBBox(), TGeoPcon::ComputeBBox(), TGeoConeSeg::ComputeBBox(), TGeoCompositeShape::ComputeBBox(), TGeoScaledShape::ComputeBBox(), TGeoXtru::ComputeBBox(), TGeoSphere::ComputeBBox(), TGeoTorus::ComputeBBox(), ComputeNormal(), TEveGeoPolyShape::Construct(), Contains(), CouldBeCrossed(), DistFromInside(), TGeoPgon::DistFromOutside(), TGeoTubeSeg::DistFromOutside(), TGeoCtub::DistFromOutside(), TGeoArb8::DistFromOutside(), TGeoXtru::DistFromOutside(), TGeoCone::DistFromOutside(), TGeoPcon::DistFromOutside(), TGeoCompositeShape::DistFromOutside(), DistFromOutside(), TGeoTube::DistFromOutside(), TGeoHype::DistFromOutside(), TGeoTrap::DistFromOutside(), TGeoEltu::DistFromOutside(), TGeoSphere::DistFromOutside(), TGeoConeSeg::DistFromOutside(), TGeoTorus::DistFromOutside(), Divide(), FillBuffer3D(), GetAxisRange(), TGeoParaboloid::GetBoundingCylinder(), GetBoundingCylinder(), TGeoScaledShape::GetBuffer3D(), GetDX(), GetFacetArea(), GetPointsOnFacet(), InspectShape(), IsNullBox(), IsValidBox(), TGeoShapeAssembly::RecomputeBoxLast(), Safety(), SavePrimitive(), SetBoxDimensions(), SetDimensions(), and SetPoints().
Double_t TGeoBBox::fDY [protected] |
Definition at line 34 of file TGeoBBox.h.
Referenced by TGeoCompositeShape::Capacity(), Capacity(), TGeoHype::ComputeBBox(), TGeoTube::ComputeBBox(), TGeoTrd1::ComputeBBox(), TGeoTrd2::ComputeBBox(), TGeoShapeAssembly::ComputeBBox(), TGeoParaboloid::ComputeBBox(), TGeoPgon::ComputeBBox(), TGeoTubeSeg::ComputeBBox(), TGeoEltu::ComputeBBox(), TGeoArb8::ComputeBBox(), TGeoPcon::ComputeBBox(), TGeoConeSeg::ComputeBBox(), TGeoScaledShape::ComputeBBox(), TGeoCompositeShape::ComputeBBox(), TGeoXtru::ComputeBBox(), TGeoTorus::ComputeBBox(), TGeoSphere::ComputeBBox(), ComputeNormal(), TEveGeoPolyShape::Construct(), Contains(), CouldBeCrossed(), DistFromInside(), TGeoCtub::DistFromOutside(), TGeoTubeSeg::DistFromOutside(), TGeoPgon::DistFromOutside(), TGeoXtru::DistFromOutside(), TGeoArb8::DistFromOutside(), TGeoPcon::DistFromOutside(), TGeoCone::DistFromOutside(), TGeoCompositeShape::DistFromOutside(), TGeoTube::DistFromOutside(), DistFromOutside(), TGeoHype::DistFromOutside(), TGeoEltu::DistFromOutside(), TGeoTrap::DistFromOutside(), TGeoSphere::DistFromOutside(), TGeoConeSeg::DistFromOutside(), TGeoTorus::DistFromOutside(), Divide(), FillBuffer3D(), GetAxisRange(), GetBoundingCylinder(), TGeoScaledShape::GetBuffer3D(), GetDY(), GetFacetArea(), GetPointsOnFacet(), InspectShape(), IsNullBox(), IsValidBox(), TGeoShapeAssembly::RecomputeBoxLast(), Safety(), SavePrimitive(), SetBoxDimensions(), SetDimensions(), and SetPoints().
Double_t TGeoBBox::fDZ [protected] |
Definition at line 35 of file TGeoBBox.h.
Referenced by TGeoCompositeShape::Capacity(), Capacity(), TGeoHype::ComputeBBox(), TGeoTube::ComputeBBox(), TGeoTrd1::ComputeBBox(), TGeoTrd2::ComputeBBox(), TGeoShapeAssembly::ComputeBBox(), TGeoParaboloid::ComputeBBox(), TGeoPgon::ComputeBBox(), TGeoCtub::ComputeBBox(), TGeoTubeSeg::ComputeBBox(), TGeoEltu::ComputeBBox(), TGeoArb8::ComputeBBox(), TGeoPcon::ComputeBBox(), TGeoConeSeg::ComputeBBox(), TGeoScaledShape::ComputeBBox(), TGeoCompositeShape::ComputeBBox(), TGeoXtru::ComputeBBox(), TGeoTorus::ComputeBBox(), TGeoSphere::ComputeBBox(), ComputeNormal(), TEveGeoPolyShape::Construct(), Contains(), CouldBeCrossed(), DistFromInside(), TGeoCtub::DistFromOutside(), TGeoTubeSeg::DistFromOutside(), TGeoPgon::DistFromOutside(), TGeoXtru::DistFromOutside(), TGeoArb8::DistFromOutside(), TGeoPcon::DistFromOutside(), TGeoCone::DistFromOutside(), TGeoCompositeShape::DistFromOutside(), TGeoTube::DistFromOutside(), DistFromOutside(), TGeoHype::DistFromOutside(), TGeoEltu::DistFromOutside(), TGeoTrap::DistFromOutside(), TGeoSphere::DistFromOutside(), TGeoConeSeg::DistFromOutside(), TGeoTorus::DistFromOutside(), Divide(), FillBuffer3D(), GetAxisRange(), TGeoScaledShape::GetBuffer3D(), GetDZ(), GetFacetArea(), GetPointsOnFacet(), InspectShape(), IsNullBox(), IsValidBox(), TGeoShapeAssembly::RecomputeBoxLast(), Safety(), TGeoTrd2::SavePrimitive(), TGeoTrd1::SavePrimitive(), SavePrimitive(), TGeoParaboloid::SavePrimitive(), SetBoxDimensions(), SetDimensions(), and SetPoints().
Double_t TGeoBBox::fOrigin [protected] |
Definition at line 36 of file TGeoBBox.h.
Referenced by TGeoCompositeShape::Capacity(), TGeoTrd1::ComputeBBox(), TGeoShapeAssembly::ComputeBBox(), TGeoTrd2::ComputeBBox(), TGeoPgon::ComputeBBox(), TGeoCtub::ComputeBBox(), TGeoArb8::ComputeBBox(), TGeoTubeSeg::ComputeBBox(), TGeoCone::ComputeBBox(), TGeoPcon::ComputeBBox(), TGeoConeSeg::ComputeBBox(), TGeoCompositeShape::ComputeBBox(), TGeoPara::ComputeBBox(), TGeoScaledShape::ComputeBBox(), TGeoXtru::ComputeBBox(), TGeoSphere::ComputeBBox(), TGeoTorus::ComputeBBox(), ComputeNormal(), TEveGeoPolyShape::Construct(), Contains(), CouldBeCrossed(), DistFromInside(), TGeoPgon::DistFromOutside(), TGeoTubeSeg::DistFromOutside(), TGeoCtub::DistFromOutside(), TGeoArb8::DistFromOutside(), TGeoXtru::DistFromOutside(), TGeoCone::DistFromOutside(), TGeoPcon::DistFromOutside(), TGeoCompositeShape::DistFromOutside(), DistFromOutside(), TGeoTube::DistFromOutside(), TGeoHype::DistFromOutside(), TGeoTrap::DistFromOutside(), TGeoEltu::DistFromOutside(), TGeoSphere::DistFromOutside(), TGeoConeSeg::DistFromOutside(), TGeoTorus::DistFromOutside(), FillBuffer3D(), GetAxisRange(), TGeoScaledShape::GetBuffer3D(), GetOrigin(), InspectShape(), TGeoShapeAssembly::RecomputeBoxLast(), Safety(), SavePrimitive(), SetBoxDimensions(), SetPoints(), and TGeoBBox().