library: libGraf3d #include "TTRD1.h"

# TTRD1

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

## class TTRD1 : public TBRIK

| Inheritance Chart:

`TObject`

<-

`TNamed`

`TAttLine`

`TAttFill`

`TAtt3D`

<-

`TShape`

<-

`TBRIK`

<-

`TTRD1`

        protected:

          virtual void SetPoints(Double_t* points) const

        public:

                          TTRD1()
                          TTRD1(const char* name, const char* title, const char* material, Float_t dx1, Float_t dx2, Float_t dy, Float_t dz)
                          TTRD1(const TTRD1&)
                  virtual ~TTRD1()
           static TClass* Class()
          virtual Float_t GetDx2() const
          virtual TClass* IsA() const
                   TTRD1& operator=(const TTRD1&)
             virtual void ShowMembers(TMemberInspector& insp, char* parent)
             virtual void Streamer(TBuffer& b)
                     void StreamerNVirtual(TBuffer& b)

### Data Members

        protected:

          Float_t fDx2  half length in x at the high z surface

## Class Description

     TRD1 is a trapezoid with the x dimension varying along z.
     It has 7 parameters:

         - name       name of the shape
         - title      shape's title
         - material  (see TMaterial)
         - dx1        half-length along x at the z surface positioned at -DZ
         - dx2        half-length along x at the z surface positioned at +DZ
         - dy         half-length along the y-axis
         - dz         half-length along the z-axis

TTRD1()

     TRD1 shape default constructor

TTRD1(const char *name, const char *title, const char *material, Float_t dx1, Float_t dx2, Float_t dy, Float_t dz) : TBRIK(name, title,material,dx1,dy,dz)

     TRD1 shape normal constructor

~TTRD1()

     TRD1 shape default destructor

void SetPoints(Double_t *points) const

     Create TRD1 points

### Inline Functions

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

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