TGeoPgon Class Reference

#include <TGeoPgon.h>

Inheritance diagram for TGeoPgon:

TGeoPcon TGeoPcon TGeoBBox TGeoBBox TGeoBBox TGeoBBox TGeoShape TGeoShape TGeoShape TGeoShape TGeoShape TGeoShape TGeoShape TGeoShape List of all members.

Public Member Functions

 TGeoPgon ()
 TGeoPgon (Double_t phi, Double_t dphi, Int_t nedges, Int_t nz)
 TGeoPgon (const char *name, Double_t phi, Double_t dphi, Int_t nedges, Int_t nz)
 TGeoPgon (Double_t *params)
virtual ~TGeoPgon ()
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
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 TGeoVolumeDivide (TGeoVolume *voldiv, const char *divname, Int_t iaxis, Int_t ndiv, Double_t start, Double_t step)
virtual void GetBoundingCylinder (Double_t *param) const
virtual const TBuffer3DGetBuffer3D (Int_t reqSections, Bool_t localFrame) const
virtual Int_t GetByteCount () const
virtual TGeoShapeGetMakeRuntimeShape (TGeoShape *, TGeoMatrix *) const
virtual void GetMeshNumbers (Int_t &nvert, Int_t &nsegs, Int_t &npols) const
Int_t GetNedges () const
virtual Int_t GetNmeshVertices () const
virtual Int_t GetNsegments () const
virtual Bool_t GetPointsOnSegments (Int_t npoints, Double_t *array) const
virtual void InspectShape () const
virtual TBuffer3DMakeBuffer3D () const
virtual Double_t Safety (Double_t *point, Bool_t in=kTRUE) const
Double_t SafetyToSegment (Double_t *point, Int_t ipl, Int_t iphi, Bool_t in, Double_t safphi, Double_t safmin=TGeoShape::Big()) const
virtual void SavePrimitive (ostream &out, Option_t *option="")
virtual void SetDimensions (Double_t *param)
void SetNedges (Int_t ne)
virtual void SetPoints (Double_t *points) const
virtual void SetPoints (Float_t *points) const
virtual void SetSegsAndPols (TBuffer3D &buff) const
virtual void Sizeof3D () const
 TGeoPgon ()
 TGeoPgon (Double_t phi, Double_t dphi, Int_t nedges, Int_t nz)
 TGeoPgon (const char *name, Double_t phi, Double_t dphi, Int_t nedges, Int_t nz)
 TGeoPgon (Double_t *params)
virtual ~TGeoPgon ()
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
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 TGeoVolumeDivide (TGeoVolume *voldiv, const char *divname, Int_t iaxis, Int_t ndiv, Double_t start, Double_t step)
virtual void GetBoundingCylinder (Double_t *param) const
virtual const TBuffer3DGetBuffer3D (Int_t reqSections, Bool_t localFrame) const
virtual Int_t GetByteCount () const
virtual TGeoShapeGetMakeRuntimeShape (TGeoShape *, TGeoMatrix *) const
virtual void GetMeshNumbers (Int_t &nvert, Int_t &nsegs, Int_t &npols) const
Int_t GetNedges () const
virtual Int_t GetNmeshVertices () const
virtual Int_t GetNsegments () const
virtual Bool_t GetPointsOnSegments (Int_t npoints, Double_t *array) const
virtual void InspectShape () const
virtual TBuffer3DMakeBuffer3D () const
virtual Double_t Safety (Double_t *point, Bool_t in=kTRUE) const
Double_t SafetyToSegment (Double_t *point, Int_t ipl, Int_t iphi, Bool_t in, Double_t safphi, Double_t safmin=TGeoShape::Big()) const
virtual void SavePrimitive (ostream &out, Option_t *option="")
virtual void SetDimensions (Double_t *param)
void SetNedges (Int_t ne)
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

Int_t GetPhiCrossList (Double_t *point, Double_t *dir, Int_t istart, Double_t *sphi, Int_t *iphi, Double_t stepmax=TGeoShape::Big()) const
Bool_t IsCrossingSlice (Double_t *point, Double_t *dir, Int_t iphi, Double_t sstart, Int_t &ipl, Double_t &snext, Double_t stepmax) const
void LocatePhi (Double_t *point, Int_t &ipsec) const
Double_t Rpg (Double_t z, Int_t ipl, Bool_t inner, Double_t &a, Double_t &b) const
Double_t Rproj (Double_t z, Double_t *point, Double_t *dir, Double_t cphi, Double_t sphi, Double_t &a, Double_t &b) const
Bool_t SliceCrossing (Double_t *point, Double_t *dir, Int_t nphi, Int_t *iphi, Double_t *sphi, Double_t &snext, Double_t stepmax) const
Bool_t SliceCrossingIn (Double_t *point, Double_t *dir, Int_t ipl, Int_t nphi, Int_t *iphi, Double_t *sphi, Double_t &snext, Double_t stepmax) const
Bool_t SliceCrossingZ (Double_t *point, Double_t *dir, Int_t nphi, Int_t *iphi, Double_t *sphi, Double_t &snext, Double_t stepmax) const
Bool_t SliceCrossingInZ (Double_t *point, Double_t *dir, Int_t nphi, Int_t *iphi, Double_t *sphi, Double_t &snext, Double_t stepmax) const
Int_t GetPhiCrossList (Double_t *point, Double_t *dir, Int_t istart, Double_t *sphi, Int_t *iphi, Double_t stepmax=TGeoShape::Big()) const
Bool_t IsCrossingSlice (Double_t *point, Double_t *dir, Int_t iphi, Double_t sstart, Int_t &ipl, Double_t &snext, Double_t stepmax) const
void LocatePhi (Double_t *point, Int_t &ipsec) const
Double_t Rpg (Double_t z, Int_t ipl, Bool_t inner, Double_t &a, Double_t &b) const
Double_t Rproj (Double_t z, Double_t *point, Double_t *dir, Double_t cphi, Double_t sphi, Double_t &a, Double_t &b) const
Bool_t SliceCrossing (Double_t *point, Double_t *dir, Int_t nphi, Int_t *iphi, Double_t *sphi, Double_t &snext, Double_t stepmax) const
Bool_t SliceCrossingIn (Double_t *point, Double_t *dir, Int_t ipl, Int_t nphi, Int_t *iphi, Double_t *sphi, Double_t &snext, Double_t stepmax) const
Bool_t SliceCrossingZ (Double_t *point, Double_t *dir, Int_t nphi, Int_t *iphi, Double_t *sphi, Double_t &snext, Double_t stepmax) const
Bool_t SliceCrossingInZ (Double_t *point, Double_t *dir, Int_t nphi, Int_t *iphi, Double_t *sphi, Double_t &snext, Double_t stepmax) const

Protected Attributes

Int_t fNedges

Detailed Description

Definition at line 32 of file TGeoPgon.h.


Constructor & Destructor Documentation

TGeoPgon::TGeoPgon (  ) 

Referenced by Divide().

TGeoPgon::TGeoPgon ( Double_t  phi,
Double_t  dphi,
Int_t  nedges,
Int_t  nz 
)

Definition at line 58 of file TGeoPgon.cxx.

References fNedges, TGeoShape::kGeoPgon, and TGeoShape::SetShapeBit().

TGeoPgon::TGeoPgon ( const char *  name,
Double_t  phi,
Double_t  dphi,
Int_t  nedges,
Int_t  nz 
)

Definition at line 67 of file TGeoPgon.cxx.

References fNedges, TGeoShape::kGeoPgon, and TGeoShape::SetShapeBit().

TGeoPgon::TGeoPgon ( Double_t params  ) 

Definition at line 76 of file TGeoPgon.cxx.

References ComputeBBox(), TGeoShape::kGeoPgon, SetDimensions(), and TGeoShape::SetShapeBit().

TGeoPgon::~TGeoPgon (  )  [virtual]

Definition at line 95 of file TGeoPgon.cxx.

TGeoPgon::TGeoPgon (  ) 

TGeoPgon::TGeoPgon ( Double_t  phi,
Double_t  dphi,
Int_t  nedges,
Int_t  nz 
)

TGeoPgon::TGeoPgon ( const char *  name,
Double_t  phi,
Double_t  dphi,
Int_t  nedges,
Int_t  nz 
)

TGeoPgon::TGeoPgon ( Double_t params  ) 

virtual TGeoPgon::~TGeoPgon (  )  [virtual]


Member Function Documentation

Int_t TGeoPgon::GetPhiCrossList ( Double_t point,
Double_t dir,
Int_t  istart,
Double_t sphi,
Int_t iphi,
Double_t  stepmax = TGeoShape::Big() 
) const [protected]

Definition at line 432 of file TGeoPgon.cxx.

References TMath::Abs(), TMath::ATan2(), TMath::Cos(), TMath::DegToRad(), dir(), E, TGeoPcon::fDphi, fNedges, TGeoPcon::fPhi1, TGeoShape::IsCrossingSemiplane(), TGeoShape::IsSameWithinTolerance(), kFALSE, kTRUE, phi, TMath::RadToDeg(), TMath::Sign(), TMath::Sin(), and TMath::Sqrt().

Referenced by DistFromInside(), and DistFromOutside().

Bool_t TGeoPgon::IsCrossingSlice ( Double_t point,
Double_t dir,
Int_t  iphi,
Double_t  sstart,
Int_t ipl,
Double_t snext,
Double_t  stepmax 
) const [protected]

Definition at line 872 of file TGeoPgon.cxx.

References TGeoShape::Big(), TMath::Cos(), TMath::DegToRad(), TGeoPcon::fDphi, fNedges, TGeoPcon::fNz, TGeoPcon::fPhi1, TGeoPcon::fRmax, TGeoPcon::fRmin, TGeoPcon::fZ, i, TGeoShape::IsSameWithinTolerance(), kFALSE, kTRUE, TMath::Min(), phi, Rpg(), Rproj(), TMath::Sign(), and TMath::Sin().

Referenced by SliceCrossing().

void TGeoPgon::LocatePhi ( Double_t point,
Int_t ipsec 
) const [protected]

Definition at line 422 of file TGeoPgon.cxx.

References TMath::ATan2(), TGeoPcon::fDphi, fNedges, TGeoPcon::fPhi1, phi, and TMath::RadToDeg().

Referenced by DistFromInside(), DistFromOutside(), and Safety().

Double_t TGeoPgon::Rpg ( Double_t  z,
Int_t  ipl,
Bool_t  inner,
Double_t a,
Double_t b 
) const [protected]

Definition at line 1492 of file TGeoPgon.cxx.

References TObject::Fatal(), TGeoPcon::fNz, TGeoPcon::fRmax, TGeoPcon::fRmin, TGeoPcon::fZ, TMath::Max(), TMath::Min(), r1, r2, and TGeoShape::Tolerance().

Referenced by DistFromOutside(), IsCrossingSlice(), SliceCrossing(), SliceCrossingIn(), SliceCrossingInZ(), and SliceCrossingZ().

Double_t TGeoPgon::Rproj ( Double_t  z,
Double_t point,
Double_t dir,
Double_t  cphi,
Double_t  sphi,
Double_t a,
Double_t b 
) const [protected]

Definition at line 1526 of file TGeoPgon.cxx.

References TMath::Abs(), TGeoShape::Big(), dir(), and E.

Referenced by IsCrossingSlice(), and SliceCrossingIn().

Bool_t TGeoPgon::SliceCrossing ( Double_t point,
Double_t dir,
Int_t  nphi,
Int_t iphi,
Double_t sphi,
Double_t snext,
Double_t  stepmax 
) const [protected]

Definition at line 784 of file TGeoPgon.cxx.

References TMath::Abs(), TMath::BinarySearch(), TMath::Cos(), TMath::DegToRad(), TGeoPcon::fDphi, fNedges, TGeoPcon::fNz, TGeoPcon::fPhi1, TGeoPcon::fZ, i, IsCrossingSlice(), TGeoShape::IsSameWithinTolerance(), kFALSE, kTRUE, TMath::Min(), phi, Rpg(), TMath::Sin(), and TGeoShape::Tolerance().

Referenced by DistFromOutside().

Bool_t TGeoPgon::SliceCrossingIn ( Double_t point,
Double_t dir,
Int_t  ipl,
Int_t  nphi,
Int_t iphi,
Double_t sphi,
Double_t snext,
Double_t  stepmax 
) const [protected]

Definition at line 655 of file TGeoPgon.cxx.

References TMath::Abs(), TGeoShape::Big(), TMath::Cos(), TMath::DegToRad(), distr(), TGeoPcon::fDphi, fNedges, TGeoPcon::fNz, TGeoPcon::fPhi1, TGeoPcon::fRmax, TGeoPcon::fRmin, TGeoPcon::fZ, i, kFALSE, kTRUE, TMath::Max(), TMath::Min(), phi, Rpg(), Rproj(), TMath::Sin(), and TGeoShape::Tolerance().

Referenced by DistFromInside().

Bool_t TGeoPgon::SliceCrossingZ ( Double_t point,
Double_t dir,
Int_t  nphi,
Int_t iphi,
Double_t sphi,
Double_t snext,
Double_t  stepmax 
) const [protected]

Definition at line 578 of file TGeoPgon.cxx.

References TMath::Abs(), TGeoShape::Big(), TMath::BinarySearch(), TMath::Cos(), TMath::DegToRad(), ROOT::Math::gv_detail::dist(), TGeoPcon::fDphi, fNedges, TGeoPcon::fNz, TGeoPcon::fPhi1, TGeoPcon::fRmax, TGeoPcon::fRmin, TGeoPcon::fZ, i, TGeoShape::IsSameWithinTolerance(), kFALSE, kTRUE, TMath::Max(), TMath::Min(), phi, Rpg(), TMath::Sin(), and TGeoShape::Tolerance().

Referenced by DistFromOutside().

Bool_t TGeoPgon::SliceCrossingInZ ( Double_t point,
Double_t dir,
Int_t  nphi,
Int_t iphi,
Double_t sphi,
Double_t snext,
Double_t  stepmax 
) const [protected]

Definition at line 507 of file TGeoPgon.cxx.

References TMath::Abs(), TGeoShape::Big(), TMath::BinarySearch(), TMath::Cos(), TMath::DegToRad(), ROOT::Math::gv_detail::dist(), TGeoPcon::fDphi, fNedges, TGeoPcon::fNz, TGeoPcon::fPhi1, TGeoPcon::fRmax, TGeoPcon::fRmin, TGeoPcon::fZ, i, TGeoShape::IsSameWithinTolerance(), kFALSE, kTRUE, TMath::Max(), TMath::Min(), phi, Rpg(), TMath::Sin(), and TGeoShape::Tolerance().

Referenced by DistFromInside().

Double_t TGeoPgon::Capacity (  )  const [virtual]

Reimplemented from TGeoPcon.

Definition at line 101 of file TGeoPgon.cxx.

References TMath::DegToRad(), TGeoPcon::fDphi, fNedges, TGeoPcon::fNz, TGeoPcon::fRmax, TGeoPcon::fRmin, TGeoPcon::fZ, TMath::Tan(), and TGeoShape::Tolerance().

void TGeoPgon::ComputeBBox (  )  [virtual]

Reimplemented from TGeoPcon.

Definition at line 123 of file TGeoPgon.cxx.

References TMath::Abs(), TMath::Cos(), TMath::DegToRad(), TObject::Fatal(), TGeoPcon::fDphi, TGeoBBox::fDX, TGeoBBox::fDY, TGeoBBox::fDZ, fNedges, TGeoPcon::fNz, TGeoBBox::fOrigin, TGeoPcon::fPhi1, TGeoPcon::fRmax, TGeoPcon::fRmin, TGeoPcon::fZ, TGeoManager::GetListOfShapes(), TGeoShape::GetName(), gGeoManager, TObjArray::IndexOf(), InspectShape(), TGeoShape::kGeoClosedShape, TMath::LocMax(), TMath::LocMin(), TMath::Max(), TMath::Min(), TGeoShape::SetShapeBit(), TMath::Sin(), TGeoShape::Tolerance(), xmax, xmin, ymax, and ymin.

Referenced by TGeoPgonEditor::DoApply(), and TGeoPgon().

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

Reimplemented from TGeoPcon.

Definition at line 190 of file TGeoPgon.cxx.

References TMath::Abs(), TMath::ATan2(), TGeoShape::Big(), TMath::BinarySearch(), c1, TMath::Cos(), TMath::DegToRad(), E, TGeoPcon::fDphi, fNedges, TGeoPcon::fNz, TGeoPcon::fPhi1, TGeoPcon::fRmax, TGeoPcon::fRmin, TGeoPcon::fZ, TGeoShape::IsCloseToPhi(), TGeoShape::IsSameWithinTolerance(), kFALSE, kTRUE, TMath::Max(), TMath::Min(), TGeoShape::NormalPhi(), phi, TMath::RadToDeg(), s1, s2, safe, TMath::Sign(), TMath::Sin(), and TMath::Sqrt().

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

Reimplemented from TGeoPcon.

Definition at line 282 of file TGeoPgon.cxx.

References TMath::ATan2(), TMath::BinarySearch(), TMath::Cos(), TMath::DegToRad(), E, TGeoPcon::fDphi, fNedges, TGeoPcon::fNz, TGeoPcon::fPhi1, TGeoPcon::fRmax, TGeoPcon::fRmin, TGeoPcon::fZ, kFALSE, kTRUE, TMath::Max(), TMath::Min(), phi, TMath::RadToDeg(), and TMath::Sin().

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

Reimplemented from TGeoPcon.

Definition at line 328 of file TGeoPgon.cxx.

References TMath::Abs(), TGeoShape::Big(), TMath::BinarySearch(), TMath::Cos(), TMath::DegToRad(), TGeoPcon::fDphi, fNedges, TGeoPcon::fNz, TGeoPcon::fPhi1, TGeoPcon::fRmax, TGeoPcon::fRmin, TGeoPcon::fZ, TGeoManager::GetDblBuffer(), TGeoManager::GetIntBuffer(), GetPhiCrossList(), gGeoManager, TGeoShape::IsSameWithinTolerance(), kTRUE, LocatePhi(), phi, Safety(), TMath::Sin(), SliceCrossingIn(), SliceCrossingInZ(), and TGeoShape::Tolerance().

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

Reimplemented from TGeoPcon.

Definition at line 970 of file TGeoPgon.cxx.

References TMath::Abs(), TMath::ATan2(), TGeoShape::Big(), TMath::BinarySearch(), TMath::Cos(), TMath::DegToRad(), TGeoBBox::DistFromOutside(), TGeoTube::DistFromOutsideS(), E, TGeoPcon::fDphi, TGeoBBox::fDX, TGeoBBox::fDY, TGeoBBox::fDZ, fNedges, TGeoPcon::fNz, TGeoBBox::fOrigin, TGeoPcon::fPhi1, TGeoPcon::fRmax, TGeoPcon::fRmin, TGeoPcon::fZ, TGeoManager::GetDblBuffer(), TGeoManager::GetIntBuffer(), GetPhiCrossList(), gGeoManager, i, TGeoShape::IsSameWithinTolerance(), kFALSE, kTRUE, LocatePhi(), TMath::LocMax(), TMath::Min(), phi, r2, TMath::RadToDeg(), Rpg(), Safety(), TMath::Sin(), SliceCrossing(), SliceCrossingZ(), and TGeoShape::Tolerance().

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

Reimplemented from TGeoPcon.

Definition at line 1155 of file TGeoPgon.cxx.

References fNedges, TGeoPcon::fNz, n, and TGeoShape::ShapeDistancetoPrimitive().

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

Reimplemented from TGeoPcon.

Definition at line 1164 of file TGeoPgon.cxx.

References TGeoVolume::AddNodeOffset(), TGeoVolumeMulti::AddVolume(), TObjArray::At(), TString::Data(), TGeoPcon::DefineSection(), TObject::Error(), TGeoPcon::fDphi, fNedges, TGeoPcon::fNz, TGeoPcon::fPhi1, TGeoPcon::fRmax, TGeoPcon::fRmin, TGeoPcon::fZ, TGeoVolume::GetMedium(), TGeoVolume::GetNdaughters(), TGeoVolume::GetNodes(), gGeoManager, id, TGeoManager::MakeVolumeMulti(), TGeoPatternFinder::SetDivIndex(), TGeoVolume::SetFinder(), and TGeoPgon().

void TGeoPgon::GetBoundingCylinder ( Double_t param  )  const [virtual]

Reimplemented from TGeoPcon.

Definition at line 1255 of file TGeoPgon.cxx.

References TMath::Cos(), TMath::DegToRad(), TGeoPcon::fDphi, fNedges, TGeoPcon::fNz, TGeoPcon::fPhi1, TGeoPcon::fRmax, TGeoPcon::fRmin, i, and TGeoShape::IsSameWithinTolerance().

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

Reimplemented from TGeoPcon.

Definition at line 1825 of file TGeoPgon.cxx.

References buffer, TGeoBBox::FillBuffer3D(), TGeoPcon::GetDphi(), GetNsegments(), TGeoPcon::GetNz(), TGeoShape::IsSameWithinTolerance(), TBuffer3DTypes::kGeneric, TBuffer3D::kRaw, TBuffer3D::kRawSizes, kTRUE, n, SetPoints(), SetSegsAndPols(), and TGeoShape::TransformPoints().

virtual Int_t TGeoPgon::GetByteCount (  )  const [inline, virtual]

Reimplemented from TGeoPcon.

Definition at line 70 of file TGeoPgon.h.

References TGeoPcon::fNz.

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

Reimplemented from TGeoPcon.

Definition at line 71 of file TGeoPgon.h.

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

Reimplemented from TGeoPcon.

Definition at line 1788 of file TGeoPgon.cxx.

References fNedges, TGeoPcon::GetDphi(), TGeoPcon::GetNz(), TGeoShape::IsSameWithinTolerance(), kTRUE, and n.

Int_t TGeoPgon::GetNedges (  )  const [inline]

Definition at line 73 of file TGeoPgon.h.

References fNedges.

Referenced by TGeoPgonEditor::DoApply().

Int_t TGeoPgon::GetNmeshVertices (  )  const [virtual]

Reimplemented from TGeoPcon.

Definition at line 1800 of file TGeoPgon.cxx.

References fNedges, TGeoPcon::fNz, and n.

virtual Int_t TGeoPgon::GetNsegments (  )  const [inline, virtual]

Reimplemented from TGeoPcon.

Definition at line 75 of file TGeoPgon.h.

References fNedges.

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

virtual Bool_t TGeoPgon::GetPointsOnSegments ( Int_t  npoints,
Double_t array 
) const [inline, virtual]

Reimplemented from TGeoPcon.

Definition at line 76 of file TGeoPgon.h.

References TGeoBBox::GetPointsOnSegments().

void TGeoPgon::InspectShape (  )  const [virtual]

Reimplemented from TGeoPcon.

Definition at line 1279 of file TGeoPgon.cxx.

References fNedges, TGeoShape::GetName(), and TGeoPcon::InspectShape().

Referenced by ComputeBBox().

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

Reimplemented from TGeoPcon.

Definition at line 1288 of file TGeoPgon.cxx.

References TBuffer3D::fPnts, TGeoPcon::GetDphi(), GetNsegments(), TGeoPcon::GetNz(), TGeoShape::IsSameWithinTolerance(), kFALSE, TBuffer3DTypes::kGeneric, kTRUE, n, SetPoints(), and SetSegsAndPols().

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

Reimplemented from TGeoPcon.

Definition at line 1609 of file TGeoPgon.cxx.

References TMath::Abs(), TGeoShape::Big(), TMath::BinarySearch(), E, TGeoPcon::fDphi, TGeoPcon::fNz, TGeoPcon::fPhi1, TGeoPcon::fZ, kFALSE, LocatePhi(), TGeoShape::SafetyPhi(), and SafetyToSegment().

Referenced by DistFromInside(), and DistFromOutside().

Double_t TGeoPgon::SafetyToSegment ( Double_t point,
Int_t  ipl,
Int_t  iphi,
Bool_t  in,
Double_t  safphi,
Double_t  safmin = TGeoShape::Big() 
) const

Definition at line 1542 of file TGeoPgon.cxx.

References TMath::Abs(), TGeoShape::Big(), TMath::Cos(), TMath::DegToRad(), E, TGeoPcon::fDphi, fNedges, TGeoPcon::fNz, TGeoPcon::fPhi1, TGeoPcon::fRmax, TGeoPcon::fRmin, TGeoPcon::fZ, i, TMath::LocMax(), TMath::LocMin(), TMath::Max(), TMath::Min(), safe, TMath::Sin(), and TMath::Sqrt().

Referenced by Safety().

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

Reimplemented from TGeoPcon.

Definition at line 1684 of file TGeoPgon.cxx.

References TObject::ClassName(), TGeoPcon::fDphi, fNedges, TGeoPcon::fNz, TGeoPcon::fPhi1, TGeoPcon::fRmax, TGeoPcon::fRmin, TGeoPcon::fZ, TGeoShape::GetName(), TGeoShape::GetPointerName(), i, TGeoShape::kGeoSavePrimitive, TObject::SetBit(), and TObject::TestBit().

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

Reimplemented from TGeoPcon.

Definition at line 1705 of file TGeoPgon.cxx.

References TGeoPcon::DefineSection(), TObject::Error(), TGeoPcon::fDphi, fNedges, TGeoPcon::fNz, TGeoPcon::fPhi1, TGeoPcon::fRmax, TGeoPcon::fRmin, TGeoPcon::fZ, TGeoShape::GetName(), and i.

Referenced by TGeoPgonEditor::DoApply(), and TGeoPgon().

void TGeoPgon::SetNedges ( Int_t  ne  )  [inline]

Definition at line 83 of file TGeoPgon.h.

References fNedges.

Referenced by TGeoPgonEditor::DoApply().

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

Reimplemented from TGeoPcon.

Definition at line 1730 of file TGeoPgon.cxx.

References TMath::Cos(), TMath::DegToRad(), TGeoPcon::fDphi, fNedges, TGeoPcon::fNz, TGeoPcon::fPhi1, TGeoPcon::fRmax, TGeoPcon::fRmin, TGeoPcon::fZ, i, j, n, phi, and TMath::Sin().

Referenced by GetBuffer3D(), and MakeBuffer3D().

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

Reimplemented from TGeoPcon.

Definition at line 1759 of file TGeoPgon.cxx.

References TMath::Cos(), TMath::DegToRad(), TGeoPcon::fDphi, fNedges, TGeoPcon::fNz, TGeoPcon::fPhi1, TGeoPcon::fRmax, TGeoPcon::fRmin, TGeoPcon::fZ, i, j, n, phi, and TMath::Sin().

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

Reimplemented from TGeoPcon.

Definition at line 1316 of file TGeoPgon.cxx.

References c, TBuffer3D::fPols, TBuffer3D::fSegs, TGeoShape::GetBasicColor(), TGeoPcon::GetDphi(), GetNsegments(), TGeoPcon::GetNz(), i, TGeoShape::IsSameWithinTolerance(), j, k, kFALSE, kTRUE, m, and n.

Referenced by GetBuffer3D(), and MakeBuffer3D().

void TGeoPgon::Sizeof3D (  )  const [virtual]

Reimplemented from TGeoPcon.

Definition at line 1809 of file TGeoPgon.cxx.

Int_t TGeoPgon::GetPhiCrossList ( Double_t point,
Double_t dir,
Int_t  istart,
Double_t sphi,
Int_t iphi,
Double_t  stepmax = TGeoShape::Big() 
) const [protected]

Bool_t TGeoPgon::IsCrossingSlice ( Double_t point,
Double_t dir,
Int_t  iphi,
Double_t  sstart,
Int_t ipl,
Double_t snext,
Double_t  stepmax 
) const [protected]

void TGeoPgon::LocatePhi ( Double_t point,
Int_t ipsec 
) const [protected]

Double_t TGeoPgon::Rpg ( Double_t  z,
Int_t  ipl,
Bool_t  inner,
Double_t a,
Double_t b 
) const [protected]

Double_t TGeoPgon::Rproj ( Double_t  z,
Double_t point,
Double_t dir,
Double_t  cphi,
Double_t  sphi,
Double_t a,
Double_t b 
) const [protected]

Bool_t TGeoPgon::SliceCrossing ( Double_t point,
Double_t dir,
Int_t  nphi,
Int_t iphi,
Double_t sphi,
Double_t snext,
Double_t  stepmax 
) const [protected]

Bool_t TGeoPgon::SliceCrossingIn ( Double_t point,
Double_t dir,
Int_t  ipl,
Int_t  nphi,
Int_t iphi,
Double_t sphi,
Double_t snext,
Double_t  stepmax 
) const [protected]

Bool_t TGeoPgon::SliceCrossingZ ( Double_t point,
Double_t dir,
Int_t  nphi,
Int_t iphi,
Double_t sphi,
Double_t snext,
Double_t  stepmax 
) const [protected]

Bool_t TGeoPgon::SliceCrossingInZ ( Double_t point,
Double_t dir,
Int_t  nphi,
Int_t iphi,
Double_t sphi,
Double_t snext,
Double_t  stepmax 
) const [protected]

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

Reimplemented from TGeoPcon.

virtual void TGeoPgon::ComputeBBox (  )  [virtual]

Reimplemented from TGeoPcon.

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

Reimplemented from TGeoPcon.

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

Reimplemented from TGeoPcon.

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

Reimplemented from TGeoPcon.

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

Reimplemented from TGeoPcon.

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

Reimplemented from TGeoPcon.

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

Reimplemented from TGeoPcon.

virtual void TGeoPgon::GetBoundingCylinder ( Double_t param  )  const [virtual]

Reimplemented from TGeoPcon.

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

Reimplemented from TGeoPcon.

virtual Int_t TGeoPgon::GetByteCount (  )  const [inline, virtual]

Reimplemented from TGeoPcon.

Definition at line 70 of file TGeoPgon.h.

References TGeoPcon::fNz.

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

Reimplemented from TGeoPcon.

Definition at line 71 of file TGeoPgon.h.

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

Reimplemented from TGeoPcon.

Int_t TGeoPgon::GetNedges (  )  const [inline]

Definition at line 73 of file TGeoPgon.h.

References fNedges.

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

Reimplemented from TGeoPcon.

virtual Int_t TGeoPgon::GetNsegments (  )  const [inline, virtual]

Reimplemented from TGeoPcon.

Definition at line 75 of file TGeoPgon.h.

References fNedges.

virtual Bool_t TGeoPgon::GetPointsOnSegments ( Int_t  npoints,
Double_t array 
) const [inline, virtual]

Reimplemented from TGeoPcon.

Definition at line 76 of file TGeoPgon.h.

References TGeoBBox::GetPointsOnSegments().

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

Reimplemented from TGeoPcon.

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

Reimplemented from TGeoPcon.

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

Reimplemented from TGeoPcon.

Double_t TGeoPgon::SafetyToSegment ( Double_t point,
Int_t  ipl,
Int_t  iphi,
Bool_t  in,
Double_t  safphi,
Double_t  safmin = TGeoShape::Big() 
) const

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

Reimplemented from TGeoPcon.

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

Reimplemented from TGeoPcon.

void TGeoPgon::SetNedges ( Int_t  ne  )  [inline]

Definition at line 83 of file TGeoPgon.h.

References fNedges.

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

Reimplemented from TGeoPcon.

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

Reimplemented from TGeoPcon.

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

Reimplemented from TGeoPcon.

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

Reimplemented from TGeoPcon.


Member Data Documentation

Int_t TGeoPgon::fNedges [protected]

Definition at line 36 of file TGeoPgon.h.

Referenced by Capacity(), ComputeBBox(), ComputeNormal(), Contains(), DistancetoPrimitive(), DistFromInside(), DistFromOutside(), Divide(), GetBoundingCylinder(), GetMeshNumbers(), GetNedges(), GetNmeshVertices(), GetNsegments(), GetPhiCrossList(), InspectShape(), IsCrossingSlice(), LocatePhi(), SafetyToSegment(), SavePrimitive(), SetDimensions(), SetNedges(), SetPoints(), SliceCrossing(), SliceCrossingIn(), SliceCrossingInZ(), SliceCrossingZ(), and TGeoPgon().


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