TGeoSubtraction Class Reference

#include <TGeoBoolNode.h>

Inheritance diagram for TGeoSubtraction:

TGeoBoolNode TGeoBoolNode TObject TObject TObject TObject List of all members.

Public Member Functions

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


Constructor & Destructor Documentation

TGeoSubtraction::TGeoSubtraction (  ) 

Definition at line 684 of file TGeoBoolNode.cxx.

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

Definition at line 690 of file TGeoBoolNode.cxx.

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

Definition at line 697 of file TGeoBoolNode.cxx.

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

TGeoSubtraction::~TGeoSubtraction (  )  [virtual]

Definition at line 707 of file TGeoBoolNode.cxx.

TGeoSubtraction::TGeoSubtraction (  ) 

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

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

virtual TGeoSubtraction::~TGeoSubtraction (  )  [virtual]


Member Function Documentation

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

Implements TGeoBoolNode.

Definition at line 714 of file TGeoBoolNode.cxx.

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

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

Implements TGeoBoolNode.

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

Implements TGeoBoolNode.

Definition at line 792 of file TGeoBoolNode.cxx.

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

Referenced by ComputeNormal().

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

Implements TGeoBoolNode.

Definition at line 808 of file TGeoBoolNode.cxx.

Double_t TGeoSubtraction::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 815 of file TGeoBoolNode.cxx.

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

Double_t TGeoSubtraction::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 845 of file TGeoBoolNode.cxx.

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

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

Implements TGeoBoolNode.

Definition at line 190 of file TGeoBoolNode.h.

References TGeoBoolNode::kGeoSubtraction.

Int_t TGeoSubtraction::GetNpoints (  )  [virtual]

Implements TGeoBoolNode.

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

Implements TGeoBoolNode.

Definition at line 937 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 TGeoSubtraction::SavePrimitive ( ostream &  out,
Option_t option = "" 
) [virtual]

Reimplemented from TGeoBoolNode.

Definition at line 956 of file TGeoBoolNode.cxx.

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

void TGeoSubtraction::Sizeof3D (  )  const [virtual]

Reimplemented from TGeoBoolNode.

Definition at line 970 of file TGeoBoolNode.cxx.

References TGeoBoolNode::Sizeof3D().

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

Reimplemented from TGeoBoolNode.

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

Implements TGeoBoolNode.

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

Implements TGeoBoolNode.

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

Implements TGeoBoolNode.

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

Implements TGeoBoolNode.

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

Implements TGeoBoolNode.

Definition at line 190 of file TGeoBoolNode.h.

References TGeoBoolNode::kGeoSubtraction.

virtual Int_t TGeoSubtraction::GetNpoints (  )  [virtual]

Implements TGeoBoolNode.

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

Implements TGeoBoolNode.

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

Reimplemented from TGeoBoolNode.

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

Reimplemented from TGeoBoolNode.

virtual void TGeoSubtraction::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:07 2011 for ROOT_528-00b_version by  doxygen 1.5.1