ROBAST logo
ROBAST » INCLUDE » AGeoBezierPgon

class AGeoBezierPgon: public TGeoPgon


 AGeoBezierPgon

 Geometry class for Pgon-like volume, but the side surfaces are defined by
 a Bezier curve (http://en.wikipedia.org/wiki/Bˇzier_curve)


Function Members (Methods)

public:
virtual~AGeoBezierPgon()
voidTObject::AbstractMethod(const char* method) const
virtual voidTGeoShape::AfterStreamer()
AGeoBezierPgon()
AGeoBezierPgon(const AGeoBezierPgon&)
AGeoBezierPgon(Double_t phi, Double_t dphi, Int_t nedges, Int_t nz, Double_t r1, Double_t r2, Double_t dz)
AGeoBezierPgon(const char* name, Double_t phi, Double_t dphi, Int_t nedges, Int_t nz, Double_t r1, Double_t r2, Double_t dz)
virtual voidTObject::AppendPad(Option_t* option = "")
static Bool_tTGeoBBox::AreOverlapping(const TGeoBBox* box1, const TGeoMatrix* mat1, const TGeoBBox* box2, const TGeoMatrix* mat2)
virtual voidBezier(Double_t t, Double_t& r, Double_t& z)
static Double_tTGeoShape::Big()
virtual voidTObject::Browse(TBrowser* b)
virtual Double_tTGeoPgon::Capacity() const
ULong_tTObject::CheckedHash()
voidTGeoShape::CheckShape(Int_t testNo, Int_t nsamples = 10000, Option_t* option = "")
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTNamed::Clear(Option_t* option = "")
virtual voidTGeoPgon::ClearThreadData() const
virtual TObject*TNamed::Clone(const char* newname = "") const
virtual Int_tTNamed::Compare(const TObject* obj) const
virtual voidTGeoPgon::ComputeBBox()
static Double_tTGeoShape::ComputeEpsMch()
virtual voidTGeoPgon::ComputeNormal(const Double_t* point, const Double_t* dir, Double_t* norm)
virtual voidTGeoPgon::ComputeNormal_v(const Double_t* points, const Double_t* dirs, Double_t* norms, Int_t vecsize)
virtual Bool_tTGeoPgon::Contains(const Double_t* point) const
virtual voidTGeoPgon::Contains_v(const Double_t* points, Bool_t* inside, Int_t vecsize) const
virtual voidTNamed::Copy(TObject& named) const
virtual Bool_tTGeoBBox::CouldBeCrossed(const Double_t* point, const Double_t* dir) const
virtual voidTGeoPgon::CreateThreadData(Int_t nthreads)
virtual voidTGeoPcon::DefineSection(Int_t snum, Double_t z, Double_t rmin, Double_t rmax)
virtual voidTObject::Delete(Option_t* option = "")MENU
virtual Int_tTGeoPgon::DistancetoPrimitive(Int_t px, Int_t py)
virtual Double_tTGeoPgon::DistFromInside(const Double_t* point, const Double_t* dir, Int_t iact = 1, Double_t step = TGeoShape::Big(), Double_t* safe = 0) const
virtual voidTGeoPgon::DistFromInside_v(const Double_t* points, const Double_t* dirs, Double_t* dists, Int_t vecsize, Double_t* step) const
virtual Double_tTGeoPgon::DistFromOutside(const Double_t* point, const Double_t* dir, Int_t iact = 1, Double_t step = TGeoShape::Big(), Double_t* safe = 0) const
virtual voidTGeoPgon::DistFromOutside_v(const Double_t* points, const Double_t* dirs, Double_t* dists, Int_t vecsize, Double_t* step) const
static Double_tTGeoShape::DistToPhiMin(const Double_t* point, const Double_t* dir, Double_t s1, Double_t c1, Double_t s2, Double_t c2, Double_t sm, Double_t cm, Bool_t in = kTRUE)
Double_tTGeoPcon::DistToSegZ(const Double_t* point, const Double_t* dir, Int_t& iz) const
virtual TGeoVolume*TGeoPgon::Divide(TGeoVolume* voldiv, const char* divname, Int_t iaxis, Int_t ndiv, Double_t start, Double_t step)
Double_t&TGeoPcon::Dphi()
virtual voidTGeoShape::Draw(Option_t* option = "")MENU
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidTObject::Dump() constMENU
static Double_tTGeoShape::EpsMch()
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTGeoShape::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
virtual voidTNamed::FillBuffer(char*& buffer)
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
virtual const char*TGeoPcon::GetAxisName(Int_t iaxis) const
virtual Double_tTGeoPcon::GetAxisRange(Int_t iaxis, Double_t& xlo, Double_t& xhi) const
virtual voidTGeoPgon::GetBoundingCylinder(Double_t* param) const
virtual const TBuffer3D&TGeoPgon::GetBuffer3D(Int_t reqSections, Bool_t localFrame) const
virtual Int_tTGeoPgon::GetByteCount() const
Double_tTGeoPcon::GetDphi() const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual Double_tTGeoBBox::GetDX() const
virtual Double_tTGeoBBox::GetDY() const
virtual Double_tTGeoBBox::GetDZ() const
virtual Double_tTGeoBBox::GetFacetArea(Int_t index = 0) const
virtual Int_tTGeoBBox::GetFittingBox(const TGeoBBox* parambox, TGeoMatrix* mat, Double_t& dx, Double_t& dy, Double_t& dz) const
virtual const char*TObject::GetIconName() const
Int_tTGeoShape::GetId() const
virtual TGeoShape*TGeoPgon::GetMakeRuntimeShape(TGeoShape*, TGeoMatrix*) const
virtual voidTGeoPgon::GetMeshNumbers(Int_t& nvert, Int_t& nsegs, Int_t& npols) const
virtual const char*TGeoShape::GetName() const
Int_tTGeoPgon::GetNedges() const
virtual Int_tTGeoPgon::GetNmeshVertices() const
virtual Int_tTGeoPgon::GetNsegments() const
Int_tTGeoPcon::GetNz() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
virtual const Double_t*TGeoBBox::GetOrigin() const
Double_tTGeoPcon::GetPhi1() const
const char*TGeoShape::GetPointerName() const
virtual Bool_tTGeoBBox::GetPointsOnFacet(Int_t index, Int_t npoints, Double_t* array) const
virtual Bool_tTGeoPgon::GetPointsOnSegments(Int_t npoints, Double_t* array) const
Double_t*TGeoPcon::GetRmax() const
Double_tTGeoPcon::GetRmax(Int_t ipl) const
Double_t*TGeoPcon::GetRmin() const
Double_tTGeoPcon::GetRmin(Int_t ipl) const
TGeoPgon::ThreadData_t&TGeoPgon::GetThreadData() const
virtual const char*TNamed::GetTitle() const
static TGeoMatrix*TGeoShape::GetTransform()
virtual UInt_tTObject::GetUniqueID() const
Double_t*TGeoPcon::GetZ() const
Double_tTGeoPcon::GetZ(Int_t ipl) const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTNamed::Hash() const
Bool_tTObject::HasInconsistentHash() const
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
virtual voidTObject::Inspect() constMENU
virtual voidTGeoPgon::InspectShape() const
voidTObject::InvertBit(UInt_t f)
voidTGeoShape::InvertShapeBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTGeoShape::IsAssembly() const
static Bool_tTGeoShape::IsCloseToPhi(Double_t epsil, const Double_t* point, Double_t c1, Double_t s1, Double_t c2, Double_t s2)
virtual Bool_tTGeoShape::IsComposite() const
static Bool_tTGeoShape::IsCrossingSemiplane(const Double_t* point, const Double_t* dir, Double_t cphi, Double_t sphi, Double_t& snext, Double_t& rxy)
virtual Bool_tTGeoPcon::IsCylType() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
static Bool_tTGeoShape::IsInPhiRange(const Double_t* point, Double_t phi1, Double_t phi2)
virtual Bool_tTGeoBBox::IsNullBox() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTGeoShape::IsReflected() const
Bool_tTGeoShape::IsRunTimeShape() const
static Bool_tTGeoShape::IsSameWithinTolerance(Double_t a, Double_t b)
static Bool_tTGeoShape::IsSegCrossing(Double_t x1, Double_t y1, Double_t x2, Double_t y2, Double_t x3, Double_t y3, Double_t x4, Double_t y4)
virtual Bool_tTNamed::IsSortable() const
Bool_tTGeoShape::IsValid() const
virtual Bool_tTGeoBBox::IsValidBox() const
virtual Bool_tTGeoShape::IsVecGeom() const
Bool_tTObject::IsZombie() const
virtual voidTNamed::ls(Option_t* option = "") const
virtual TBuffer3D*TGeoPgon::MakeBuffer3D() const
voidTObject::MayNotUse(const char* method) const
static voidTGeoShape::NormalPhi(const Double_t* point, const Double_t* dir, Double_t* norm, Double_t c1, Double_t s1, Double_t c2, Double_t s2)
virtual Bool_tTObject::Notify()
voidTObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const
voidTObject::operator delete(void* ptr)
voidTObject::operator delete(void* ptr, void* vp)
voidTObject::operator delete[](void* ptr)
voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
AGeoBezierPgon&operator=(const AGeoBezierPgon&)
virtual voidTGeoShape::Paint(Option_t* option = "")
Double_t&TGeoPcon::Phi1()
virtual voidTObject::Pop()
virtual voidTNamed::Print(Option_t* option = "") const
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
voidTObject::ResetBit(UInt_t f)
voidTGeoShape::ResetShapeBit(UInt_t f)
Double_t&TGeoPcon::Rmax(Int_t ipl)
Double_t&TGeoPcon::Rmin(Int_t ipl)
virtual Double_tTGeoPgon::Safety(const Double_t* point, Bool_t in = kTRUE) const
virtual voidTGeoPgon::Safety_v(const Double_t* points, const Bool_t* inside, Double_t* safe, Int_t vecsize) const
static Double_tTGeoShape::SafetyPhi(const Double_t* point, Bool_t in, Double_t phi1, Double_t phi2)
static Double_tTGeoShape::SafetySeg(Double_t r, Double_t z, Double_t r1, Double_t z1, Double_t r2, Double_t z2, Bool_t outer)
Double_tTGeoPgon::SafetyToSegment(const Double_t* point, Int_t ipl, Int_t iphi, Bool_t in, Double_t safphi, Double_t safmin = TGeoShape::Big()) const
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTGeoPgon::SavePrimitive(ostream& out, Option_t* option = "")
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
voidTGeoBBox::SetBoxDimensions(Double_t dx, Double_t dy, Double_t dz, Double_t* origin = 0)
voidTGeoBBox::SetBoxPoints(Double_t* points) const
virtual voidSetControlPoints(Double_t r1, Double_t z1)
virtual voidSetControlPoints(Double_t r1, Double_t z1, Double_t r2, Double_t z2)
virtual voidTGeoPgon::SetDimensions(Double_t* param)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
voidTGeoShape::SetId(Int_t id)
virtual voidTNamed::SetName(const char* name)MENU
virtual voidTNamed::SetNameTitle(const char* name, const char* title)
voidTGeoPgon::SetNedges(Int_t ne)
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidTGeoPgon::SetPoints(Double_t* points) const
virtual voidTGeoPgon::SetPoints(Float_t* points) const
voidTGeoShape::SetRuntime(Bool_t flag = kTRUE)
virtual voidSetSections()
virtual voidTGeoPgon::SetSegsAndPols(TBuffer3D& buff) const
voidTGeoShape::SetShapeBit(UInt_t f)
voidTGeoShape::SetShapeBit(UInt_t f, Bool_t set)
virtual voidTNamed::SetTitle(const char* title = "")MENU
static voidTGeoShape::SetTransform(TGeoMatrix* matrix)
virtual voidTObject::SetUniqueID(UInt_t uid)
Int_tTGeoShape::ShapeDistancetoPrimitive(Int_t numpoints, Int_t px, Int_t py) const
virtual voidShowMembers(TMemberInspector& insp) const
virtual Int_tTNamed::Sizeof() const
virtual voidTGeoPgon::Sizeof3D() const
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
Bool_tTGeoShape::TestShapeBit(UInt_t f) const
Int_tTGeoShape::TestShapeBits(UInt_t f) const
static Double_tTGeoShape::Tolerance()
virtual voidTObject::UseCurrentStyle()
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const
Double_t&TGeoPcon::Z(Int_t ipl)
protected:
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
virtual voidTGeoBBox::FillBuffer3D(TBuffer3D& buffer, Int_t reqSections, Bool_t localFrame) const
Int_tTGeoShape::GetBasicColor() const
Int_tTGeoPgon::GetPhiCrossList(const Double_t* point, const Double_t* dir, Int_t istart, Double_t* sphi, Int_t* iphi, Double_t stepmax = TGeoShape::Big()) const
Bool_tTGeoPgon::IsCrossingSlice(const Double_t* point, const Double_t* dir, Int_t iphi, Double_t sstart, Int_t& ipl, Double_t& snext, Double_t stepmax) const
voidTGeoPgon::LocatePhi(const Double_t* point, Int_t& ipsec) const
voidTObject::MakeZombie()
Double_tTGeoPgon::Rpg(Double_t z, Int_t ipl, Bool_t inner, Double_t& a, Double_t& b) const
Double_tTGeoPgon::Rproj(Double_t z, const Double_t* point, const Double_t* dir, Double_t cphi, Double_t sphi, Double_t& a, Double_t& b) const
voidTGeoShape::SetOnBoundary(Bool_t)
Bool_tTGeoPgon::SliceCrossing(const Double_t* point, const Double_t* dir, Int_t nphi, Int_t* iphi, Double_t* sphi, Double_t& snext, Double_t stepmax) const
Bool_tTGeoPgon::SliceCrossingIn(const Double_t* point, const Double_t* dir, Int_t ipl, Int_t nphi, Int_t* iphi, Double_t* sphi, Double_t& snext, Double_t stepmax) const
Bool_tTGeoPgon::SliceCrossingInZ(const Double_t* point, const Double_t* dir, Int_t nphi, Int_t* iphi, Double_t* sphi, Double_t& snext, Double_t stepmax) const
Bool_tTGeoPgon::SliceCrossingZ(const Double_t* point, const Double_t* dir, Int_t nphi, Int_t* iphi, Double_t* sphi, Double_t& snext, Double_t stepmax) const
voidTGeoShape::TransformPoints(Double_t* points, UInt_t NbPoints) const
private:
virtual Bool_tCheckTObjectHashConsistency() const

Data Members

public:
static TObject::(anonymous)TObject::kBitMask
static TGeoShape::EShapeTypeTGeoShape::kBitMask32
static TObject::EStatusBitsTObject::kCanDelete
static TObject::EStatusBitsTObject::kCannotPick
static TGeoShape::EShapeTypeTGeoShape::kGeoArb8
static TGeoShape::EShapeTypeTGeoShape::kGeoBad
static TGeoShape::EShapeTypeTGeoShape::kGeoBox
static TGeoShape::EShapeTypeTGeoShape::kGeoClosedShape
static TGeoShape::EShapeTypeTGeoShape::kGeoComb
static TGeoShape::EShapeTypeTGeoShape::kGeoCone
static TGeoShape::EShapeTypeTGeoShape::kGeoConeSeg
static TGeoShape::EShapeTypeTGeoShape::kGeoCtub
static TGeoShape::EShapeTypeTGeoShape::kGeoEltu
static TGeoShape::EShapeTypeTGeoShape::kGeoHalfSpace
static TGeoShape::EShapeTypeTGeoShape::kGeoHype
static TGeoShape::EShapeTypeTGeoShape::kGeoInvalidShape
static TGeoShape::EShapeTypeTGeoShape::kGeoNoShape
static TGeoShape::EShapeTypeTGeoShape::kGeoPara
static TGeoShape::EShapeTypeTGeoShape::kGeoParaboloid
static TGeoShape::EShapeTypeTGeoShape::kGeoPcon
static TGeoShape::EShapeTypeTGeoShape::kGeoPgon
static TGeoShape::EShapeTypeTGeoShape::kGeoPhiSeg
static TGeoShape::EShapeTypeTGeoShape::kGeoRSeg
static TGeoShape::EShapeTypeTGeoShape::kGeoRunTimeShape
static TGeoShape::EShapeTypeTGeoShape::kGeoSavePrimitive
static TGeoShape::EShapeTypeTGeoShape::kGeoSph
static TGeoShape::EShapeTypeTGeoShape::kGeoThetaSeg
static TGeoShape::EShapeTypeTGeoShape::kGeoTorus
static TGeoShape::EShapeTypeTGeoShape::kGeoTrap
static TGeoShape::EShapeTypeTGeoShape::kGeoTrd1
static TGeoShape::EShapeTypeTGeoShape::kGeoTrd2
static TGeoShape::EShapeTypeTGeoShape::kGeoTube
static TGeoShape::EShapeTypeTGeoShape::kGeoTubeSeg
static TGeoShape::EShapeTypeTGeoShape::kGeoVisX
static TGeoShape::EShapeTypeTGeoShape::kGeoVisY
static TGeoShape::EShapeTypeTGeoShape::kGeoVisZ
static TGeoShape::EShapeTypeTGeoShape::kGeoXtru
static TObject::EStatusBitsTObject::kHasUUID
static TObject::(anonymous)TObject::kInconsistent
static TObject::EStatusBitsTObject::kInvalidObject
static TObject::(anonymous)TObject::kIsOnHeap
static TObject::EStatusBitsTObject::kIsReferenced
static TObject::EStatusBitsTObject::kMustCleanup
static TObject::EStatusBitsTObject::kNoContextMenu
static TObject::(anonymous)TObject::kNotDeleted
static TObject::EDeprecatedStatusBitsTObject::kObjInCanvas
static TObject::(anonymous)TObject::kOverwrite
static TObject::(anonymous)TObject::kSingleKey
static TObject::(anonymous)TObject::kWriteDelete
static TObject::(anonymous)TObject::kZombie
protected:
Double_tTGeoPcon::fC1! Cosine of phi1
Double_tTGeoPcon::fC2! Cosine of phi1+dphi
Double_tTGeoPcon::fCdphi! Cosine of dphi
Double_tTGeoPcon::fCm! Cosine of (phi1+phi2)/2
Double_tTGeoBBox::fDXX half-length
Double_tTGeoBBox::fDYY half-length
Double_tTGeoBBox::fDZZ half-length
Double_tTGeoPcon::fDphiphi range
Bool_tTGeoPcon::fFullPhi! Full phi range flag
Double_tfLengthfDZ will be fLength/2
mutexTGeoPgon::fMutex! Mutex for thread data
TStringTNamed::fNameobject identifier
Int_tfNcontrolNumber of control points (0, 1, or 2)
Int_tTGeoPgon::fNedgesnumber of edges (at least one)
Int_tTGeoPcon::fNznumber of z planes (at least two)
Double_tTGeoBBox::fOrigin[3]box origin
TVector2fP1Relative coordinates of the control point 1
TVector2fP2Relative coordinates of the control point 2
Double_tTGeoPcon::fPhi1lower phi limit (converted to [0,2*pi)
Double_tfR1Half of the upper aperture
Double_tfR2Half of the lower aperture
Double_t*TGeoPcon::fRmax[fNz] pointer to array of outer radii
Double_t*TGeoPcon::fRmin[fNz] pointer to array of inner radii
Double_tTGeoPcon::fS1! Sine of phi1
Double_tTGeoPcon::fS2! Sine of phi1+dphi
UInt_tTGeoShape::fShapeBitsshape bits
Int_tTGeoShape::fShapeIdshape id
Double_tTGeoPcon::fSm! Sine of (phi1+phi2)/2
vector<TGeoPgon::ThreadData_t*>TGeoPgon::fThreadData! Navigation data per thread
Int_tTGeoPgon::fThreadSize! Size for the navigation data array
TStringTNamed::fTitleobject title
Double_t*TGeoPcon::fZ[fNz] pointer to array of Z planes positions

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

AGeoBezierPgon()
 Default constructor
AGeoBezierPgon(Double_t phi, Double_t dphi, Int_t nedges, Int_t nz, Double_t r1, Double_t r2, Double_t dz)
AGeoBezierPgon(const char* name, Double_t phi, Double_t dphi, Int_t nedges, Int_t nz, Double_t r1, Double_t r2, Double_t dz)
~AGeoBezierPgon()
 destructor
void Bezier(Double_t t, Double_t& r, Double_t& z)
void SetControlPoints(Double_t r1, Double_t z1)
 Set the relative coordinates of control point 1
 (r1, z1) must be given in relative coordinates against P0 and P2
 For example, when (r1, z1) = (0.6, 0.7), the coordinates of P1 is
 (R, Z) = (R2 + 0.6*(R1 - R2), -DZ + 0.7*(+DZ - (-DZ)))
 The Bezier curve becomes quadratic

 Z
 ^
 |<--R1-->P2 (R1, +DZ)
|
 |       /  P1
|
 +-----P0---------> R
 |<-R2-> (R2, -DZ)
void SetControlPoints(Double_t r1, Double_t z1, Double_t r2, Double_t z2)
 Set the relative coordinates of control points 1 and 2
 The Bezier curve becomes cubic
void SetSections()
AGeoBezierPgon()