TGeoIntersection Class Reference

#include <TGeoBoolNode.h>

Inheritance diagram for TGeoIntersection:

TGeoBoolNode TGeoBoolNode TObject TObject TObject TObject List of all members.

Public Member Functions

 TGeoIntersection ()
 TGeoIntersection (const char *expr1, const char *expr2)
 TGeoIntersection (TGeoShape *left, TGeoShape *right, TGeoMatrix *lmat=0, TGeoMatrix *rmat=0)
virtual ~TGeoIntersection ()
virtual void ComputeBBox (Double_t &dx, Double_t &dy, Double_t &dz, Double_t *origin)
virtual void ComputeNormal (Double_t *point, Double_t *dir, Double_t *norm)
virtual Bool_t Contains (Double_t *point) 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=0, Double_t *safe=0) const
virtual Double_t DistFromOutside (Double_t *point, Double_t *dir, Int_t iact=1, Double_t step=0, Double_t *safe=0) const
virtual EGeoBoolType GetBooleanOperator () const
virtual Int_t GetNpoints ()
virtual Double_t Safety (Double_t *point, Bool_t in=kTRUE) const
virtual void SavePrimitive (ostream &out, Option_t *option="")
virtual void Sizeof3D () const
virtual void Paint (Option_t *option)
 TGeoIntersection ()
 TGeoIntersection (const char *expr1, const char *expr2)
 TGeoIntersection (TGeoShape *left, TGeoShape *right, TGeoMatrix *lmat=0, TGeoMatrix *rmat=0)
virtual ~TGeoIntersection ()
virtual void ComputeBBox (Double_t &dx, Double_t &dy, Double_t &dz, Double_t *origin)
virtual void ComputeNormal (Double_t *point, Double_t *dir, Double_t *norm)
virtual Bool_t Contains (Double_t *point) 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=0, Double_t *safe=0) const
virtual Double_t DistFromOutside (Double_t *point, Double_t *dir, Int_t iact=1, Double_t step=0, Double_t *safe=0) const
virtual EGeoBoolType GetBooleanOperator () const
virtual Int_t GetNpoints ()
virtual Double_t Safety (Double_t *point, Bool_t in=kTRUE) const
virtual void SavePrimitive (ostream &out, Option_t *option="")
virtual void Sizeof3D () const
virtual void Paint (Option_t *option)

Detailed Description

Definition at line 134 of file TGeoBoolNode.h.


Constructor & Destructor Documentation

TGeoIntersection::TGeoIntersection (  ) 

Definition at line 995 of file TGeoBoolNode.cxx.

TGeoIntersection::TGeoIntersection ( const char *  expr1,
const char *  expr2 
)

Definition at line 1001 of file TGeoBoolNode.cxx.

TGeoIntersection::TGeoIntersection ( TGeoShape left,
TGeoShape right,
TGeoMatrix lmat = 0,
TGeoMatrix rmat = 0 
)

Definition at line 1008 of file TGeoBoolNode.cxx.

References TObject::Fatal(), TGeoBoolNode::fLeft, TGeoBoolNode::fRight, TGeoShape::GetName(), kFALSE, TGeoShape::kGeoHalfSpace, kTRUE, and TGeoShape::TestShapeBit().

TGeoIntersection::~TGeoIntersection (  )  [virtual]

Definition at line 1018 of file TGeoBoolNode.cxx.

TGeoIntersection::TGeoIntersection (  ) 

TGeoIntersection::TGeoIntersection ( const char *  expr1,
const char *  expr2 
)

TGeoIntersection::TGeoIntersection ( TGeoShape left,
TGeoShape right,
TGeoMatrix lmat = 0,
TGeoMatrix rmat = 0 
)

virtual TGeoIntersection::~TGeoIntersection (  )  [virtual]


Member Function Documentation

void TGeoIntersection::ComputeBBox ( Double_t dx,
Double_t dy,
Double_t dz,
Double_t origin 
) [virtual]

Implements TGeoBoolNode.

Definition at line 1025 of file TGeoBoolNode.cxx.

References TGeoShape::Big(), TGeoBoolNode::fLeft, TGeoBoolNode::fLeftMat, TGeoBoolNode::fRight, TGeoBoolNode::fRightMat, TGeoShape::GetName(), i, kFALSE, TGeoShape::kGeoHalfSpace, kTRUE, TGeoMatrix::LocalToMaster(), sort(), TMath::Sort(), TGeoShape::TestShapeBit(), and TObject::Warning().

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

Implements TGeoBoolNode.

Definition at line 1125 of file TGeoBoolNode.cxx.

References TGeoShape::ComputeNormal(), TGeoShape::Contains(), Contains(), E, TGeoBoolNode::fLeft, TGeoBoolNode::fLeftMat, TGeoBoolNode::fRight, TGeoBoolNode::fRightMat, TGeoBoolNode::fSelected, local, TGeoMatrix::LocalToMasterVect(), TGeoMatrix::MasterToLocal(), and TGeoMatrix::MasterToLocalVect().

Bool_t TGeoIntersection::Contains ( Double_t point  )  const [virtual]

Implements TGeoBoolNode.

Definition at line 1173 of file TGeoBoolNode.cxx.

References TGeoShape::Contains(), TGeoBoolNode::fLeft, TGeoBoolNode::fLeftMat, TGeoBoolNode::fRight, TGeoBoolNode::fRightMat, kFALSE, local, and TGeoMatrix::MasterToLocal().

Referenced by ComputeNormal().

Int_t TGeoIntersection::DistanceToPrimitive ( Int_t  px,
Int_t  py 
) [virtual]

Implements TGeoBoolNode.

Definition at line 1186 of file TGeoBoolNode.cxx.

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

Implements TGeoBoolNode.

Definition at line 1193 of file TGeoBoolNode.cxx.

References TGeoShape::Big(), TGeoShape::DistFromInside(), TGeoBoolNode::fLeft, TGeoBoolNode::fLeftMat, TGeoBoolNode::fRight, TGeoBoolNode::fRightMat, kTRUE, local, TGeoMatrix::MasterToLocal(), TGeoMatrix::MasterToLocalVect(), Safety(), and TGeoBoolNode::SetSelected().

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

Implements TGeoBoolNode.

Definition at line 1223 of file TGeoBoolNode.cxx.

References TGeoShape::Big(), TGeoShape::Contains(), TGeoShape::DistFromOutside(), TGeoBoolNode::fLeft, TGeoBoolNode::fLeftMat, TGeoBoolNode::fRight, TGeoBoolNode::fRightMat, i, kFALSE, kTRUE, TGeoMatrix::MasterToLocal(), TGeoMatrix::MasterToLocalVect(), Safety(), TGeoBoolNode::SetSelected(), tol, and TGeoShape::Tolerance().

virtual EGeoBoolType TGeoIntersection::GetBooleanOperator (  )  const [inline, virtual]

Implements TGeoBoolNode.

Definition at line 153 of file TGeoBoolNode.h.

References TGeoBoolNode::kGeoIntersection.

Int_t TGeoIntersection::GetNpoints (  )  [virtual]

Implements TGeoBoolNode.

Definition at line 1293 of file TGeoBoolNode.cxx.

References TMath::Abs(), TGeoShape::Contains(), TGeoBoolNode::fLeft, TGeoBoolNode::fLeftMat, TGeoBoolNode::fNpoints, TGeoBoolNode::fPoints, TGeoBoolNode::fRight, TGeoBoolNode::fRightMat, TGeoShape::GetNmeshVertices(), i, TGeoMatrix::LocalToMaster(), TGeoMatrix::MasterToLocal(), points, TGeoShape::SetPoints(), and TGeoShape::Tolerance().

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

Implements TGeoBoolNode.

Definition at line 1329 of file TGeoBoolNode.cxx.

References TGeoShape::Contains(), TGeoBoolNode::fLeft, TGeoBoolNode::fLeftMat, TGeoBoolNode::fRight, TGeoBoolNode::fRightMat, TGeoMatrix::MasterToLocal(), TMath::Max(), TMath::Min(), and TGeoShape::Safety().

Referenced by DistFromInside(), and DistFromOutside().

void TGeoIntersection::SavePrimitive ( ostream &  out,
Option_t option = "" 
) [virtual]

Reimplemented from TGeoBoolNode.

Definition at line 1348 of file TGeoBoolNode.cxx.

References TGeoBoolNode::fLeft, TGeoBoolNode::fLeftMat, TGeoBoolNode::fRight, TGeoBoolNode::fRightMat, TGeoMatrix::GetPointerName(), TGeoShape::GetPointerName(), TGeoMatrix::IsIdentity(), and TGeoBoolNode::SavePrimitive().

void TGeoIntersection::Sizeof3D (  )  const [virtual]

Reimplemented from TGeoBoolNode.

Definition at line 1362 of file TGeoBoolNode.cxx.

References TGeoBoolNode::Sizeof3D().

virtual void TGeoIntersection::Paint ( Option_t option  )  [virtual]

Reimplemented from TGeoBoolNode.

virtual void TGeoIntersection::ComputeBBox ( Double_t dx,
Double_t dy,
Double_t dz,
Double_t origin 
) [virtual]

Implements TGeoBoolNode.

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

Implements TGeoBoolNode.

virtual Bool_t TGeoIntersection::Contains ( Double_t point  )  const [virtual]

Implements TGeoBoolNode.

virtual Int_t TGeoIntersection::DistanceToPrimitive ( Int_t  px,
Int_t  py 
) [virtual]

Implements TGeoBoolNode.

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

Implements TGeoBoolNode.

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

Implements TGeoBoolNode.

virtual EGeoBoolType TGeoIntersection::GetBooleanOperator (  )  const [inline, virtual]

Implements TGeoBoolNode.

Definition at line 153 of file TGeoBoolNode.h.

References TGeoBoolNode::kGeoIntersection.

virtual Int_t TGeoIntersection::GetNpoints (  )  [virtual]

Implements TGeoBoolNode.

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

Implements TGeoBoolNode.

virtual void TGeoIntersection::SavePrimitive ( ostream &  out,
Option_t option = "" 
) [virtual]

Reimplemented from TGeoBoolNode.

virtual void TGeoIntersection::Sizeof3D (  )  const [virtual]

Reimplemented from TGeoBoolNode.

virtual void TGeoIntersection::Paint ( Option_t option  )  [virtual]

Reimplemented from TGeoBoolNode.


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