TPGON


class description - source file - inheritance tree

class TPGON : public TPCON


    protected:
virtual void FillTableOfCoSin(Double_t phi, Double_t angstep, Int_t n) public:
TPGON TPGON() TPGON TPGON(const char* name, const char* title, const char* material, Float_t phi1, Float_t dphi1, Int_t npdv, Int_t nz) TPGON TPGON(const TPGON&) virtual void ~TPGON() static TClass* Class() virtual TClass* IsA() const 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)
 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&)


Author: Nenad Buncic 29/09/95
Last update: root/g3d:$Name: $:$Id: TPGON.cxx,v 1.1.1.1 2000/05/16 17:00:43 rdm Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *


ROOT page - Class index - 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.