library: libGraf3d
#include "TPGON.h"

TPGON


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

class TPGON : public TPCON

Inheritance Chart:
TObject
<-
TNamed
TAttLine
TAttFill
TAtt3D
<-
TShape
<-
TPCON
<-
TPGON

    protected:
virtual void FillTableOfCoSin(Double_t phi, Double_t angstep, Int_t n) const public:
TPGON() TPGON(const char* name, const char* title, const char* material, Float_t phi1, Float_t dphi1, Int_t npdv, Int_t nz) TPGON(const TPGON&) virtual ~TPGON() static TClass* Class() virtual TClass* IsA() const TPGON& operator=(const TPGON&) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members




Class Description

 

 PGON is a polygon. It has the following parameters:

     - name       name of the shape
     - title      shape's title
     - material  (see TMaterial)
     - phi1       the azimuthal angle &phi at which the volume begins (angles
                  are counted counterclockwise)
     - dphi1      opening angle of the volume, which extends from phi1 to
                  phi1+dphi
     - npdv       number of sides of the cross section between the given
                  phi limits
     - nz         number of planes perpendicular to the z axis where
                  the dimension of the section is given -- this number
                  should be at least 2
     - rmin       array of dimension nz with minimum radius at a given plane
     - rmax       array of dimension nz with maximum radius at a given plane
     - z          array of dimension nz with z position of given plane

TPGON ()
*-*-*-*-*-*-*-*-*-*-*-*-*PGON shape default constructor*-*-*-*-*-*-*-*-*-*-*-*
*-*                      ==============================

TPGON (const char *name, const char *title, const char *material, Float_t phi1, Float_t dphi1, Int_t npdv, Int_t nz) : TPCON (name, title,material, phi1, dphi1, nz)
*-*-*-*-*-*-*-*-*-*-*-*-*PGON shape normal constructor*-*-*-*-*-*-*-*-*-*-*-*-*
*-*                      =============================
*-*  Parameters of the nz positions must be entered via TPCON::DefineSection.

~TPGON ()
*-*-*-*-*-*-*-*-*-*-*-*-*PGON shape default destructor*-*-*-*-*-*-*-*-*-*-*-*-*
*-*                      =============================

void FillTableOfCoSin(Double_t phi, Double_t angstep,Int_t n) const
 Fill the table of cos and sin to prepare drawing



Inline Functions


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


Author: Nenad Buncic 29/09/95
Last update: root/g3d:$Name: $:$Id: TPGON.cxx,v 1.2 2005/03/09 18:19:26 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.