ROOT logo
// @(#)root/g3d:$Id: TPGON.h 20882 2007-11-19 11:31:26Z rdm $
// Author: Nenad Buncic   29/09/95

/*************************************************************************
 * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers.               *
 * All rights reserved.                                                  *
 *                                                                       *
 * For the licensing terms see $ROOTSYS/LICENSE.                         *
 * For the list of contributors see $ROOTSYS/README/CREDITS.             *
 *************************************************************************/

#ifndef ROOT_TPGON
#define ROOT_TPGON


////////////////////////////////////////////////////////////////////////////
//                                                                        //
// TPGON                                                                  //
//                                                                        //
// PGON is a polygone. It has at least 10 parameters, the lower phi limit,//
// the range in phi, the number of straight sides (of equal length)       //
// between those phi limits, the number (at least two) of z planes where  //
// the radius is changing for each z boundary and the z coordinate, the   //
// minimum radius and the maximum radius.                                 //
//                                                                        //
////////////////////////////////////////////////////////////////////////////

#ifndef ROOT_TPCON
#include "TPCON.h"
#endif

class TPGON : public TPCON {
protected:
   virtual void    FillTableOfCoSin(Double_t phi, Double_t angstep,Int_t n) const; // Fill the table of cosin

public:
   TPGON();
   TPGON(const char *name, const char *title, const char *material, Float_t phi1, Float_t dphi1,
         Int_t npdv, Int_t nz);
   virtual ~TPGON();
   ClassDef(TPGON,1)  //PGON shape
};

#endif
 TPGON.h:1
 TPGON.h:2
 TPGON.h:3
 TPGON.h:4
 TPGON.h:5
 TPGON.h:6
 TPGON.h:7
 TPGON.h:8
 TPGON.h:9
 TPGON.h:10
 TPGON.h:11
 TPGON.h:12
 TPGON.h:13
 TPGON.h:14
 TPGON.h:15
 TPGON.h:16
 TPGON.h:17
 TPGON.h:18
 TPGON.h:19
 TPGON.h:20
 TPGON.h:21
 TPGON.h:22
 TPGON.h:23
 TPGON.h:24
 TPGON.h:25
 TPGON.h:26
 TPGON.h:27
 TPGON.h:28
 TPGON.h:29
 TPGON.h:30
 TPGON.h:31
 TPGON.h:32
 TPGON.h:33
 TPGON.h:34
 TPGON.h:35
 TPGON.h:36
 TPGON.h:37
 TPGON.h:38
 TPGON.h:39
 TPGON.h:40
 TPGON.h:41
 TPGON.h:42
 TPGON.h:43
 TPGON.h:44