/usr/include/root/TGraphPolar.h is in libroot-graf2d-graf-dev 5.34.30-0ubuntu8.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 | // @(#)root/graf:$Id$
// Author: Sebastian Boser, 02/02/06
/*************************************************************************
* 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_TGraphPolar
#define ROOT_TGraphPolar
#ifndef ROOT_TGraphErrors
#include "TGraphErrors.h"
#endif
#ifndef ROOT_Riosfwd
#include "Riosfwd.h"
#endif
#ifndef ROOT_TAttText
#include "TAttText.h"
#endif
#ifndef ROOT_TAttLine
#include "TAttLine.h"
#endif
#include "TGraphPolargram.h"
//////////////////////////////////////////////////////////////////////////
// //
// TGraphPolar //
// //
// Polar graph graphics class. //
// //
//////////////////////////////////////////////////////////////////////////
class TGraphPolar: public TGraphErrors {
private:
Bool_t fOptionAxis; // Force drawing of new coord system
protected:
TGraphPolargram* fPolargram; // The polar coordinates system
Double_t* fXpol; // [fNpoints] points in polar coordinates
Double_t* fYpol; // [fNpoints] points in polar coordinates
public:
TGraphPolar();
TGraphPolar(Int_t n, const Double_t* theta=0, const Double_t* r=0,
const Double_t* etheta=0, const Double_t* er=0);
virtual ~TGraphPolar();
TGraphPolargram *GetPolargram() {return fPolargram;};
void Draw(Option_t* options = "");
Bool_t GetOptionAxis() {return fOptionAxis;};
void SetMaxRadial(Double_t maximum = 1); //*MENU*
void SetMinRadial(Double_t minimum = 0); //*MENU*
void SetMaximum(Double_t maximum = 1) {SetMaxRadial(maximum);}
void SetMinimum(Double_t minimum = 0) {SetMinRadial(minimum);}
void SetMaxPolar(Double_t maximum = 6.28318530717958623); //*MENU*
void SetMinPolar(Double_t minimum = 0); //*MENU*
void SetOptionAxis(Bool_t opt) {fOptionAxis = opt;};
void SetPolargram(TGraphPolargram *p) {fPolargram = p;};
Double_t *GetXpol();
Double_t *GetYpol();
ClassDef(TGraphPolar,1); // Polar graph
};
#endif
|