TGeoUnion Class Reference

#include <TGeoBoolNode.h>

Inheritance diagram for TGeoUnion:

TGeoBoolNode TGeoBoolNode TObject TObject TObject TObject List of all members.

Public Member Functions

 TGeoUnion ()
 TGeoUnion (const char *expr1, const char *expr2)
 TGeoUnion (TGeoShape *left, TGeoShape *right, TGeoMatrix *lmat=0, TGeoMatrix *rmat=0)
virtual ~TGeoUnion ()
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)
 TGeoUnion ()
 TGeoUnion (const char *expr1, const char *expr2)
 TGeoUnion (TGeoShape *left, TGeoShape *right, TGeoMatrix *lmat=0, TGeoMatrix *rmat=0)
virtual ~TGeoUnion ()
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 96 of file TGeoBoolNode.h.


Constructor & Destructor Documentation

TGeoUnion::TGeoUnion (  ) 

Definition at line 300 of file TGeoBoolNode.cxx.

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

Definition at line 306 of file TGeoBoolNode.cxx.

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

Definition at line 313 of file TGeoBoolNode.cxx.

References TObject::Fatal(), TGeoShape::GetName(), TGeoShape::kGeoHalfSpace, and TGeoShape::TestShapeBit().

TGeoUnion::~TGeoUnion (  )  [virtual]

Definition at line 323 of file TGeoBoolNode.cxx.

TGeoUnion::TGeoUnion (  ) 

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

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

virtual TGeoUnion::~TGeoUnion (  )  [virtual]


Member Function Documentation

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

Implements TGeoBoolNode.

Definition at line 330 of file TGeoBoolNode.cxx.

References TGeoShape::Big(), TGeoShape::ComputeBBox(), TGeoBoolNode::fLeft, TGeoBoolNode::fLeftMat, TGeoBoolNode::fRight, TGeoBoolNode::fRightMat, i, TGeoMatrix::LocalToMaster(), xmax, xmin, ymax, and ymin.

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

Implements TGeoBoolNode.

Definition at line 388 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 TGeoUnion::Contains ( Double_t point  )  const [virtual]

Implements TGeoBoolNode.

Definition at line 370 of file TGeoBoolNode.cxx.

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

Referenced by ComputeNormal().

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

Implements TGeoBoolNode.

Definition at line 438 of file TGeoBoolNode.cxx.

Double_t TGeoUnion::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 445 of file TGeoBoolNode.cxx.

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

Double_t TGeoUnion::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 557 of file TGeoBoolNode.cxx.

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

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

Implements TGeoBoolNode.

Definition at line 115 of file TGeoBoolNode.h.

References TGeoBoolNode::kGeoUnion.

Int_t TGeoUnion::GetNpoints (  )  [virtual]

Implements TGeoBoolNode.

Definition at line 587 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 TGeoUnion::Safety ( Double_t point,
Bool_t  in = kTRUE 
) const [virtual]

Implements TGeoBoolNode.

Definition at line 625 of file TGeoBoolNode.cxx.

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

Referenced by DistFromInside(), and DistFromOutside().

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

Reimplemented from TGeoBoolNode.

Definition at line 644 of file TGeoBoolNode.cxx.

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

void TGeoUnion::Sizeof3D (  )  const [virtual]

Reimplemented from TGeoBoolNode.

Definition at line 658 of file TGeoBoolNode.cxx.

References TGeoBoolNode::Sizeof3D().

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

Reimplemented from TGeoBoolNode.

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

Implements TGeoBoolNode.

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

Implements TGeoBoolNode.

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

Implements TGeoBoolNode.

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

Implements TGeoBoolNode.

virtual Double_t TGeoUnion::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 TGeoUnion::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 TGeoUnion::GetBooleanOperator (  )  const [inline, virtual]

Implements TGeoBoolNode.

Definition at line 115 of file TGeoBoolNode.h.

References TGeoBoolNode::kGeoUnion.

virtual Int_t TGeoUnion::GetNpoints (  )  [virtual]

Implements TGeoBoolNode.

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

Implements TGeoBoolNode.

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

Reimplemented from TGeoBoolNode.

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

Reimplemented from TGeoBoolNode.

virtual void TGeoUnion::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:39:09 2011 for ROOT_528-00b_version by  doxygen 1.5.1