library: libGraf3d #include "TCONE.h"

# TCONE

class description - source file - inheritance tree (.pdf)

## class TCONE : public TTUBE

| Inheritance Chart:
`TObject`
| <- | `TNamed`
`TAttLine`
`TAttFill`
`TAtt3D`
| <- | `TShape`
| <- | `TTUBE`
| <- | `TCONE` |

        protected:

          virtual void SetPoints(Double_t* points) const

        public:

                          TCONE()
                          TCONE(const char* name, const char* title, const char* material, Float_t dz, Float_t rmin1, Float_t rmax1, Float_t rmin2, Float_t rmax2)
                          TCONE(const char* name, const char* title, const char* material, Float_t dz, Float_t rmax1, Float_t rmax2 = 0)
                          TCONE(const TCONE&)
                  virtual ~TCONE()
           static TClass* Class()
                  Float_t GetRmax2() const
                  Float_t GetRmin2() const
          virtual TClass* IsA() const
                   TCONE& operator=(const TCONE&)
             virtual void ShowMembers(TMemberInspector& insp, char* parent)
             virtual void Streamer(TBuffer& b)
                     void StreamerNVirtual(TBuffer& b)

### Data Members

        protected:

          Float_t fRmin2  inside radius at the high z limit
          Float_t fRmax2  outside radius at the high z limit

## Class Description

     CONE is a conical tube. It has 8 parameters:

         - name       name of the shape
         - title      shape's title
         - material  (see TMaterial)
         - dz         half-length in z
         - rmin1      inside radius at -DZ in z
         - rmax1      outside radius at -DZ in z
         - rmin2      inside radius at +DZ in z
         - rmax2      outside radius at +DZ in z

TCONE()

     CONE shape default constructor

TCONE(const char *name, const char *title, const char *material, Float_t dz, Float_t rmin1, Float_t rmax1, Float_t rmin2, Float_t rmax2) : TTUBE(name, title,material,rmin1,rmax1,dz)

     CONE shape normal constructor

TCONE(const char *name, const char *title, const char *material, Float_t dz, Float_t rmax1 , Float_t rmax2) : TTUBE(name, title,material,0,rmax1,dz)

     CONE shape "simplified" constructor

~TCONE()

     CONE shape default destructor

void SetPoints(Double_t *points) const

     Create CONE points

### Inline Functions

                Float_t GetRmin2() const
                Float_t GetRmax2() const
                TClass* Class()
                TClass* IsA() const
                   void ShowMembers(TMemberInspector& insp, char* parent)
                   void Streamer(TBuffer& b)
                   void StreamerNVirtual(TBuffer& b)
                  TCONE TCONE(const TCONE&)
                 TCONE& operator=(const TCONE&)

Author: Nenad Buncic 18/09/95
Last update: root/g3d:$Name: $:$Id: TCONE.cxx,v 1.4 2005/03/09 18:19:26 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *