library: libGeom #include "TGeoTube.h" |
TGeoCtub
class description - header file - source file - inheritance tree (.pdf)
public:
TGeoCtub()
TGeoCtub(Double_t rmin, Double_t rmax, Double_t dz, Double_t phi1, Double_t phi2, Double_t lx, Double_t ly, Double_t lz, Double_t tx, Double_t ty, Double_t tz)
TGeoCtub(const char* name, Double_t rmin, Double_t rmax, Double_t dz, Double_t phi1, Double_t phi2, Double_t lx, Double_t ly, Double_t lz, Double_t tx, Double_t ty, Double_t tz)
TGeoCtub(Double_t* params)
TGeoCtub(const TGeoCtub&)
virtual ~TGeoCtub()
virtual Double_t Capacity() const
static TClass* Class()
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 TGeoVolume* Divide(TGeoVolume* voldiv, const char* divname, Int_t iaxis, Int_t ndiv, Double_t start, Double_t step)
virtual Double_t GetAxisRange(Int_t iaxis, Double_t& xlo, Double_t& xhi) const
virtual const TBuffer3D& GetBuffer3D(Int_t reqSections, Bool_t localFrame) const
virtual Int_t GetByteCount() const
virtual TGeoShape* GetMakeRuntimeShape(TGeoShape* mother, TGeoMatrix* mat) const
const Double_t* GetNhigh() const
const Double_t* GetNlow() const
virtual Int_t GetNmeshVertices() const
Double_t GetZcoord(Double_t xc, Double_t yc, Double_t zc) const
virtual void InspectShape() const
virtual TClass* IsA() const
TGeoCtub& operator=(const TGeoCtub&)
virtual Double_t Safety(Double_t* point, Bool_t in = kTRUE) const
virtual void SavePrimitive(ostream& out, Option_t* option = "")
void SetCtubDimensions(Double_t rmin, Double_t rmax, Double_t dz, Double_t phi1, Double_t phi2, Double_t lx, Double_t ly, Double_t lz, Double_t tx, Double_t ty, Double_t tz)
virtual void SetDimensions(Double_t* param)
virtual void SetPoints(Double_t* points) const
virtual void SetPoints(Float_t* points) const
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
protected:
Double_t fNlow[3] normal to lower cut plane
Double_t fNhigh[3] normal to highet cut plane
_____________________________________________________________________________
TGeoTube - cylindrical tube class. It takes 3 parameters :
inner radius, outer radius and half-length dz.
_____________________________________________________________________________
_____________________________________________________________________________
TGeoTubeSeg - a phi segment of a tube. Has 5 parameters :
- the same 3 as a tube;
- first phi limit (in degrees)
- second phi limit
_____________________________________________________________________________
_____________________________________________________________________________
TGeoCtub - a tube segment cut with 2 planes. Has 11 parameters :
- the same 5 as a tube segment;
- x, y, z components of the normal to the -dZ cut plane in
point (0, 0, -dZ);
- x, y, z components of the normal to the +dZ cut plane in
point (0, 0, dZ);
_____________________________________________________________________________
TGeoCtub(Double_t rmin, Double_t rmax, Double_t dz, Double_t phi1, Double_t phi2, Double_t lx, Double_t ly, Double_t lz, Double_t tx, Double_t ty, Double_t tz)
constructor
TGeoCtub(const char *name, Double_t rmin, Double_t rmax, Double_t dz, Double_t phi1, Double_t phi2, Double_t lx, Double_t ly, Double_t lz, Double_t tx, Double_t ty, Double_t tz)
constructor
void ComputeBBox()
compute minimum bounding box of the ctub
Double_t Safety(Double_t *point, Bool_t in)
computes the closest distance from given point to this shape, according
to option. The matching point on the shape is stored in spoint.
void SetCtubDimensions(Double_t rmin, Double_t rmax, Double_t dz, Double_t phi1, Double_t phi2, Double_t lx, Double_t ly, Double_t lz, Double_t tx, Double_t ty, Double_t tz)
set dimensions of a cut tube
Author: Andrei Gheata 24/10/01
Last update: root/geom:$Name: $:$Id: TGeoTube.cxx,v 1.68 2006/07/03 16:10:44 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
ROOT page - Class index - Class Hierarchy - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.