TGeoXtru Class Reference

#include <TGeoXtru.h>

Inheritance diagram for TGeoXtru:

TGeoBBox TGeoBBox TGeoShape TGeoShape TGeoShape TGeoShape TNamed TNamed TNamed TNamed TNamed TNamed TNamed TNamed List of all members.

Public Member Functions

 TGeoXtru ()
 TGeoXtru (Int_t nz)
 TGeoXtru (Double_t *param)
virtual ~TGeoXtru ()
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
Bool_t DefinePolygon (Int_t nvert, const Double_t *xv, const Double_t *yv)
virtual void DefineSection (Int_t snum, Double_t z, Double_t x0=0., Double_t y0=0., Double_t scale=1.)
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 Int_t DistancetoPrimitive (Int_t px, Int_t py)
virtual const TBuffer3DGetBuffer3D (Int_t reqSections, Bool_t localFrame) const
Int_t GetNz () const
Int_t GetNvert () const
Double_t GetX (Int_t i) const
Double_t GetY (Int_t i) const
Double_t GetXOffset (Int_t i) const
Double_t GetYOffset (Int_t i) const
Double_t GetScale (Int_t i) const
Double_tGetZ () const
Double_t GetZ (Int_t ipl) const
virtual TGeoShapeGetMakeRuntimeShape (TGeoShape *, TGeoMatrix *) const
virtual void GetMeshNumbers (Int_t &nvert, Int_t &nsegs, Int_t &npols) const
virtual Int_t GetNmeshVertices () const
virtual void InspectShape () const
virtual TBuffer3DMakeBuffer3D () const
Double_tZ (Int_t ipl)
virtual Double_t Safety (Double_t *point, Bool_t in=kTRUE) const
virtual void SavePrimitive (ostream &out, Option_t *option="")
void SetCurrentZ (Double_t z, Int_t iz)
void SetCurrentVertices (Double_t x0, Double_t y0, Double_t scale)
virtual void SetDimensions (Double_t *param)
virtual void SetPoints (Double_t *points) const
virtual void SetPoints (Float_t *points) const
virtual void SetSegsAndPols (TBuffer3D &buff) const
virtual void Sizeof3D () const
 TGeoXtru ()
 TGeoXtru (Int_t nz)
 TGeoXtru (Double_t *param)
virtual ~TGeoXtru ()
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
Bool_t DefinePolygon (Int_t nvert, const Double_t *xv, const Double_t *yv)
virtual void DefineSection (Int_t snum, Double_t z, Double_t x0=0., Double_t y0=0., Double_t scale=1.)
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 Int_t DistancetoPrimitive (Int_t px, Int_t py)
virtual const TBuffer3DGetBuffer3D (Int_t reqSections, Bool_t localFrame) const
Int_t GetNz () const
Int_t GetNvert () const
Double_t GetX (Int_t i) const
Double_t GetY (Int_t i) const
Double_t GetXOffset (Int_t i) const
Double_t GetYOffset (Int_t i) const
Double_t GetScale (Int_t i) const
Double_tGetZ () const
Double_t GetZ (Int_t ipl) const
virtual TGeoShapeGetMakeRuntimeShape (TGeoShape *, TGeoMatrix *) const
virtual void GetMeshNumbers (Int_t &nvert, Int_t &nsegs, Int_t &npols) const
virtual Int_t GetNmeshVertices () const
virtual void InspectShape () const
virtual TBuffer3DMakeBuffer3D () const
Double_tZ (Int_t ipl)
virtual Double_t Safety (Double_t *point, Bool_t in=kTRUE) const
virtual void SavePrimitive (ostream &out, Option_t *option="")
void SetCurrentZ (Double_t z, Int_t iz)
void SetCurrentVertices (Double_t x0, Double_t y0, Double_t scale)
virtual void SetDimensions (Double_t *param)
virtual void SetPoints (Double_t *points) const
virtual void SetPoints (Float_t *points) const
virtual void SetSegsAndPols (TBuffer3D &buff) const
virtual void Sizeof3D () const

Protected Member Functions

 TGeoXtru (const TGeoXtru &)
TGeoXtruoperator= (const TGeoXtru &)
Double_t DistToPlane (Double_t *point, Double_t *dir, Int_t iz, Int_t ivert, Double_t stepmax, Bool_t in) const
void GetPlaneVertices (Int_t iz, Int_t ivert, Double_t *vert) const
void GetPlaneNormal (const Double_t *vert, Double_t *norm) const
Bool_t IsPointInsidePlane (Double_t *point, Double_t *vert, Double_t *norm) const
Double_t SafetyToSector (Double_t *point, Int_t iz, Double_t safmin)
void SetIz (Int_t iz)
void SetSeg (Int_t iseg)
 TGeoXtru (const TGeoXtru &)
TGeoXtruoperator= (const TGeoXtru &)
Double_t DistToPlane (Double_t *point, Double_t *dir, Int_t iz, Int_t ivert, Double_t stepmax, Bool_t in) const
void GetPlaneVertices (Int_t iz, Int_t ivert, Double_t *vert) const
void GetPlaneNormal (const Double_t *vert, Double_t *norm) const
Bool_t IsPointInsidePlane (Double_t *point, Double_t *vert, Double_t *norm) const
Double_t SafetyToSector (Double_t *point, Int_t iz, Double_t safmin)
void SetIz (Int_t iz)
void SetSeg (Int_t iseg)

Protected Attributes

Int_t fNvert
Int_t fNz
Double_t fZcurrent
TGeoPolygonfPoly
Double_tfX
Double_tfY
Double_tfXc
Double_tfYc
Double_tfZ
Double_tfScale
Double_tfX0
Double_tfY0
Int_t fSeg
Int_t fIz
TGeoPolygonfPoly
Double_tfX
Double_tfY
Double_tfXc
Double_tfYc
Double_tfZ
Double_tfScale
Double_tfX0
Double_tfY0

Detailed Description

Definition at line 31 of file TGeoXtru.h.


Constructor & Destructor Documentation

TGeoXtru::TGeoXtru ( const TGeoXtru  )  [protected]

Definition at line 146 of file TGeoXtru.cxx.

TGeoXtru::TGeoXtru (  ) 

TGeoXtru::TGeoXtru ( Int_t  nz  ) 

Definition at line 85 of file TGeoXtru.cxx.

References TObject::Error(), fIz, fNvert, fNz, fPoly, fScale, fSeg, fX, fX0, fXc, fY, fY0, fYc, fZ, fZcurrent, TGeoShape::GetName(), TGeoShape::kGeoBad, TGeoShape::kGeoXtru, and TGeoShape::SetShapeBit().

TGeoXtru::TGeoXtru ( Double_t param  ) 

Definition at line 112 of file TGeoXtru.cxx.

References fIz, fNvert, fNz, fPoly, fScale, fSeg, fX, fX0, fXc, fY, fY0, fYc, fZ, fZcurrent, TGeoShape::kGeoXtru, SetDimensions(), and TGeoShape::SetShapeBit().

TGeoXtru::~TGeoXtru (  )  [virtual]

Definition at line 191 of file TGeoXtru.cxx.

References fScale, fX, fX0, fXc, fY, fY0, fYc, and fZ.

TGeoXtru::TGeoXtru ( const TGeoXtru  )  [protected]

TGeoXtru::TGeoXtru (  ) 

TGeoXtru::TGeoXtru ( Int_t  nz  ) 

TGeoXtru::TGeoXtru ( Double_t param  ) 

virtual TGeoXtru::~TGeoXtru (  )  [virtual]


Member Function Documentation

TGeoXtru & TGeoXtru::operator= ( const TGeoXtru  )  [protected]

Definition at line 167 of file TGeoXtru.cxx.

References fIz, fNvert, fNz, fPoly, fScale, fSeg, fX, fX0, fXc, fY, fY0, fYc, fZ, fZcurrent, and TNamed::operator=().

Double_t TGeoXtru::DistToPlane ( Double_t point,
Double_t dir,
Int_t  iz,
Int_t  ivert,
Double_t  stepmax,
Bool_t  in 
) const [protected]

Definition at line 313 of file TGeoXtru.cxx.

References TGeoShape::Big(), TGeoPolygon::Contains(), fPoly, fScale, fX0, fY0, fZ, GetPlaneNormal(), GetPlaneVertices(), IsPointInsidePlane(), TGeoShape::IsSameWithinTolerance(), norm(), safe, and xtru().

Referenced by DistFromInside(), and DistFromOutside().

void TGeoXtru::GetPlaneVertices ( Int_t  iz,
Int_t  ivert,
Double_t vert 
) const [protected]

Definition at line 688 of file TGeoXtru.cxx.

References fNvert, fPoly, fScale, fX, fX0, fY, fY0, fZ, TGeoPolygon::IsClockwise(), x, and y.

Referenced by ComputeNormal(), DistToPlane(), and SafetyToSector().

void TGeoXtru::GetPlaneNormal ( const Double_t vert,
Double_t norm 
) const [protected]

Definition at line 664 of file TGeoXtru.cxx.

References RootCsg::cross(), i, TMath::Sqrt(), TGeoShape::Tolerance(), and v1.

Referenced by ComputeNormal(), DistToPlane(), and SafetyToSector().

Bool_t TGeoXtru::IsPointInsidePlane ( Double_t point,
Double_t vert,
Double_t norm 
) const [protected]

Definition at line 742 of file TGeoXtru.cxx.

References RootCsg::cross(), i, j, k, kFALSE, kTRUE, and v1.

Referenced by DistToPlane().

Double_t TGeoXtru::SafetyToSector ( Double_t point,
Int_t  iz,
Double_t  safmin 
) [protected]

Definition at line 868 of file TGeoXtru.cxx.

References TMath::Abs(), TGeoShape::Big(), TGeoPolygon::Contains(), fPoly, fScale, fX0, fY0, fZ, GetPlaneNormal(), GetPlaneVertices(), TGeoShape::IsSameWithinTolerance(), TMath::Max(), TMath::Min(), norm(), safe, TGeoPolygon::Safety(), SetCurrentVertices(), SetCurrentZ(), and TMath::Sqrt().

void TGeoXtru::SetIz ( Int_t  iz  )  [inline, protected]

Definition at line 59 of file TGeoXtru.h.

References fIz.

void TGeoXtru::SetSeg ( Int_t  iseg  )  [inline, protected]

Definition at line 60 of file TGeoXtru.h.

References fSeg.

Double_t TGeoXtru::Capacity (  )  const [virtual]

Reimplemented from TGeoBBox.

Definition at line 205 of file TGeoXtru.cxx.

References TGeoPolygon::Area(), fNz, fPoly, fScale, fZ, TGeoShape::IsSameWithinTolerance(), and xtru().

void TGeoXtru::ComputeBBox (  )  [virtual]

Reimplemented from TGeoBBox.

Definition at line 225 of file TGeoXtru.cxx.

References TGeoShape::Big(), TObject::Error(), TGeoBBox::fDX, TGeoBBox::fDY, TGeoBBox::fDZ, fNvert, fNz, TGeoBBox::fOrigin, fScale, fX, fX0, fXc, fY0, fYc, fZ, TGeoShape::GetName(), i, j, TGeoShape::kGeoBad, SetCurrentVertices(), TGeoShape::SetShapeBit(), xmax, xmin, ymax, and ymin.

Referenced by DefineSection().

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

Reimplemented from TGeoBBox.

Definition at line 257 of file TGeoXtru.cxx.

References fIz, fSeg, GetPlaneNormal(), and GetPlaneVertices().

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

Reimplemented from TGeoBBox.

Definition at line 277 of file TGeoXtru.cxx.

References TMath::Abs(), TMath::BinarySearch(), TGeoPolygon::Contains(), fNz, fPoly, fScale, fX0, fY0, fZ, TGeoShape::IsSameWithinTolerance(), kFALSE, kTRUE, TGeoShape::Tolerance(), and xtru().

Bool_t TGeoXtru::DefinePolygon ( Int_t  nvert,
const Double_t xv,
const Double_t yv 
)

Definition at line 584 of file TGeoXtru.cxx.

References TMath::Abs(), TObject::Error(), TGeoPolygon::FinishPolygon(), fNvert, fPoly, fX, fXc, fY, fYc, TGeoShape::GetName(), i, TGeoPolygon::IsIllegalCheck(), j, kFALSE, TGeoShape::kGeoBad, kTRUE, TGeoShape::SetShapeBit(), TGeoPolygon::SetXY(), and TGeoShape::Tolerance().

void TGeoXtru::DefineSection ( Int_t  snum,
Double_t  z,
Double_t  x0 = 0.,
Double_t  y0 = 0.,
Double_t  scale = 1. 
) [virtual]

Definition at line 631 of file TGeoXtru.cxx.

References ComputeBBox(), fNz, fScale, fX0, fY0, fZ, TGeoShape::GetName(), InspectShape(), TGeoShape::kGeoBad, TGeoShape::TestShapeBit(), and TObject::Warning().

Referenced by SetDimensions().

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

Reimplemented from TGeoBBox.

Definition at line 366 of file TGeoXtru.cxx.

References TGeoShape::Big(), TMath::BinarySearch(), TGeoPolygon::Contains(), ROOT::Math::gv_detail::dist(), DistToPlane(), fNvert, fNz, fPoly, fScale, fX0, fY0, fZ, TGeoPolygon::IsConvex(), TGeoShape::IsSameWithinTolerance(), kFALSE, kTRUE, Safety(), TGeoShape::Tolerance(), and xtru().

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

Reimplemented from TGeoBBox.

Definition at line 477 of file TGeoXtru.cxx.

References TGeoShape::Big(), TMath::BinarySearch(), TGeoBBox::Contains(), TGeoPolygon::Contains(), ROOT::Math::gv_detail::dist(), TGeoBBox::DistFromOutside(), DistToPlane(), E, TGeoBBox::fDX, TGeoBBox::fDY, TGeoBBox::fDZ, fNvert, fNz, TGeoBBox::fOrigin, fPoly, fScale, fX0, fY0, fZ, hit, i, TGeoPolygon::IsConvex(), TGeoShape::IsSameWithinTolerance(), kFALSE, kTRUE, Safety(), and xtru().

Int_t TGeoXtru::DistancetoPrimitive ( Int_t  px,
Int_t  py 
) [virtual]

Reimplemented from TGeoBBox.

Definition at line 306 of file TGeoXtru.cxx.

References fNvert, fNz, and TGeoShape::ShapeDistancetoPrimitive().

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

Reimplemented from TGeoBBox.

Definition at line 1155 of file TGeoXtru.cxx.

References buffer, TGeoBBox::FillBuffer3D(), GetNvert(), GetNz(), TBuffer3DTypes::kGeneric, TBuffer3D::kRaw, TBuffer3D::kRawSizes, SetPoints(), SetSegsAndPols(), and TGeoShape::TransformPoints().

Int_t TGeoXtru::GetNz (  )  const [inline]

Definition at line 83 of file TGeoXtru.h.

References fNz.

Referenced by GetBuffer3D(), GetMeshNumbers(), MakeBuffer3D(), and SetSegsAndPols().

Int_t TGeoXtru::GetNvert (  )  const [inline]

Definition at line 84 of file TGeoXtru.h.

References fNvert.

Referenced by GetBuffer3D(), GetMeshNumbers(), MakeBuffer3D(), and SetSegsAndPols().

Double_t TGeoXtru::GetX ( Int_t  i  )  const [inline]

Definition at line 85 of file TGeoXtru.h.

References fX.

Double_t TGeoXtru::GetY ( Int_t  i  )  const [inline]

Definition at line 86 of file TGeoXtru.h.

References fY.

Double_t TGeoXtru::GetXOffset ( Int_t  i  )  const [inline]

Definition at line 87 of file TGeoXtru.h.

References fX0.

Double_t TGeoXtru::GetYOffset ( Int_t  i  )  const [inline]

Definition at line 88 of file TGeoXtru.h.

References fY0.

Double_t TGeoXtru::GetScale ( Int_t  i  )  const [inline]

Definition at line 89 of file TGeoXtru.h.

References fScale.

Double_t* TGeoXtru::GetZ (  )  const [inline]

Definition at line 90 of file TGeoXtru.h.

References fZ.

Double_t TGeoXtru::GetZ ( Int_t  ipl  )  const

Definition at line 654 of file TGeoXtru.cxx.

References TObject::Error(), fNz, fZ, and TGeoShape::GetName().

virtual TGeoShape* TGeoXtru::GetMakeRuntimeShape ( TGeoShape ,
TGeoMatrix  
) const [inline, virtual]

Reimplemented from TGeoBBox.

Definition at line 92 of file TGeoXtru.h.

void TGeoXtru::GetMeshNumbers ( Int_t nvert,
Int_t nsegs,
Int_t npols 
) const [virtual]

Reimplemented from TGeoBBox.

Definition at line 1111 of file TGeoXtru.cxx.

References GetNvert(), and GetNz().

Int_t TGeoXtru::GetNmeshVertices (  )  const [virtual]

Reimplemented from TGeoBBox.

Definition at line 1122 of file TGeoXtru.cxx.

References fNvert, and fNz.

void TGeoXtru::InspectShape (  )  const [virtual]

Reimplemented from TGeoBBox.

Definition at line 766 of file TGeoXtru.cxx.

References fNvert, fNz, fScale, fX, fX0, fY, fY0, fZ, TGeoShape::GetName(), and TGeoBBox::InspectShape().

Referenced by DefineSection().

TBuffer3D * TGeoXtru::MakeBuffer3D (  )  const [virtual]

Reimplemented from TGeoBBox.

Definition at line 781 of file TGeoXtru.cxx.

References GetNvert(), GetNz(), TBuffer3DTypes::kGeneric, SetPoints(), and SetSegsAndPols().

Double_t& TGeoXtru::Z ( Int_t  ipl  )  [inline]

Definition at line 97 of file TGeoXtru.h.

References fZ.

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

Reimplemented from TGeoBBox.

Definition at line 923 of file TGeoXtru.cxx.

References TGeoShape::Big(), TMath::BinarySearch(), fNz, fZ, i, TMath::Min(), safe, and xtru().

Referenced by DistFromInside(), and DistFromOutside().

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

Reimplemented from TGeoBBox.

Definition at line 967 of file TGeoXtru.cxx.

References TObject::ClassName(), fNvert, fNz, fScale, fX, fX0, fY, fY0, fZ, TGeoShape::GetName(), TGeoShape::GetPointerName(), i, TGeoShape::kGeoSavePrimitive, TObject::SetBit(), and TObject::TestBit().

void TGeoXtru::SetCurrentZ ( Double_t  z,
Int_t  iz 
)

Definition at line 993 of file TGeoXtru.cxx.

References a, b, fScale, fX0, fY0, fZ, SetCurrentVertices(), and x0.

Referenced by SafetyToSector().

void TGeoXtru::SetCurrentVertices ( Double_t  x0,
Double_t  y0,
Double_t  scale 
)

Definition at line 1014 of file TGeoXtru.cxx.

References fNvert, fX, fXc, fY, fYc, and i.

Referenced by ComputeBBox(), SafetyToSector(), and SetCurrentZ().

void TGeoXtru::SetDimensions ( Double_t param  )  [virtual]

Reimplemented from TGeoBBox.

Definition at line 1024 of file TGeoXtru.cxx.

References DefineSection(), TObject::Error(), fNz, fScale, fX0, fY0, fZ, TGeoShape::GetName(), i, TGeoShape::kGeoBad, and TGeoShape::SetShapeBit().

Referenced by TGeoXtru().

void TGeoXtru::SetPoints ( Double_t points  )  const [virtual]

Reimplemented from TGeoBBox.

Definition at line 1057 of file TGeoXtru.cxx.

References fNvert, fNz, fPoly, fScale, fX0, fXc, fY0, fYc, fZ, i, TGeoPolygon::IsClockwise(), j, and xtru().

Referenced by GetBuffer3D(), and MakeBuffer3D().

void TGeoXtru::SetPoints ( Float_t points  )  const [virtual]

Reimplemented from TGeoBBox.

Definition at line 1084 of file TGeoXtru.cxx.

References fNvert, fNz, fPoly, fScale, fX0, fXc, fY0, fYc, fZ, i, TGeoPolygon::IsClockwise(), j, and xtru().

void TGeoXtru::SetSegsAndPols ( TBuffer3D buff  )  const [virtual]

Reimplemented from TGeoBBox.

Definition at line 803 of file TGeoXtru.cxx.

References c, TBuffer3D::fPols, TBuffer3D::fSegs, TGeoShape::GetBasicColor(), GetNvert(), GetNz(), i, j, and k.

Referenced by GetBuffer3D(), and MakeBuffer3D().

void TGeoXtru::Sizeof3D (  )  const [virtual]

Reimplemented from TGeoBBox.

Definition at line 1130 of file TGeoXtru.cxx.

TGeoXtru& TGeoXtru::operator= ( const TGeoXtru  )  [protected]

Double_t TGeoXtru::DistToPlane ( Double_t point,
Double_t dir,
Int_t  iz,
Int_t  ivert,
Double_t  stepmax,
Bool_t  in 
) const [protected]

void TGeoXtru::GetPlaneVertices ( Int_t  iz,
Int_t  ivert,
Double_t vert 
) const [protected]

void TGeoXtru::GetPlaneNormal ( const Double_t vert,
Double_t norm 
) const [protected]

Bool_t TGeoXtru::IsPointInsidePlane ( Double_t point,
Double_t vert,
Double_t norm 
) const [protected]

Double_t TGeoXtru::SafetyToSector ( Double_t point,
Int_t  iz,
Double_t  safmin 
) [protected]

void TGeoXtru::SetIz ( Int_t  iz  )  [inline, protected]

Definition at line 59 of file TGeoXtru.h.

References fIz.

void TGeoXtru::SetSeg ( Int_t  iseg  )  [inline, protected]

Definition at line 60 of file TGeoXtru.h.

References fSeg.

virtual Double_t TGeoXtru::Capacity (  )  const [virtual]

Reimplemented from TGeoBBox.

virtual void TGeoXtru::ComputeBBox (  )  [virtual]

Reimplemented from TGeoBBox.

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

Reimplemented from TGeoBBox.

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

Reimplemented from TGeoBBox.

Bool_t TGeoXtru::DefinePolygon ( Int_t  nvert,
const Double_t xv,
const Double_t yv 
)

virtual void TGeoXtru::DefineSection ( Int_t  snum,
Double_t  z,
Double_t  x0 = 0.,
Double_t  y0 = 0.,
Double_t  scale = 1. 
) [virtual]

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

Reimplemented from TGeoBBox.

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

Reimplemented from TGeoBBox.

virtual Int_t TGeoXtru::DistancetoPrimitive ( Int_t  px,
Int_t  py 
) [virtual]

Reimplemented from TGeoBBox.

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

Reimplemented from TGeoBBox.

Int_t TGeoXtru::GetNz (  )  const [inline]

Definition at line 83 of file TGeoXtru.h.

References fNz.

Int_t TGeoXtru::GetNvert (  )  const [inline]

Definition at line 84 of file TGeoXtru.h.

References fNvert.

Double_t TGeoXtru::GetX ( Int_t  i  )  const [inline]

Definition at line 85 of file TGeoXtru.h.

References fX.

Double_t TGeoXtru::GetY ( Int_t  i  )  const [inline]

Definition at line 86 of file TGeoXtru.h.

References fY.

Double_t TGeoXtru::GetXOffset ( Int_t  i  )  const [inline]

Definition at line 87 of file TGeoXtru.h.

References fX0.

Double_t TGeoXtru::GetYOffset ( Int_t  i  )  const [inline]

Definition at line 88 of file TGeoXtru.h.

References fY0.

Double_t TGeoXtru::GetScale ( Int_t  i  )  const [inline]

Definition at line 89 of file TGeoXtru.h.

References fScale.

Double_t* TGeoXtru::GetZ (  )  const [inline]

Definition at line 90 of file TGeoXtru.h.

References fZ.

Double_t TGeoXtru::GetZ ( Int_t  ipl  )  const

virtual TGeoShape* TGeoXtru::GetMakeRuntimeShape ( TGeoShape ,
TGeoMatrix  
) const [inline, virtual]

Reimplemented from TGeoBBox.

Definition at line 92 of file TGeoXtru.h.

virtual void TGeoXtru::GetMeshNumbers ( Int_t nvert,
Int_t nsegs,
Int_t npols 
) const [virtual]

Reimplemented from TGeoBBox.

virtual Int_t TGeoXtru::GetNmeshVertices (  )  const [virtual]

Reimplemented from TGeoBBox.

virtual void TGeoXtru::InspectShape (  )  const [virtual]

Reimplemented from TGeoBBox.

virtual TBuffer3D* TGeoXtru::MakeBuffer3D (  )  const [virtual]

Reimplemented from TGeoBBox.

Double_t& TGeoXtru::Z ( Int_t  ipl  )  [inline]

Definition at line 97 of file TGeoXtru.h.

References fZ.

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

Reimplemented from TGeoBBox.

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

Reimplemented from TGeoBBox.

void TGeoXtru::SetCurrentZ ( Double_t  z,
Int_t  iz 
)

void TGeoXtru::SetCurrentVertices ( Double_t  x0,
Double_t  y0,
Double_t  scale 
)

virtual void TGeoXtru::SetDimensions ( Double_t param  )  [virtual]

Reimplemented from TGeoBBox.

virtual void TGeoXtru::SetPoints ( Double_t points  )  const [virtual]

Reimplemented from TGeoBBox.

virtual void TGeoXtru::SetPoints ( Float_t points  )  const [virtual]

Reimplemented from TGeoBBox.

virtual void TGeoXtru::SetSegsAndPols ( TBuffer3D buff  )  const [virtual]

Reimplemented from TGeoBBox.

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

Reimplemented from TGeoBBox.


Member Data Documentation

Int_t TGeoXtru::fNvert [protected]

Definition at line 35 of file TGeoXtru.h.

Referenced by ComputeBBox(), DefinePolygon(), DistancetoPrimitive(), DistFromInside(), DistFromOutside(), GetNmeshVertices(), GetNvert(), GetPlaneVertices(), InspectShape(), operator=(), SavePrimitive(), SetCurrentVertices(), SetPoints(), and TGeoXtru().

Int_t TGeoXtru::fNz [protected]

Definition at line 36 of file TGeoXtru.h.

Referenced by Capacity(), ComputeBBox(), Contains(), DefineSection(), DistancetoPrimitive(), DistFromInside(), DistFromOutside(), GetNmeshVertices(), GetNz(), GetZ(), InspectShape(), operator=(), Safety(), SavePrimitive(), SetDimensions(), SetPoints(), and TGeoXtru().

Double_t TGeoXtru::fZcurrent [protected]

Definition at line 37 of file TGeoXtru.h.

Referenced by operator=(), and TGeoXtru().

TGeoPolygon* TGeoXtru::fPoly [protected]

Definition at line 38 of file TGeoXtru.h.

Referenced by Capacity(), Contains(), DefinePolygon(), DistFromInside(), DistFromOutside(), DistToPlane(), GetPlaneVertices(), operator=(), SafetyToSector(), SetPoints(), and TGeoXtru().

Double_t* TGeoXtru::fX [protected]

Definition at line 39 of file TGeoXtru.h.

Referenced by ComputeBBox(), DefinePolygon(), GetPlaneVertices(), GetX(), InspectShape(), operator=(), SavePrimitive(), SetCurrentVertices(), TGeoXtru(), and ~TGeoXtru().

Double_t* TGeoXtru::fY [protected]

Definition at line 40 of file TGeoXtru.h.

Referenced by DefinePolygon(), GetPlaneVertices(), GetY(), InspectShape(), operator=(), SavePrimitive(), SetCurrentVertices(), TGeoXtru(), and ~TGeoXtru().

Double_t* TGeoXtru::fXc [protected]

Definition at line 41 of file TGeoXtru.h.

Referenced by ComputeBBox(), DefinePolygon(), operator=(), SetCurrentVertices(), SetPoints(), TGeoXtru(), and ~TGeoXtru().

Double_t* TGeoXtru::fYc [protected]

Definition at line 42 of file TGeoXtru.h.

Referenced by ComputeBBox(), DefinePolygon(), operator=(), SetCurrentVertices(), SetPoints(), TGeoXtru(), and ~TGeoXtru().

Double_t* TGeoXtru::fZ [protected]

Definition at line 43 of file TGeoXtru.h.

Referenced by Capacity(), ComputeBBox(), Contains(), DefineSection(), DistFromInside(), DistFromOutside(), DistToPlane(), GetPlaneVertices(), GetZ(), InspectShape(), operator=(), Safety(), SafetyToSector(), SavePrimitive(), SetCurrentZ(), SetDimensions(), SetPoints(), TGeoXtru(), Z(), and ~TGeoXtru().

Double_t* TGeoXtru::fScale [protected]

Definition at line 44 of file TGeoXtru.h.

Referenced by Capacity(), ComputeBBox(), Contains(), DefineSection(), DistFromInside(), DistFromOutside(), DistToPlane(), GetPlaneVertices(), GetScale(), InspectShape(), operator=(), SafetyToSector(), SavePrimitive(), SetCurrentZ(), SetDimensions(), SetPoints(), TGeoXtru(), and ~TGeoXtru().

Double_t* TGeoXtru::fX0 [protected]

Definition at line 45 of file TGeoXtru.h.

Referenced by ComputeBBox(), Contains(), DefineSection(), DistFromInside(), DistFromOutside(), DistToPlane(), GetPlaneVertices(), GetXOffset(), InspectShape(), operator=(), SafetyToSector(), SavePrimitive(), SetCurrentZ(), SetDimensions(), SetPoints(), TGeoXtru(), and ~TGeoXtru().

Double_t* TGeoXtru::fY0 [protected]

Definition at line 46 of file TGeoXtru.h.

Referenced by ComputeBBox(), Contains(), DefineSection(), DistFromInside(), DistFromOutside(), DistToPlane(), GetPlaneVertices(), GetYOffset(), InspectShape(), operator=(), SafetyToSector(), SavePrimitive(), SetCurrentZ(), SetDimensions(), SetPoints(), TGeoXtru(), and ~TGeoXtru().

Int_t TGeoXtru::fSeg [protected]

Definition at line 47 of file TGeoXtru.h.

Referenced by ComputeNormal(), operator=(), SetSeg(), and TGeoXtru().

Int_t TGeoXtru::fIz [protected]

Definition at line 48 of file TGeoXtru.h.

Referenced by ComputeNormal(), operator=(), SetIz(), and TGeoXtru().

TGeoPolygon* TGeoXtru::fPoly [protected]

Definition at line 38 of file TGeoXtru.h.

Double_t* TGeoXtru::fX [protected]

Definition at line 39 of file TGeoXtru.h.

Double_t* TGeoXtru::fY [protected]

Definition at line 40 of file TGeoXtru.h.

Double_t* TGeoXtru::fXc [protected]

Definition at line 41 of file TGeoXtru.h.

Double_t* TGeoXtru::fYc [protected]

Definition at line 42 of file TGeoXtru.h.

Double_t* TGeoXtru::fZ [protected]

Definition at line 43 of file TGeoXtru.h.

Double_t* TGeoXtru::fScale [protected]

Definition at line 44 of file TGeoXtru.h.

Double_t* TGeoXtru::fX0 [protected]

Definition at line 45 of file TGeoXtru.h.

Double_t* TGeoXtru::fY0 [protected]

Definition at line 46 of file TGeoXtru.h.


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