TGeoShape Class Reference

#include <TGeoShape.h>

Inheritance diagram for TGeoShape:

TNamed TNamed TObject TObject TObject TObject TGeoBBox TGeoBBox TEveGeoPolyShape TEveGeoPolyShape TGeoArb8 TGeoArb8 TGeoCompositeShape TGeoCompositeShape TGeoCone TGeoCone TGeoHalfSpace TGeoHalfSpace TGeoPara TGeoPara TGeoParaboloid TGeoParaboloid TGeoPcon TGeoPcon TGeoScaledShape TGeoScaledShape TGeoShapeAssembly TGeoShapeAssembly TGeoSphere TGeoSphere TGeoTorus TGeoTorus TGeoTrd1 TGeoTrd1 TGeoTrd2 TGeoTrd2 TGeoTube TGeoTube TGeoXtru TGeoXtru TEveGeoPolyShape TEveGeoPolyShape TGeoArb8 TGeoArb8 TGeoCompositeShape TGeoCompositeShape TGeoCone TGeoCone TGeoHalfSpace TGeoHalfSpace TGeoPara TGeoPara TGeoParaboloid TGeoParaboloid TGeoPcon TGeoPcon TGeoScaledShape TGeoScaledShape TGeoShapeAssembly TGeoShapeAssembly TGeoSphere TGeoSphere TGeoTorus TGeoTorus TGeoTrd1 TGeoTrd1 TGeoTrd2 TGeoTrd2 TGeoTube TGeoTube TGeoXtru TGeoXtru List of all members.

Public Types

enum  EShapeType
enum  EShapeType

Public Member Functions

 TGeoShape ()
 TGeoShape (const char *name)
virtual ~TGeoShape ()
virtual Double_t Capacity () const=0
virtual void ComputeBBox ()=0
virtual void ComputeNormal (Double_t *point, Double_t *dir, Double_t *norm)=0
virtual Bool_t Contains (Double_t *point) const=0
virtual Bool_t CouldBeCrossed (Double_t *point, Double_t *dir) const=0
virtual Int_t DistancetoPrimitive (Int_t px, Int_t py)=0
virtual Double_t DistFromInside (Double_t *point, Double_t *dir, Int_t iact=1, Double_t step=TGeoShape::Big(), Double_t *safe=0) const=0
virtual Double_t DistFromOutside (Double_t *point, Double_t *dir, Int_t iact=1, Double_t step=TGeoShape::Big(), Double_t *safe=0) const=0
virtual TGeoVolumeDivide (TGeoVolume *voldiv, const char *divname, Int_t iaxis, Int_t ndiv, Double_t start, Double_t step)=0
virtual void Draw (Option_t *option="")
virtual void ExecuteEvent (Int_t event, Int_t px, Int_t py)
virtual const char * GetAxisName (Int_t iaxis) const =0
virtual Double_t GetAxisRange (Int_t iaxis, Double_t &xlo, Double_t &xhi) const=0
virtual void GetBoundingCylinder (Double_t *param) const=0
virtual const TBuffer3DGetBuffer3D (Int_t reqSections, Bool_t localFrame) const
virtual Int_t GetByteCount () const=0
virtual Bool_t GetPointsOnSegments (Int_t npoints, Double_t *array) const=0
virtual Int_t GetFittingBox (const TGeoBBox *parambox, TGeoMatrix *mat, Double_t &dx, Double_t &dy, Double_t &dz) const=0
Int_t GetId () const
virtual TGeoShapeGetMakeRuntimeShape (TGeoShape *mother, TGeoMatrix *mat) const=0
virtual void GetMeshNumbers (Int_t &, Int_t &, Int_t &) const
virtual const char * GetName () const
virtual Int_t GetNmeshVertices () const
const char * GetPointerName () const
virtual Bool_t IsAssembly () const
virtual Bool_t IsComposite () const
virtual Bool_t IsCylType () const=0
virtual Bool_t IsReflected () const
Bool_t IsRunTimeShape () const
Bool_t IsValid () const
virtual Bool_t IsValidBox () const=0
virtual void InspectShape () const=0
virtual TBuffer3DMakeBuffer3D () const
virtual void Paint (Option_t *option="")
virtual Double_t Safety (Double_t *point, Bool_t in=kTRUE) const=0
virtual void SetDimensions (Double_t *param)=0
void SetId (Int_t id)
virtual void SetPoints (Double_t *points) const=0
virtual void SetPoints (Float_t *points) const=0
virtual void SetSegsAndPols (TBuffer3D &buff) const=0
void SetRuntime (Bool_t flag=kTRUE)
Int_t ShapeDistancetoPrimitive (Int_t numpoints, Int_t px, Int_t py) const
virtual void Sizeof3D () const=0
void SetShapeBit (UInt_t f, Bool_t set)
void SetShapeBit (UInt_t f)
void ResetShapeBit (UInt_t f)
Bool_t TestShapeBit (UInt_t f) const
Int_t TestShapeBits (UInt_t f) const
void InvertShapeBit (UInt_t f)
 TGeoShape ()
 TGeoShape (const char *name)
virtual ~TGeoShape ()
virtual Double_t Capacity () const=0
virtual void ComputeBBox ()=0
virtual void ComputeNormal (Double_t *point, Double_t *dir, Double_t *norm)=0
virtual Bool_t Contains (Double_t *point) const=0
virtual Bool_t CouldBeCrossed (Double_t *point, Double_t *dir) const=0
virtual Int_t DistancetoPrimitive (Int_t px, Int_t py)=0
virtual Double_t DistFromInside (Double_t *point, Double_t *dir, Int_t iact=1, Double_t step=TGeoShape::Big(), Double_t *safe=0) const=0
virtual Double_t DistFromOutside (Double_t *point, Double_t *dir, Int_t iact=1, Double_t step=TGeoShape::Big(), Double_t *safe=0) const=0
virtual TGeoVolumeDivide (TGeoVolume *voldiv, const char *divname, Int_t iaxis, Int_t ndiv, Double_t start, Double_t step)=0
virtual void Draw (Option_t *option="")
virtual void ExecuteEvent (Int_t event, Int_t px, Int_t py)
virtual const char * GetAxisName (Int_t iaxis) const =0
virtual Double_t GetAxisRange (Int_t iaxis, Double_t &xlo, Double_t &xhi) const=0
virtual void GetBoundingCylinder (Double_t *param) const=0
virtual const TBuffer3DGetBuffer3D (Int_t reqSections, Bool_t localFrame) const
virtual Int_t GetByteCount () const=0
virtual Bool_t GetPointsOnSegments (Int_t npoints, Double_t *array) const=0
virtual Int_t GetFittingBox (const TGeoBBox *parambox, TGeoMatrix *mat, Double_t &dx, Double_t &dy, Double_t &dz) const=0
Int_t GetId () const
virtual TGeoShapeGetMakeRuntimeShape (TGeoShape *mother, TGeoMatrix *mat) const=0
virtual void GetMeshNumbers (Int_t &, Int_t &, Int_t &) const
virtual const char * GetName () const
virtual Int_t GetNmeshVertices () const
const char * GetPointerName () const
virtual Bool_t IsAssembly () const
virtual Bool_t IsComposite () const
virtual Bool_t IsCylType () const=0
virtual Bool_t IsReflected () const
Bool_t IsRunTimeShape () const
Bool_t IsValid () const
virtual Bool_t IsValidBox () const=0
virtual void InspectShape () const=0
virtual TBuffer3DMakeBuffer3D () const
virtual void Paint (Option_t *option="")
virtual Double_t Safety (Double_t *point, Bool_t in=kTRUE) const=0
virtual void SetDimensions (Double_t *param)=0
void SetId (Int_t id)
virtual void SetPoints (Double_t *points) const=0
virtual void SetPoints (Float_t *points) const=0
virtual void SetSegsAndPols (TBuffer3D &buff) const=0
void SetRuntime (Bool_t flag=kTRUE)
Int_t ShapeDistancetoPrimitive (Int_t numpoints, Int_t px, Int_t py) const
virtual void Sizeof3D () const=0
void SetShapeBit (UInt_t f, Bool_t set)
void SetShapeBit (UInt_t f)
void ResetShapeBit (UInt_t f)
Bool_t TestShapeBit (UInt_t f) const
Int_t TestShapeBits (UInt_t f) const
void InvertShapeBit (UInt_t f)

Static Public Member Functions

static Double_t Big ()
static TGeoMatrixGetTransform ()
static void SetTransform (TGeoMatrix *matrix)
static Double_t Tolerance ()
static Double_t ComputeEpsMch ()
static Double_t EpsMch ()
static Double_t DistToPhiMin (Double_t *point, Double_t *dir, Double_t s1, Double_t c1, Double_t s2, Double_t c2, Double_t sm, Double_t cm, Bool_t in=kTRUE)
static Bool_t IsCloseToPhi (Double_t epsil, Double_t *point, Double_t c1, Double_t s1, Double_t c2, Double_t s2)
static Bool_t IsCrossingSemiplane (Double_t *point, Double_t *dir, Double_t cphi, Double_t sphi, Double_t &snext, Double_t &rxy)
static Bool_t IsSameWithinTolerance (Double_t a, Double_t b)
static Bool_t IsSegCrossing (Double_t x1, Double_t y1, Double_t x2, Double_t y2, Double_t x3, Double_t y3, Double_t x4, Double_t y4)
static Bool_t IsInPhiRange (Double_t *point, Double_t phi1, Double_t phi2)
static void NormalPhi (Double_t *point, Double_t *dir, Double_t *norm, Double_t c1, Double_t s1, Double_t c2, Double_t s2)
static Double_t SafetyPhi (Double_t *point, Bool_t in, Double_t phi1, Double_t phi2)
static Double_t Big ()
static TGeoMatrixGetTransform ()
static void SetTransform (TGeoMatrix *matrix)
static Double_t Tolerance ()
static Double_t ComputeEpsMch ()
static Double_t EpsMch ()
static Double_t DistToPhiMin (Double_t *point, Double_t *dir, Double_t s1, Double_t c1, Double_t s2, Double_t c2, Double_t sm, Double_t cm, Bool_t in=kTRUE)
static Bool_t IsCloseToPhi (Double_t epsil, Double_t *point, Double_t c1, Double_t s1, Double_t c2, Double_t s2)
static Bool_t IsCrossingSemiplane (Double_t *point, Double_t *dir, Double_t cphi, Double_t sphi, Double_t &snext, Double_t &rxy)
static Bool_t IsSameWithinTolerance (Double_t a, Double_t b)
static Bool_t IsSegCrossing (Double_t x1, Double_t y1, Double_t x2, Double_t y2, Double_t x3, Double_t y3, Double_t x4, Double_t y4)
static Bool_t IsInPhiRange (Double_t *point, Double_t phi1, Double_t phi2)
static void NormalPhi (Double_t *point, Double_t *dir, Double_t *norm, Double_t c1, Double_t s1, Double_t c2, Double_t s2)
static Double_t SafetyPhi (Double_t *point, Bool_t in, Double_t phi1, Double_t phi2)

Protected Member Functions

virtual void FillBuffer3D (TBuffer3D &buffer, Int_t reqSections, Bool_t localFrame) const
Int_t GetBasicColor () const
void SetOnBoundary (Bool_t)
void TransformPoints (Double_t *points, UInt_t NbPoints) const
virtual void FillBuffer3D (TBuffer3D &buffer, Int_t reqSections, Bool_t localFrame) const
Int_t GetBasicColor () const
void SetOnBoundary (Bool_t)
void TransformPoints (Double_t *points, UInt_t NbPoints) const

Protected Attributes

Int_t fShapeId
UInt_t fShapeBits

Static Private Attributes

static TGeoMatrixfgTransform
static Double_t fgEpsMch
static TGeoMatrixfgTransform

Detailed Description

Definition at line 35 of file TGeoShape.h.


Member Enumeration Documentation

enum TGeoShape::EShapeType

Definition at line 41 of file TGeoShape.h.

enum TGeoShape::EShapeType

Definition at line 41 of file TGeoShape.h.


Constructor & Destructor Documentation

TGeoShape::TGeoShape (  ) 

Definition at line 162 of file TGeoShape.cxx.

References gGeoManager.

TGeoShape::TGeoShape ( const char *  name  ) 

Definition at line 176 of file TGeoShape.cxx.

References TGeoManager::AddShape(), fShapeBits, fShapeId, TGeoManager::GetListOfShapes(), TCollection::GetSize(), and gGeoManager.

TGeoShape::~TGeoShape (  )  [virtual]

Definition at line 191 of file TGeoShape.cxx.

References TGeoManager::GetListOfShapes(), gGeoManager, and TObjArray::Remove().

TGeoShape::TGeoShape (  ) 

TGeoShape::TGeoShape ( const char *  name  ) 

virtual TGeoShape::~TGeoShape (  )  [virtual]


Member Function Documentation

void TGeoShape::FillBuffer3D ( TBuffer3D buffer,
Int_t  reqSections,
Bool_t  localFrame 
) const [protected, virtual]

Definition at line 523 of file TGeoShape.cxx.

References buffer, TGeoManager::GetCurrentMatrix(), TGeoMaterial::GetDensity(), TGeoManager::GetGLMatrix(), TGeoMatrix::GetHomogenousMatrix(), TAttLine::GetLineColor(), TGeoVolume::GetMaterial(), TGeoVolume::GetMedium(), TGeoManager::GetPaintVolume(), TGeoVolume::GetShape(), TGeoManager::GetTopVolume(), GetTransform(), TGeoVolume::GetTransparency(), TGeoManager::GetVisDensity(), gGeoManager, IsComposite(), TGeoManager::IsMatrixReflection(), TGeoManager::IsMatrixTransform(), IsReflected(), TBuffer3D::kCore, kFALSE, TBuffer3D::kRaw, TBuffer3D::kRawSizes, kTRUE, TBuffer3DTypes::kTube, r1, r2, and R__ASSERT.

Referenced by TGeoBBox::FillBuffer3D().

Int_t TGeoShape::GetBasicColor (  )  const [protected]

Definition at line 608 of file TGeoShape.cxx.

References TAttLine::GetLineColor(), TGeoManager::GetPaintVolume(), and gGeoManager.

Referenced by TGeoTubeSeg::SetSegsAndPols(), TGeoBBox::SetSegsAndPols(), TGeoPcon::SetSegsAndPols(), TGeoHype::SetSegsAndPols(), TGeoParaboloid::SetSegsAndPols(), TGeoConeSeg::SetSegsAndPols(), TGeoPgon::SetSegsAndPols(), TGeoTorus::SetSegsAndPols(), TGeoCone::SetSegsAndPols(), TGeoXtru::SetSegsAndPols(), and TGeoSphere::SetSegsAndPols().

void TGeoShape::SetOnBoundary ( Bool_t   )  [inline, protected]

Definition at line 85 of file TGeoShape.h.

void TGeoShape::TransformPoints ( Double_t points,
UInt_t  NbPoints 
) const [protected]

Definition at line 484 of file TGeoShape.cxx.

References fgTransform, TGeoManager::GetBombMode(), TGeoManager::GetGLMatrix(), gGeoManager, i, TGeoManager::IsMatrixTransform(), j, kFALSE, kTRUE, TGeoMatrix::LocalToMaster(), TGeoManager::LocalToMaster(), TGeoMatrix::LocalToMasterBomb(), and TGeoManager::LocalToMasterBomb().

Referenced by TGeoBBox::FillBuffer3D(), TGeoTubeSeg::GetBuffer3D(), TGeoHype::GetBuffer3D(), TGeoCone::GetBuffer3D(), TGeoSphere::GetBuffer3D(), TGeoScaledShape::GetBuffer3D(), TGeoXtru::GetBuffer3D(), TGeoPgon::GetBuffer3D(), TGeoTube::GetBuffer3D(), TGeoTorus::GetBuffer3D(), TGeoEltu::GetBuffer3D(), TGeoConeSeg::GetBuffer3D(), TGeoPcon::GetBuffer3D(), TGeoParaboloid::GetBuffer3D(), TGeoCtub::GetBuffer3D(), and TGeoBBox::GetBuffer3D().

static Double_t TGeoShape::Big (  )  [inline, static]

Definition at line 96 of file TGeoShape.h.

Referenced by TGeoMixture::AverageProperties(), TGeoShapeAssembly::ComputeBBox(), TGeoUnion::ComputeBBox(), TGeoSubtraction::ComputeBBox(), TGeoIntersection::ComputeBBox(), TGeoXtru::ComputeBBox(), TGeoConeSeg::ComputeNormal(), TGeoTube::ComputeNormal(), TGeoPgon::ComputeNormal(), TGeoSphere::ComputeNormal(), TGeoCone::ComputeNormal(), TGeoCtub::ComputeNormal(), TGeoTubeSeg::ComputeNormal(), TGeoHype::ComputeNormal(), TGeoTubeSeg::ComputeNormalS(), TGeoCone::ComputeNormalS(), TGeoConeSeg::ComputeNormalS(), TGeoTrd2::DistFromInside(), TGeoXtru::DistFromInside(), TGeoConeSeg::DistFromInside(), TGeoHalfSpace::DistFromInside(), TGeoTrd1::DistFromInside(), TGeoGtra::DistFromInside(), TGeoArb8::DistFromInside(), TGeoPcon::DistFromInside(), TGeoTube::DistFromInside(), TGeoUnion::DistFromInside(), TGeoCone::DistFromInside(), TGeoEltu::DistFromInside(), TGeoShapeAssembly::DistFromInside(), TGeoHype::DistFromInside(), TGeoSphere::DistFromInside(), TGeoCtub::DistFromInside(), TGeoCompositeShape::DistFromInside(), TGeoPgon::DistFromInside(), TGeoSubtraction::DistFromInside(), TGeoParaboloid::DistFromInside(), TGeoTubeSeg::DistFromInside(), TGeoBBox::DistFromInside(), TGeoTrap::DistFromInside(), TGeoIntersection::DistFromInside(), TGeoPara::DistFromInside(), TGeoTorus::DistFromInside(), TGeoTubeSeg::DistFromInsideS(), TGeoTube::DistFromInsideS(), TGeoCone::DistFromInsideS(), TGeoConeSeg::DistFromInsideS(), TGeoGtra::DistFromOutside(), TGeoPgon::DistFromOutside(), TGeoTubeSeg::DistFromOutside(), TGeoCtub::DistFromOutside(), TGeoArb8::DistFromOutside(), TGeoXtru::DistFromOutside(), TGeoHalfSpace::DistFromOutside(), TGeoCone::DistFromOutside(), TGeoPcon::DistFromOutside(), TGeoCompositeShape::DistFromOutside(), TGeoTrd2::DistFromOutside(), TGeoBBox::DistFromOutside(), TGeoIntersection::DistFromOutside(), TGeoTrd1::DistFromOutside(), TGeoTube::DistFromOutside(), TGeoParaboloid::DistFromOutside(), TGeoSubtraction::DistFromOutside(), TGeoHype::DistFromOutside(), TGeoTrap::DistFromOutside(), TGeoEltu::DistFromOutside(), TGeoSphere::DistFromOutside(), TGeoUnion::DistFromOutside(), TGeoConeSeg::DistFromOutside(), TGeoShapeAssembly::DistFromOutside(), TGeoPara::DistFromOutside(), TGeoTorus::DistFromOutside(), TGeoConeSeg::DistFromOutsideS(), TGeoTube::DistFromOutsideS(), TGeoCone::DistFromOutsideS(), TGeoTubeSeg::DistFromOutsideS(), TGeoConeSeg::DistToCons(), TGeoParaboloid::DistToParaboloid(), DistToPhiMin(), TGeoXtru::DistToPlane(), TGeoArb8::DistToPlane(), TGeoPcon::DistToSegZ(), TGeoSphere::DistToSphere(), TGeoPatternZ::FindNextBoundary(), TGeoPatternY::FindNextBoundary(), TGeoPatternX::FindNextBoundary(), TGeoNavigator::FindNextBoundary(), TGeoNavigator::FindNextBoundaryAndStep(), TGeoNavigator::FindNextDaughterBoundary(), G__G__Geom1_105_0_7(), G__setup_memfuncTGeoShape(), TGeoPara::GetFittingBox(), TGeoArb8::GetFittingBox(), TGeoVoxelFinder::GetNextCandidates(), IsCloseToPhi(), IsCrossingSemiplane(), TGeoPgon::IsCrossingSlice(), TGeoChecker::MakeCheckOverlap(), NormalPhi(), TGeoChecker::PropagateInGeom(), TGeoPainter::Raytrace(), TGeoShapeAssembly::RecomputeBoxLast(), TGeoPgon::Rproj(), TGeoShapeAssembly::Safety(), TGeoTube::Safety(), TGeoTubeSeg::Safety(), TGeoArb8::Safety(), TGeoNavigator::Safety(), TGeoSphere::Safety(), TGeoXtru::Safety(), TGeoTrap::Safety(), TGeoPgon::Safety(), TGeoCone::Safety(), TGeoCtub::Safety(), TGeoParaboloid::Safety(), TGeoPcon::Safety(), TGeoTrd1::Safety(), TGeoTrd2::Safety(), TGeoConeSeg::Safety(), TGeoEltu::Safety(), TGeoTorus::Safety(), SafetyPhi(), TGeoCone::SafetyS(), TGeoTubeSeg::SafetyS(), TGeoTube::SafetyS(), TGeoConeSeg::SafetyS(), TGeoArb8::SafetyToFace(), TGeoHype::SafetyToHype(), TGeoXtru::SafetyToSector(), TGeoPcon::SafetyToSegment(), TGeoPgon::SafetyToSegment(), TGeoMaterial::SetRadLen(), TGeoPgon::SliceCrossingIn(), TGeoPgon::SliceCrossingInZ(), TGeoPgon::SliceCrossingZ(), TGeoVoxelFinder::SortCrossedVoxels(), TGeoChecker::TimingPerVolume(), TGeoTorus::ToBoundary(), and TGeoHype::ZHypeSq().

TGeoMatrix * TGeoShape::GetTransform (  )  [static]

Definition at line 470 of file TGeoShape.cxx.

References fgTransform.

Referenced by TEveGeoPolyShape::Construct(), TEveGeoNode::DumpShapeTree(), FillBuffer3D(), G__G__Geom1_105_0_8(), G__setup_memfuncTGeoShape(), TEveGeoShape::Paint(), TGeoBoolNode::Paint(), TGeoCompositeShape::PaintComposite(), and TGeoPainter::ShapeDistancetoPrimitive().

void TGeoShape::SetTransform ( TGeoMatrix matrix  )  [static]

Definition at line 477 of file TGeoShape.cxx.

References fgTransform.

Referenced by TGeoChecker::CheckOverlaps(), TEveGeoPolyShape::Construct(), TGeoPainter::DistanceToPrimitiveVol(), TEveGeoNode::DumpShapeTree(), G__G__Geom1_105_0_9(), G__setup_memfuncTGeoShape(), TEveGeoShape::Paint(), TGeoPainter::PaintOverlap(), TGeoPainter::PaintPhysicalNode(), TGeoPainter::PaintShape(), and TGeoPainter::PaintVolume().

static Double_t TGeoShape::Tolerance (  )  [inline, static]

Definition at line 99 of file TGeoShape.h.

Referenced by TGeoBBox::AreOverlapping(), TGeoPcon::Capacity(), TGeoPgon::Capacity(), TGeoPgon::ComputeBBox(), TGeoPcon::ComputeBBox(), TGeoHelix::ComputeSafeStep(), TGeoArb8::ComputeTwist(), TGeoXtru::Contains(), TGeoXtru::DefinePolygon(), TGeoXtru::DistFromInside(), TGeoHalfSpace::DistFromInside(), TGeoArb8::DistFromInside(), TGeoUnion::DistFromInside(), TGeoSphere::DistFromInside(), TGeoPgon::DistFromInside(), TGeoTorus::DistFromInside(), TGeoTubeSeg::DistFromInsideS(), TGeoTube::DistFromInsideS(), TGeoCone::DistFromInsideS(), TGeoConeSeg::DistFromInsideS(), TGeoPgon::DistFromOutside(), TGeoHalfSpace::DistFromOutside(), TGeoIntersection::DistFromOutside(), TGeoSubtraction::DistFromOutside(), TGeoTrap::DistFromOutside(), TGeoSphere::DistFromOutside(), TGeoShapeAssembly::DistFromOutside(), TGeoConeSeg::DistFromOutsideS(), TGeoTube::DistFromOutsideS(), TGeoCone::DistFromOutsideS(), TGeoTubeSeg::DistFromOutsideS(), TGeoCone::DistToCone(), TGeoHype::DistToHype(), TGeoParaboloid::DistToParaboloid(), TGeoArb8::DistToPlane(), TGeoPatternZ::FindNextBoundary(), TGeoPatternY::FindNextBoundary(), TGeoPatternX::FindNextBoundary(), G__G__Geom1_105_0_10(), G__setup_memfuncTGeoShape(), TGeoTorus::GetNmeshVertices(), TGeoSubtraction::GetNpoints(), TGeoUnion::GetNpoints(), TGeoIntersection::GetNpoints(), TGeoXtru::GetPlaneNormal(), TGeoArb8::GetPlaneNormal(), IsCrossingSemiplane(), TGeoSphere::IsOnBoundary(), TGeoVoxelFinder::IsSafeVoxel(), IsSegCrossing(), TGeoChecker::MakeCheckOverlap(), TGeoBuilder::MakePara(), TGeoBuilder::Node(), TGeoChecker::PropagateInGeom(), TGeoPgon::Rpg(), TGeoArb8::Safety(), TGeoTrap::Safety(), TGeoEltu::Safety(), TGeoHype::SafetyToHype(), TGeoBBox::SetBoxDimensions(), TGeoBBox::SetDimensions(), TGeoHelix::SetHelixStep(), TGeoParaboloid::SetParaboloidDimensions(), TGeoTorus::SetPoints(), TGeoHelix::SetXYcurvature(), TGeoPgon::SliceCrossing(), TGeoPgon::SliceCrossingIn(), TGeoPgon::SliceCrossingInZ(), TGeoPgon::SliceCrossingZ(), TGeoTorus::ToBoundary(), TGeoHelix::UpdateHelix(), and TGeoHype::ZHypeSq().

Double_t TGeoShape::ComputeEpsMch (  )  [static]

Definition at line 198 of file TGeoShape.cxx.

References fgEpsMch.

Referenced by G__G__Geom1_105_0_11(), and G__setup_memfuncTGeoShape().

Double_t TGeoShape::EpsMch (  )  [static]

Definition at line 215 of file TGeoShape.cxx.

References fgEpsMch.

Referenced by G__G__Geom1_105_0_12(), and G__setup_memfuncTGeoShape().

virtual Double_t TGeoShape::Capacity (  )  const [pure virtual]

Referenced by TGeoVolume::Capacity(), TGeoScaledShape::Capacity(), TGeoChecker::CheckOverlapsBySampling(), and TGeoOverlap::SampleOverlap().

virtual void TGeoShape::ComputeBBox (  )  [pure virtual]

Referenced by TGeoManager::CheckGeometry(), TGeoShapeAssembly::ComputeBBox(), TGeoUnion::ComputeBBox(), TGeoSubtraction::ComputeBBox(), TGeoVolumeAssembly::MakeAssemblyFromVolume(), TGeoShapeAssembly::RecomputeBoxLast(), TGeoVolume::RemoveNode(), TGeoVolume::ReplaceNode(), TGeoVoxelFinder::Voxelize(), and TGeoVolume::Voxelize().

virtual void TGeoShape::ComputeNormal ( Double_t point,
Double_t dir,
Double_t norm 
) [pure virtual]

Referenced by TGeoSubtraction::ComputeNormal(), TGeoShapeAssembly::ComputeNormal(), TGeoScaledShape::ComputeNormal(), TGeoIntersection::ComputeNormal(), TGeoUnion::ComputeNormal(), and TGeoNavigator::FindNormalFast().

virtual Bool_t TGeoShape::Contains ( Double_t point  )  const [pure virtual]

Referenced by TGeoChecker::CheckOverlapsBySampling(), TGeoChecker::CheckVoxels(), TGeoSubtraction::ComputeNormal(), TGeoIntersection::ComputeNormal(), TGeoUnion::ComputeNormal(), TGeoSubtraction::Contains(), TGeoShapeAssembly::Contains(), TGeoScaledShape::Contains(), TGeoVolume::Contains(), TGeoIntersection::Contains(), TGeoUnion::Contains(), TGeoUnion::DistFromInside(), TGeoIntersection::DistFromOutside(), TGeoSubtraction::DistFromOutside(), TGeoSubtraction::GetNpoints(), TGeoUnion::GetNpoints(), TGeoIntersection::GetNpoints(), TGeoNavigator::IsSameLocation(), TGeoPainter::Raytrace(), TGeoSubtraction::Safety(), TGeoUnion::Safety(), TGeoIntersection::Safety(), sample_volume(), and TGeoChecker::TestOverlaps().

virtual Bool_t TGeoShape::CouldBeCrossed ( Double_t point,
Double_t dir 
) const [pure virtual]

virtual Int_t TGeoShape::DistancetoPrimitive ( Int_t  px,
Int_t  py 
) [pure virtual]

Reimplemented from TObject.

Referenced by TGeoPainter::DistanceToPrimitiveVol().

virtual Double_t TGeoShape::DistFromInside ( Double_t point,
Double_t dir,
Int_t  iact = 1,
Double_t  step = TGeoShape::Big(),
Double_t safe = 0 
) const [pure virtual]

Referenced by TGeoNavigator::CrossDivisionCell(), TGeoScaledShape::DistFromInside(), TGeoUnion::DistFromInside(), TGeoSubtraction::DistFromInside(), TGeoIntersection::DistFromInside(), TGeoSubtraction::DistFromOutside(), TGeoNavigator::FindNextBoundary(), TGeoNavigator::FindNextBoundaryAndStep(), TGeoPainter::Raytrace(), and TGeoChecker::TimingPerVolume().

virtual Double_t TGeoShape::DistFromOutside ( Double_t point,
Double_t dir,
Int_t  iact = 1,
Double_t  step = TGeoShape::Big(),
Double_t safe = 0 
) const [pure virtual]

Referenced by TGeoUnion::DistFromInside(), TGeoSubtraction::DistFromInside(), TGeoIntersection::DistFromOutside(), TGeoSubtraction::DistFromOutside(), TGeoUnion::DistFromOutside(), TGeoScaledShape::DistFromOutside(), TGeoShapeAssembly::DistFromOutside(), TGeoNavigator::FindNextBoundary(), TGeoNavigator::FindNextBoundaryAndStep(), TGeoNavigator::FindNextDaughterBoundary(), TGeoPainter::Raytrace(), and TGeoChecker::TimingPerVolume().

Double_t TGeoShape::DistToPhiMin ( Double_t point,
Double_t dir,
Double_t  s1,
Double_t  c1,
Double_t  s2,
Double_t  c2,
Double_t  sm,
Double_t  cm,
Bool_t  in = kTRUE 
) [static]

Definition at line 373 of file TGeoShape.cxx.

References Big(), TMath::Min(), and s.

Referenced by TGeoSphere::DistFromInside(), TGeoCtub::DistFromInside(), TGeoTubeSeg::DistFromInsideS(), TGeoConeSeg::DistFromInsideS(), TGeoConeSeg::DistFromOutsideS(), G__G__Geom1_105_0_21(), and G__setup_memfuncTGeoShape().

virtual TGeoVolume* TGeoShape::Divide ( TGeoVolume voldiv,
const char *  divname,
Int_t  iaxis,
Int_t  ndiv,
Double_t  start,
Double_t  step 
) [pure virtual]

Referenced by TGeoVolume::Divide().

void TGeoShape::Draw ( Option_t option = ""  )  [virtual]

Reimplemented from TObject.

Definition at line 652 of file TGeoShape.cxx.

References TVirtualGeoPainter::DrawShape(), gEnv, TGeoManager::GetGeomPainter(), TEnv::GetValue(), and gGeoManager.

Referenced by TGeoEltuEditor::DoApply(), TGeoCtubEditor::DoApply(), TGeoTrapEditor::DoApply(), TGeoConeEditor::DoApply(), TGeoPgonEditor::DoApply(), TGeoPconEditor::DoApply(), TGeoParaEditor::DoApply(), TGeoTubeEditor::DoApply(), TGeoSphereEditor::DoApply(), TGeoHypeEditor::DoApply(), TGeoConeSegEditor::DoApply(), TGeoTrd2Editor::DoApply(), TGeoTrd1Editor::DoApply(), TGeoBBoxEditor::DoApply(), TGeoGtraEditor::DoApply(), TGeoTubeSegEditor::DoApply(), TGeoTorusEditor::DoApply(), and TGeoManagerEditor::DoEditShape().

void TGeoShape::ExecuteEvent ( Int_t  event,
Int_t  px,
Int_t  py 
) [virtual]

Reimplemented from TObject.

Definition at line 643 of file TGeoShape.cxx.

References TVirtualGeoPainter::ExecuteShapeEvent(), TGeoManager::GetPainter(), and gGeoManager.

virtual const char* TGeoShape::GetAxisName ( Int_t  iaxis  )  const [pure virtual]

Referenced by AddText(), TGeoVolume::Divide(), SavePicture(), and TGeoVolumeEditor::SetModel().

virtual Double_t TGeoShape::GetAxisRange ( Int_t  iaxis,
Double_t xlo,
Double_t xhi 
) const [pure virtual]

Referenced by TGeoVolume::Divide(), TGeoVolumeEditor::DoApplyDiv(), TGeoVolumeEditor::DoDivFromTo(), TGeoVolumeEditor::DoDivN(), TGeoVolumeEditor::DoDivSelAxis(), TGeoVolumeEditor::DoDivStep(), TGeoVolumeEditor::DoRemoveNode(), TGeoHype::GetMakeRuntimeShape(), TGeoTube::GetMakeRuntimeShape(), TGeoVolumeEditor::SetModel(), and TGDMLParse::VolProcess().

virtual void TGeoShape::GetBoundingCylinder ( Double_t param  )  const [pure virtual]

const TBuffer3D & TGeoShape::GetBuffer3D ( Int_t  reqSections,
Bool_t  localFrame 
) const [virtual]

Definition at line 623 of file TGeoShape.cxx.

References buffer, TBuffer3DTypes::kGeneric, and TObject::Warning().

Referenced by TGeoScaledShape::GetBuffer3D(), TEveGeoShape::Paint(), and TGeoPainter::PaintShape().

virtual Int_t TGeoShape::GetByteCount (  )  const [pure virtual]

Referenced by TGeoVolume::GetByteCount().

virtual Bool_t TGeoShape::GetPointsOnSegments ( Int_t  npoints,
Double_t array 
) const [pure virtual]

virtual Int_t TGeoShape::GetFittingBox ( const TGeoBBox parambox,
TGeoMatrix mat,
Double_t dx,
Double_t dy,
Double_t dz 
) const [pure virtual]

Referenced by TGeoBBox::GetMakeRuntimeShape().

Int_t TGeoShape::GetId (  )  const [inline]

Definition at line 125 of file TGeoShape.h.

References fShapeId.

virtual TGeoShape* TGeoShape::GetMakeRuntimeShape ( TGeoShape mother,
TGeoMatrix mat 
) const [pure virtual]

Referenced by TGeoVolume::CheckShapes().

virtual void TGeoShape::GetMeshNumbers ( Int_t ,
Int_t ,
Int_t  
) const [inline, virtual]

Definition at line 127 of file TGeoShape.h.

Referenced by TGeoScaledShape::GetMeshNumbers(), and TGeoChecker::MakeCheckOverlap().

const char * TGeoShape::GetName (  )  const [virtual]

Reimplemented from TNamed.

Definition at line 223 of file TGeoShape.cxx.

References TNamed::fName, and TNamed::GetName().

Referenced by TGeoShapeDialog::BuildListTree(), TGeoHype::ComputeBBox(), TGeoShapeAssembly::ComputeBBox(), TGeoPgon::ComputeBBox(), TGeoCtub::ComputeBBox(), TGeoPcon::ComputeBBox(), TGeoIntersection::ComputeBBox(), TGeoScaledShape::ComputeBBox(), TGeoXtru::ComputeBBox(), TGeoArb8::ComputeTwist(), TEveGeoPolyShape::Construct(), TGeoXtru::DefinePolygon(), TGeoXtru::DefineSection(), TGeoPcon::DefineSection(), TGeoCtub::DistFromInside(), TGeoTube::Divide(), TGeoCtub::Divide(), TGeoTubeSeg::Divide(), TGeoPcon::Divide(), TGeoEltuEditor::DoApply(), TGeoCtubEditor::DoApply(), TGeoTrapEditor::DoApply(), TGeoConeEditor::DoApply(), TGeoPgonEditor::DoApply(), TGeoPconEditor::DoApply(), TGeoParaEditor::DoApply(), TGeoTubeEditor::DoApply(), TGeoSphereEditor::DoApply(), TGeoHypeEditor::DoApply(), TGeoConeSegEditor::DoApply(), TGeoTrd2Editor::DoApply(), TGeoTrd1Editor::DoApply(), TGeoBBoxEditor::DoApply(), TGeoGtraEditor::DoApply(), TGeoTubeSegEditor::DoApply(), TGeoTorusEditor::DoApply(), TGeoVolumeEditor::DoSelectShape(), TGeoManagerEditor::DoSelectShape(), TGeoManagerEditor::DoSelectShape2(), TGeoVolume::GetIconName(), TGeoConeSeg::GetMakeRuntimeShape(), TGeoHype::GetMakeRuntimeShape(), TGeoCtub::GetMakeRuntimeShape(), TGeoTubeSeg::GetMakeRuntimeShape(), TGeoTube::GetMakeRuntimeShape(), TGeoCone::GetMakeRuntimeShape(), GetPointerName(), TGeoPcon::GetRmax(), TGeoPcon::GetRmin(), TGeoXtru::GetZ(), TGeoPcon::GetZ(), TGeoArb8::InspectShape(), TGeoCompositeShape::InspectShape(), TGeoSphere::InspectShape(), TGeoBBox::InspectShape(), TGeoTrd1::InspectShape(), TGeoHype::InspectShape(), TGeoTrd2::InspectShape(), TGeoPara::InspectShape(), TGeoXtru::InspectShape(), TGeoTubeSeg::InspectShape(), TGeoTube::InspectShape(), TGeoTorus::InspectShape(), TGeoConeSeg::InspectShape(), TGeoPgon::InspectShape(), TGeoCtub::InspectShape(), TGeoShapeAssembly::InspectShape(), TGeoHalfSpace::InspectShape(), TGeoScaledShape::InspectShape(), TGeoEltu::InspectShape(), TGeoCone::InspectShape(), TGeoPcon::InspectShape(), TGeoParaboloid::InspectShape(), TGeoCtub::SavePrimitive(), TGeoTorus::SavePrimitive(), TGeoSphere::SavePrimitive(), TGeoConeSeg::SavePrimitive(), TGeoCone::SavePrimitive(), TGeoTrd2::SavePrimitive(), TGeoTrd1::SavePrimitive(), TGeoPcon::SavePrimitive(), TGeoTube::SavePrimitive(), TGeoCompositeShape::SavePrimitive(), TGeoBBox::SavePrimitive(), TGeoScaledShape::SavePrimitive(), TGeoPara::SavePrimitive(), TGeoEltu::SavePrimitive(), TGeoHalfSpace::SavePrimitive(), TGeoGtra::SavePrimitive(), TGeoXtru::SavePrimitive(), TGeoArb8::SavePrimitive(), TGeoTubeSeg::SavePrimitive(), TGeoHype::SavePrimitive(), TGeoPgon::SavePrimitive(), TGeoParaboloid::SavePrimitive(), TGeoTrap::SavePrimitive(), TGeoConeSeg::SetConsDimensions(), TGeoPgon::SetDimensions(), TGeoXtru::SetDimensions(), TGeoPcon::SetDimensions(), TGeoPconEditor::SetModel(), TGeoTrd1Editor::SetModel(), TGeoSphereEditor::SetModel(), TGeoConeSegEditor::SetModel(), TGeoTrd2Editor::SetModel(), TGeoCtubEditor::SetModel(), TGeoTubeEditor::SetModel(), TGeoVolumeEditor::SetModel(), TGeoGtraEditor::SetModel(), TGeoTorusEditor::SetModel(), TGeoParaEditor::SetModel(), TGeoBBoxEditor::SetModel(), TGeoEltuEditor::SetModel(), TGeoConeEditor::SetModel(), TGeoTubeSegEditor::SetModel(), TGeoTrapEditor::SetModel(), TGeoPgonEditor::SetModel(), TGeoHypeEditor::SetModel(), TGeoParaboloid::SetParaboloidDimensions(), TGeoTube::SetTubeDimensions(), TGeoTubeSeg::SetTubsDimensions(), TGeoIntersection::TGeoIntersection(), TGeoSubtraction::TGeoSubtraction(), TGeoUnion::TGeoUnion(), TGeoXtru::TGeoXtru(), and TGeoChecker::TimingPerVolume().

virtual Int_t TGeoShape::GetNmeshVertices (  )  const [inline, virtual]

Definition at line 129 of file TGeoShape.h.

Referenced by TGeoScaledShape::DistancetoPrimitive(), TGeoScaledShape::GetNmeshVertices(), TGeoSubtraction::GetNpoints(), TGeoUnion::GetNpoints(), TGeoIntersection::GetNpoints(), and TGeoScaledShape::SetPoints().

const char * TGeoShape::GetPointerName (  )  const

Definition at line 632 of file TGeoShape.cxx.

References TString::Format(), GetName(), TObject::GetUniqueID(), and name.

Referenced by TGeoCone::SavePrimitive(), TGeoConeSeg::SavePrimitive(), TGeoSphere::SavePrimitive(), TGeoTorus::SavePrimitive(), TGeoCtub::SavePrimitive(), TGeoIntersection::SavePrimitive(), TGeoTrd2::SavePrimitive(), TGeoPcon::SavePrimitive(), TGeoTrd1::SavePrimitive(), TGeoBBox::SavePrimitive(), TGeoCompositeShape::SavePrimitive(), TGeoTube::SavePrimitive(), TGeoVolume::SavePrimitive(), TGeoEltu::SavePrimitive(), TGeoPara::SavePrimitive(), TGeoScaledShape::SavePrimitive(), TGeoGtra::SavePrimitive(), TGeoHalfSpace::SavePrimitive(), TGeoUnion::SavePrimitive(), TGeoXtru::SavePrimitive(), TGeoArb8::SavePrimitive(), TGeoSubtraction::SavePrimitive(), TGeoTubeSeg::SavePrimitive(), TGeoHype::SavePrimitive(), TGeoTrap::SavePrimitive(), TGeoParaboloid::SavePrimitive(), and TGeoPgon::SavePrimitive().

virtual Bool_t TGeoShape::IsAssembly (  )  const [inline, virtual]

Definition at line 131 of file TGeoShape.h.

References kFALSE.

virtual Bool_t TGeoShape::IsComposite (  )  const [inline, virtual]

Definition at line 132 of file TGeoShape.h.

References kFALSE.

Referenced by TEveGeoNode::DumpShapeTree(), FillBuffer3D(), TGeoPainter::PaintShape(), TGeoBoolNode::RegisterMatrices(), TGeoCompositeShape::RegisterYourself(), TGeoVolume::RegisterYourself(), and TGeoManager::SetAllIndex().

virtual Bool_t TGeoShape::IsCylType (  )  const [pure virtual]

Referenced by TGeoNodeMatrix::GetOptimalVoxels(), and TGeoScaledShape::IsCylType().

Bool_t TGeoShape::IsCloseToPhi ( Double_t  epsil,
Double_t point,
Double_t  c1,
Double_t  s1,
Double_t  c2,
Double_t  s2 
) [static]

Definition at line 242 of file TGeoShape.cxx.

References TMath::Abs(), Big(), kFALSE, kTRUE, and TMath::Min().

Referenced by TGeoConeSeg::ComputeNormal(), TGeoPgon::ComputeNormal(), TGeoSphere::ComputeNormal(), TGeoCtub::ComputeNormal(), TGeoTubeSeg::ComputeNormal(), TGeoTubeSeg::ComputeNormalS(), TGeoConeSeg::ComputeNormalS(), G__G__Geom1_105_0_41(), and G__setup_memfuncTGeoShape().

Bool_t TGeoShape::IsCrossingSemiplane ( Double_t point,
Double_t dir,
Double_t  cphi,
Double_t  sphi,
Double_t snext,
Double_t rxy 
) [static]

Definition at line 266 of file TGeoShape.cxx.

References TMath::Abs(), Big(), kFALSE, kTRUE, and Tolerance().

Referenced by G__G__Geom1_105_0_42(), G__setup_memfuncTGeoShape(), and TGeoPgon::GetPhiCrossList().

Bool_t TGeoShape::IsSameWithinTolerance ( Double_t  a,
Double_t  b 
) [static]

Definition at line 296 of file TGeoShape.cxx.

References TMath::Abs(), E, kFALSE, and kTRUE.

Referenced by TGeoXtru::Capacity(), TGeoSphere::ComputeBBox(), TGeoTorus::ComputeBBox(), TGeoPgon::ComputeNormal(), TGeoSphere::ComputeNormal(), TGeoTorus::ComputeNormal(), TGeoPcon::ComputeNormal(), TGeoXtru::Contains(), TGeoTorus::Contains(), TGeoPcon::Contains(), TGeoTorus::DDaxis(), TGeoTorus::DDDaxis(), TGeoXtru::DistFromInside(), TGeoPcon::DistFromInside(), TGeoEltu::DistFromInside(), TGeoSphere::DistFromInside(), TGeoPgon::DistFromInside(), TGeoPara::DistFromInside(), TGeoPgon::DistFromOutside(), TGeoCtub::DistFromOutside(), TGeoArb8::DistFromOutside(), TGeoXtru::DistFromOutside(), TGeoEltu::DistFromOutside(), TGeoSphere::DistFromOutside(), TGeoTube::DistFromOutsideS(), TGeoTubeSeg::DistFromOutsideS(), TGeoXtru::DistToPlane(), TGeoPcon::DistToSegZ(), TGeoVolume::Divide(), TGeoPcon::Divide(), TGeoVoxelFinder::Efficiency(), G__G__Geom1_105_0_43(), G__setup_memfuncTGeoShape(), TGeoPcon::GetBoundingCylinder(), TGeoPgon::GetBoundingCylinder(), TGeoSphere::GetBoundingCylinder(), TGeoPgon::GetBuffer3D(), TGeoPcon::GetBuffer3D(), TGeoArb8::GetClosestEdge(), TGeoPcon::GetMeshNumbers(), TGeoPgon::GetMeshNumbers(), TGeoPgon::GetPhiCrossList(), TGeoPgon::IsCrossingSlice(), TGeoPgon::MakeBuffer3D(), TGeoPcon::MakeBuffer3D(), TGeoShapeAssembly::RecomputeBoxLast(), TGeoPolygon::Safety(), TGeoSphere::Safety(), TGeoPcon::Safety(), TGeoTorus::Safety(), TGeoXtru::SafetyToSector(), TGeoPcon::SafetyToSegment(), TGeoBBox::SavePrimitive(), TGeoConeSeg::SetConsDimensions(), TGeoPcon::SetSegsAndPols(), TGeoPgon::SetSegsAndPols(), TGeoSphere::SetSphDimensions(), TGeoTubeSeg::SetTubsDimensions(), TGeoPgon::SliceCrossing(), TGeoPgon::SliceCrossingInZ(), TGeoPgon::SliceCrossingZ(), and TGeoTorus::SolveQuartic().

Bool_t TGeoShape::IsSegCrossing ( Double_t  x1,
Double_t  y1,
Double_t  x2,
Double_t  y2,
Double_t  x3,
Double_t  y3,
Double_t  x4,
Double_t  y4 
) [static]

Definition at line 304 of file TGeoShape.cxx.

References TMath::Abs(), kFALSE, kTRUE, and Tolerance().

Referenced by TGeoArb8::ComputeTwist(), G__G__Geom1_105_0_44(), G__setup_memfuncTGeoShape(), and TGeoPolygon::IsIllegalCheck().

Bool_t TGeoShape::IsInPhiRange ( Double_t point,
Double_t  phi1,
Double_t  phi2 
) [static]

Definition at line 255 of file TGeoShape.cxx.

References TMath::ATan2(), kFALSE, kTRUE, phi, and TMath::RadToDeg().

Referenced by TGeoTubeSeg::Contains(), G__G__Geom1_105_0_45(), G__setup_memfuncTGeoShape(), and SafetyPhi().

virtual Bool_t TGeoShape::IsReflected (  )  const [inline, virtual]

Definition at line 139 of file TGeoShape.h.

References kFALSE.

Referenced by FillBuffer3D().

Bool_t TGeoShape::IsRunTimeShape (  )  const [inline]

Definition at line 140 of file TGeoShape.h.

References kGeoRunTimeShape, and TestShapeBit().

Referenced by TGeoBuilder::AddShape(), TGeoManager::CheckGeometry(), TGeoVolume::CheckShapes(), TGeoGtra::GetMakeRuntimeShape(), TGeoTrap::GetMakeRuntimeShape(), TGeoVolume::IsRunTime(), TGeoBuilder::MakeCons(), and TGeoBuilder::MakeTubs().

Bool_t TGeoShape::IsValid (  )  const [inline]

Definition at line 141 of file TGeoShape.h.

References kGeoInvalidShape, and TestShapeBit().

Referenced by TGeoVolume::IsValid(), and TGeoBoolNode::MakeBranch().

virtual Bool_t TGeoShape::IsValidBox (  )  const [pure virtual]

Referenced by TGeoVolume::Valid().

virtual void TGeoShape::InspectShape (  )  const [pure virtual]

Referenced by TGeoVolume::InspectShape(), and TGeoScaledShape::InspectShape().

virtual TBuffer3D* TGeoShape::MakeBuffer3D (  )  const [inline, virtual]

Definition at line 144 of file TGeoShape.h.

Referenced by TGeoScaledShape::MakeBuffer3D().

void TGeoShape::NormalPhi ( Double_t point,
Double_t dir,
Double_t norm,
Double_t  c1,
Double_t  s1,
Double_t  c2,
Double_t  s2 
) [static]

Definition at line 404 of file TGeoShape.cxx.

References TMath::Abs(), Big(), c, c1, and s.

Referenced by TGeoConeSeg::ComputeNormal(), TGeoPgon::ComputeNormal(), TGeoSphere::ComputeNormal(), TGeoTorus::ComputeNormal(), TGeoCtub::ComputeNormal(), TGeoTubeSeg::ComputeNormal(), TGeoTubeSeg::ComputeNormalS(), TGeoConeSeg::ComputeNormalS(), G__G__Geom1_105_0_52(), and G__setup_memfuncTGeoShape().

void TGeoShape::Paint ( Option_t option = ""  )  [virtual]

Reimplemented from TObject.

Definition at line 664 of file TGeoShape.cxx.

References gEnv, TGeoManager::GetGeomPainter(), TEnv::GetValue(), gGeoManager, and TVirtualGeoPainter::PaintShape().

virtual Double_t TGeoShape::Safety ( Double_t point,
Bool_t  in = kTRUE 
) const [pure virtual]

Referenced by TGeoChecker::CheckOverlapsBySampling(), TGeoScaledShape::Safety(), TGeoShapeAssembly::Safety(), TGeoSubtraction::Safety(), TGeoUnion::Safety(), TGeoIntersection::Safety(), TGeoNavigator::Safety(), TGeoNode::Safety(), TGeoNavigator::SafetyOverlaps(), TGeoChecker::TimingPerVolume(), and TGeoOverlap::Validate().

Double_t TGeoShape::SafetyPhi ( Double_t point,
Bool_t  in,
Double_t  phi1,
Double_t  phi2 
) [static]

Definition at line 429 of file TGeoShape.cxx.

References Big(), c1, TMath::Cos(), TMath::DegToRad(), IsInPhiRange(), TMath::Min(), s1, s2, safe, TMath::Sin(), and TMath::Sqrt().

Referenced by G__G__Geom1_105_0_55(), G__setup_memfuncTGeoShape(), TGeoTubeSeg::Safety(), TGeoSphere::Safety(), TGeoPgon::Safety(), TGeoCtub::Safety(), TGeoPcon::Safety(), TGeoConeSeg::Safety(), TGeoTorus::Safety(), TGeoTubeSeg::SafetyS(), and TGeoConeSeg::SafetyS().

virtual void TGeoShape::SetDimensions ( Double_t param  )  [pure virtual]

void TGeoShape::SetId ( Int_t  id  )  [inline]

Definition at line 150 of file TGeoShape.h.

References fShapeId.

virtual void TGeoShape::SetPoints ( Double_t points  )  const [pure virtual]

Referenced by TGeoSubtraction::GetNpoints(), TGeoUnion::GetNpoints(), TGeoIntersection::GetNpoints(), TGeoScaledShape::SetPoints(), and TGeoPainter::ShapeDistancetoPrimitive().

virtual void TGeoShape::SetPoints ( Float_t points  )  const [pure virtual]

virtual void TGeoShape::SetSegsAndPols ( TBuffer3D buff  )  const [pure virtual]

Referenced by TGeoScaledShape::SetSegsAndPols().

void TGeoShape::SetRuntime ( Bool_t  flag = kTRUE  )  [inline]

Definition at line 154 of file TGeoShape.h.

References flag, kGeoRunTimeShape, and SetShapeBit().

Int_t TGeoShape::ShapeDistancetoPrimitive ( Int_t  numpoints,
Int_t  px,
Int_t  py 
) const

Definition at line 233 of file TGeoShape.cxx.

References TGeoManager::GetGeomPainter(), gGeoManager, and TVirtualGeoPainter::ShapeDistancetoPrimitive().

Referenced by TGeoConeSeg::DistancetoPrimitive(), TGeoTube::DistancetoPrimitive(), TGeoBBox::DistancetoPrimitive(), TGeoCone::DistancetoPrimitive(), TGeoXtru::DistancetoPrimitive(), TGeoHype::DistancetoPrimitive(), TGeoTorus::DistancetoPrimitive(), TGeoPcon::DistancetoPrimitive(), TGeoScaledShape::DistancetoPrimitive(), TGeoParaboloid::DistancetoPrimitive(), TGeoSphere::DistancetoPrimitive(), TGeoPgon::DistancetoPrimitive(), TGeoCompositeShape::DistancetoPrimitive(), TGeoTubeSeg::DistancetoPrimitive(), and TGeoEltu::DistancetoPrimitive().

virtual void TGeoShape::Sizeof3D (  )  const [pure virtual]

Referenced by TGeoBoolNode::Sizeof3D(), and TGeoOverlap::Sizeof3D().

void TGeoShape::SetShapeBit ( UInt_t  f,
Bool_t  set 
)

Definition at line 459 of file TGeoShape.cxx.

References ResetShapeBit().

Referenced by TGeoHype::ComputeBBox(), TGeoPgon::ComputeBBox(), TGeoArb8::ComputeBBox(), TGeoPcon::ComputeBBox(), TGeoXtru::ComputeBBox(), TGeoXtru::DefinePolygon(), TGeoBBox::SetBoxDimensions(), TGeoCone::SetConeDimensions(), TGeoGtra::SetDimensions(), TGeoBBox::SetDimensions(), TGeoTrap::SetDimensions(), TGeoXtru::SetDimensions(), TGeoEltu::SetEltuDimensions(), TGeoHype::SetHypeDimensions(), TGeoParaboloid::SetParaboloidDimensions(), SetRuntime(), TGeoSphere::SetSphDimensions(), TGeoArb8::TGeoArb8(), TGeoBBox::TGeoBBox(), TGeoCompositeShape::TGeoCompositeShape(), TGeoCone::TGeoCone(), TGeoConeSeg::TGeoConeSeg(), TGeoCtub::TGeoCtub(), TGeoEltu::TGeoEltu(), TGeoGtra::TGeoGtra(), TGeoHalfSpace::TGeoHalfSpace(), TGeoHype::TGeoHype(), TGeoPara::TGeoPara(), TGeoParaboloid::TGeoParaboloid(), TGeoPcon::TGeoPcon(), TGeoPgon::TGeoPgon(), TGeoSphere::TGeoSphere(), TGeoTorus::TGeoTorus(), TGeoTrap::TGeoTrap(), TGeoTrd1::TGeoTrd1(), TGeoTrd2::TGeoTrd2(), TGeoTube::TGeoTube(), TGeoTubeSeg::TGeoTubeSeg(), and TGeoXtru::TGeoXtru().

void TGeoShape::SetShapeBit ( UInt_t  f  )  [inline]

Definition at line 160 of file TGeoShape.h.

References fShapeBits, and kBitMask32.

void TGeoShape::ResetShapeBit ( UInt_t  f  )  [inline]

Definition at line 161 of file TGeoShape.h.

References fShapeBits, and kBitMask32.

Referenced by SetShapeBit().

Bool_t TGeoShape::TestShapeBit ( UInt_t  f  )  const [inline]

Definition at line 162 of file TGeoShape.h.

References fShapeBits.

Referenced by TGeoManager::CheckGeometry(), TGeoIntersection::ComputeBBox(), TGeoSphere::ComputeNormal(), TGeoSphere::Contains(), TGeoXtru::DefineSection(), TGeoSphere::DistFromInside(), TGeoSphere::DistFromOutside(), TGeoSphere::GetBuffer3D(), TGeoTrd2::GetMakeRuntimeShape(), TGeoPara::GetMakeRuntimeShape(), TGeoBBox::GetMakeRuntimeShape(), TGeoTrd1::GetMakeRuntimeShape(), TGeoEltu::GetMakeRuntimeShape(), TGeoConeSeg::GetMakeRuntimeShape(), TGeoTorus::GetMakeRuntimeShape(), TGeoHype::GetMakeRuntimeShape(), TGeoGtra::GetMakeRuntimeShape(), TGeoTrap::GetMakeRuntimeShape(), TGeoCtub::GetMakeRuntimeShape(), TGeoTubeSeg::GetMakeRuntimeShape(), TGeoTube::GetMakeRuntimeShape(), TGeoCone::GetMakeRuntimeShape(), TGeoSphere::GetMeshNumbers(), TGeoSphere::GetNmeshVertices(), TGeoTrd2::GetOppositeCorner(), TGeoTrd1::GetOppositeCorner(), TGeoHype::HasInner(), TGeoSphere::IsOnBoundary(), TGeoSphere::IsPointInside(), IsRunTimeShape(), IsValid(), TGeoSphere::MakeBuffer3D(), TGeoSphere::Safety(), TGeoSphere::SetPoints(), TGeoSphere::SetSegsAndPols(), TGeoTrd2::SetVertex(), TGeoTrd1::SetVertex(), TGeoIntersection::TGeoIntersection(), TGeoSubtraction::TGeoSubtraction(), and TGeoUnion::TGeoUnion().

Int_t TGeoShape::TestShapeBits ( UInt_t  f  )  const [inline]

Definition at line 163 of file TGeoShape.h.

References fShapeBits.

void TGeoShape::InvertShapeBit ( UInt_t  f  )  [inline]

Definition at line 164 of file TGeoShape.h.

References fShapeBits, and kBitMask32.

virtual void TGeoShape::FillBuffer3D ( TBuffer3D buffer,
Int_t  reqSections,
Bool_t  localFrame 
) const [protected, virtual]

Int_t TGeoShape::GetBasicColor (  )  const [protected]

void TGeoShape::SetOnBoundary ( Bool_t   )  [inline, protected]

Definition at line 85 of file TGeoShape.h.

void TGeoShape::TransformPoints ( Double_t points,
UInt_t  NbPoints 
) const [protected]

static Double_t TGeoShape::Big (  )  [inline, static]

Definition at line 96 of file TGeoShape.h.

static TGeoMatrix* TGeoShape::GetTransform (  )  [static]

static void TGeoShape::SetTransform ( TGeoMatrix matrix  )  [static]

static Double_t TGeoShape::Tolerance (  )  [inline, static]

Definition at line 99 of file TGeoShape.h.

static Double_t TGeoShape::ComputeEpsMch (  )  [static]

static Double_t TGeoShape::EpsMch (  )  [static]

virtual Double_t TGeoShape::Capacity (  )  const [pure virtual]

virtual void TGeoShape::ComputeBBox (  )  [pure virtual]

virtual void TGeoShape::ComputeNormal ( Double_t point,
Double_t dir,
Double_t norm 
) [pure virtual]

virtual Bool_t TGeoShape::Contains ( Double_t point  )  const [pure virtual]

virtual Bool_t TGeoShape::CouldBeCrossed ( Double_t point,
Double_t dir 
) const [pure virtual]

virtual Int_t TGeoShape::DistancetoPrimitive ( Int_t  px,
Int_t  py 
) [pure virtual]

Reimplemented from TObject.

virtual Double_t TGeoShape::DistFromInside ( Double_t point,
Double_t dir,
Int_t  iact = 1,
Double_t  step = TGeoShape::Big(),
Double_t safe = 0 
) const [pure virtual]

virtual Double_t TGeoShape::DistFromOutside ( Double_t point,
Double_t dir,
Int_t  iact = 1,
Double_t  step = TGeoShape::Big(),
Double_t safe = 0 
) const [pure virtual]

static Double_t TGeoShape::DistToPhiMin ( Double_t point,
Double_t dir,
Double_t  s1,
Double_t  c1,
Double_t  s2,
Double_t  c2,
Double_t  sm,
Double_t  cm,
Bool_t  in = kTRUE 
) [static]

virtual TGeoVolume* TGeoShape::Divide ( TGeoVolume voldiv,
const char *  divname,
Int_t  iaxis,
Int_t  ndiv,
Double_t  start,
Double_t  step 
) [pure virtual]

virtual void TGeoShape::Draw ( Option_t option = ""  )  [virtual]

Reimplemented from TObject.

virtual void TGeoShape::ExecuteEvent ( Int_t  event,
Int_t  px,
Int_t  py 
) [virtual]

Reimplemented from TObject.

virtual const char* TGeoShape::GetAxisName ( Int_t  iaxis  )  const [pure virtual]

virtual Double_t TGeoShape::GetAxisRange ( Int_t  iaxis,
Double_t xlo,
Double_t xhi 
) const [pure virtual]

virtual void TGeoShape::GetBoundingCylinder ( Double_t param  )  const [pure virtual]

virtual const TBuffer3D& TGeoShape::GetBuffer3D ( Int_t  reqSections,
Bool_t  localFrame 
) const [virtual]

virtual Int_t TGeoShape::GetByteCount (  )  const [pure virtual]

virtual Bool_t TGeoShape::GetPointsOnSegments ( Int_t  npoints,
Double_t array 
) const [pure virtual]

virtual Int_t TGeoShape::GetFittingBox ( const TGeoBBox parambox,
TGeoMatrix mat,
Double_t dx,
Double_t dy,
Double_t dz 
) const [pure virtual]

Int_t TGeoShape::GetId (  )  const [inline]

Definition at line 125 of file TGeoShape.h.

References fShapeId.

virtual TGeoShape* TGeoShape::GetMakeRuntimeShape ( TGeoShape mother,
TGeoMatrix mat 
) const [pure virtual]

virtual void TGeoShape::GetMeshNumbers ( Int_t ,
Int_t ,
Int_t  
) const [inline, virtual]

Definition at line 127 of file TGeoShape.h.

virtual const char* TGeoShape::GetName (  )  const [virtual]

Reimplemented from TNamed.

virtual Int_t TGeoShape::GetNmeshVertices (  )  const [inline, virtual]

Definition at line 129 of file TGeoShape.h.

const char* TGeoShape::GetPointerName (  )  const

virtual Bool_t TGeoShape::IsAssembly (  )  const [inline, virtual]

Definition at line 131 of file TGeoShape.h.

References kFALSE.

virtual Bool_t TGeoShape::IsComposite (  )  const [inline, virtual]

Definition at line 132 of file TGeoShape.h.

References kFALSE.

virtual Bool_t TGeoShape::IsCylType (  )  const [pure virtual]

static Bool_t TGeoShape::IsCloseToPhi ( Double_t  epsil,
Double_t point,
Double_t  c1,
Double_t  s1,
Double_t  c2,
Double_t  s2 
) [static]

static Bool_t TGeoShape::IsCrossingSemiplane ( Double_t point,
Double_t dir,
Double_t  cphi,
Double_t  sphi,
Double_t snext,
Double_t rxy 
) [static]

static Bool_t TGeoShape::IsSameWithinTolerance ( Double_t  a,
Double_t  b 
) [static]

static Bool_t TGeoShape::IsSegCrossing ( Double_t  x1,
Double_t  y1,
Double_t  x2,
Double_t  y2,
Double_t  x3,
Double_t  y3,
Double_t  x4,
Double_t  y4 
) [static]

static Bool_t TGeoShape::IsInPhiRange ( Double_t point,
Double_t  phi1,
Double_t  phi2 
) [static]

virtual Bool_t TGeoShape::IsReflected (  )  const [inline, virtual]

Definition at line 139 of file TGeoShape.h.

References kFALSE.

Bool_t TGeoShape::IsRunTimeShape (  )  const [inline]

Definition at line 140 of file TGeoShape.h.

References kGeoRunTimeShape, and TestShapeBit().

Bool_t TGeoShape::IsValid (  )  const [inline]

Definition at line 141 of file TGeoShape.h.

References kGeoInvalidShape, and TestShapeBit().

virtual Bool_t TGeoShape::IsValidBox (  )  const [pure virtual]

virtual void TGeoShape::InspectShape (  )  const [pure virtual]

virtual TBuffer3D* TGeoShape::MakeBuffer3D (  )  const [inline, virtual]

Definition at line 144 of file TGeoShape.h.

static void TGeoShape::NormalPhi ( Double_t point,
Double_t dir,
Double_t norm,
Double_t  c1,
Double_t  s1,
Double_t  c2,
Double_t  s2 
) [static]

virtual void TGeoShape::Paint ( Option_t option = ""  )  [virtual]

Reimplemented from TObject.

virtual Double_t TGeoShape::Safety ( Double_t point,
Bool_t  in = kTRUE 
) const [pure virtual]

static Double_t TGeoShape::SafetyPhi ( Double_t point,
Bool_t  in,
Double_t  phi1,
Double_t  phi2 
) [static]

virtual void TGeoShape::SetDimensions ( Double_t param  )  [pure virtual]

void TGeoShape::SetId ( Int_t  id  )  [inline]

Definition at line 150 of file TGeoShape.h.

References fShapeId.

virtual void TGeoShape::SetPoints ( Double_t points  )  const [pure virtual]

virtual void TGeoShape::SetPoints ( Float_t points  )  const [pure virtual]

virtual void TGeoShape::SetSegsAndPols ( TBuffer3D buff  )  const [pure virtual]

void TGeoShape::SetRuntime ( Bool_t  flag = kTRUE  )  [inline]

Definition at line 154 of file TGeoShape.h.

References flag, kGeoRunTimeShape, and SetShapeBit().

Int_t TGeoShape::ShapeDistancetoPrimitive ( Int_t  numpoints,
Int_t  px,
Int_t  py 
) const

virtual void TGeoShape::Sizeof3D (  )  const [pure virtual]

void TGeoShape::SetShapeBit ( UInt_t  f,
Bool_t  set 
)

void TGeoShape::SetShapeBit ( UInt_t  f  )  [inline]

Definition at line 160 of file TGeoShape.h.

References fShapeBits, and kBitMask32.

void TGeoShape::ResetShapeBit ( UInt_t  f  )  [inline]

Definition at line 161 of file TGeoShape.h.

References fShapeBits, and kBitMask32.

Bool_t TGeoShape::TestShapeBit ( UInt_t  f  )  const [inline]

Definition at line 162 of file TGeoShape.h.

References fShapeBits.

Int_t TGeoShape::TestShapeBits ( UInt_t  f  )  const [inline]

Definition at line 163 of file TGeoShape.h.

References fShapeBits.

void TGeoShape::InvertShapeBit ( UInt_t  f  )  [inline]

Definition at line 164 of file TGeoShape.h.

References fShapeBits, and kBitMask32.


Member Data Documentation

TGeoMatrix* TGeoShape::fgTransform [static, private]

Definition at line 38 of file TGeoShape.h.

Referenced by GetTransform(), SetTransform(), and TransformPoints().

static Double_t TGeoShape::fgEpsMch [static, private]

Definition at line 39 of file TGeoShape.h.

Referenced by ComputeEpsMch(), and EpsMch().

Int_t TGeoShape::fShapeId [protected]

Definition at line 80 of file TGeoShape.h.

Referenced by GetId(), SetId(), and TGeoShape().

UInt_t TGeoShape::fShapeBits [protected]

Definition at line 81 of file TGeoShape.h.

Referenced by InvertShapeBit(), ResetShapeBit(), SetShapeBit(), TestShapeBit(), TestShapeBits(), and TGeoShape().

TGeoMatrix* TGeoShape::fgTransform [static, private]

Definition at line 38 of file TGeoShape.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:39:07 2011 for ROOT_528-00b_version by  doxygen 1.5.1