library: libGraf3d #include "TTUBS.h" |
TTUBS
class description - header file - source file - inheritance tree (.pdf)
protected:
virtual void MakeTableOfCoSin() const
virtual void SetPoints(Double_t* points) const
public:
TTUBS()
TTUBS(const char* name, const char* title, const char* material, Float_t rmin, Float_t rmax, Float_t dz, Float_t phi1, Float_t phi2)
TTUBS(const char* name, const char* title, const char* material, Float_t rmax, Float_t dz, Float_t phi1, Float_t phi2)
TTUBS(const TTUBS&)
virtual ~TTUBS()
static TClass* Class()
virtual Int_t DistancetoPrimitive(Int_t px, Int_t py)
virtual const TBuffer3D& GetBuffer3D(Int_t reqSections) const
virtual Float_t GetPhi1() const
virtual Float_t GetPhi2() const
virtual TClass* IsA() const
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Sizeof3D() const
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
protected:
Float_t fPhi1 first phi limit
Float_t fPhi2 second phi limit
______________________________________________________________________________
TUBS is a segment of a tube. It has 8 parameters:
- name name of the shape
- title shape's title
- material (see TMaterial)
- rmin inside radius
- rmax outside radius
- dz half length in z
- phi1 starting angle of the segment
- phi2 ending angle of the segment
NOTE: phi1 should be smaller than phi2. If this is not the case,
the system adds 360 degrees to phi2.
TTUBS()
TUBS shape default constructor
~TTUBS()
TUBS shape default destructor
Int_t DistancetoPrimitive(Int_t px, Int_t py)
Compute distance from point px,py to a TUBE
Compute the closest distance of approach from point px,py to each
computed outline point of the TUBE.
void Sizeof3D()
Return total X3D needed by TNode::ls (when called with option "x")
Author: Nenad Buncic 18/09/95
Last update: root/g3d:$Name: $:$Id: TTUBS.cxx,v 1.9 2005/11/24 17:28:07 couet 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.