library: libGraf #include "TArc.h"

# TArc

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

## class TArc : public TEllipse

| Inheritance Chart:
`TObject`
`TAttLine`
`TAttFill`
| <- | `TEllipse`
| <- | `TArc` |

        public:

                          TArc()
                          TArc(Double_t x1, Double_t y1, Double_t radius, Double_t phimin = 0, Double_t phimax = 360)
                          TArc(const TArc& arc)
                  virtual ~TArc()
           static TClass* Class()
             virtual void Copy(TObject& arc) const
             virtual void DrawArc(Double_t x1, Double_t y1, Double_t radius, Double_t phimin = 0, Double_t phimax = 360, Option_t* option = "")
          virtual TClass* IsA() const
                    TArc& operator=(const TArc&)
             virtual void SavePrimitive(ofstream& out, Option_t* option)
             virtual void ShowMembers(TMemberInspector& insp, char* parent)
             virtual void Streamer(TBuffer& b)
                     void StreamerNVirtual(TBuffer& b)

### Data Members

## Class Description

      An arc is specified with the position of its centre, its radius
      a minimum and maximum angle.
      The attributes of the outline line are given via TAttLine
      The attributes of the fill area are given via TAttFill

TArc(): TEllipse()

    *-*-*-*-*-*-*-*-*-*-*Arc  default constructor*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
    *-*                  ========================

TArc(Double_t x1, Double_t y1,Double_t r1,Double_t phimin,Double_t phimax) :TEllipse(x1,y1,r1,r1,phimin,phimax,0)

    *-*-*-*-*-*-*-*-*-*-*Arc  normal constructor*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
    *-*                  =======================
      x1,y1  : coordinates of centre of arc
      r1     : arc radius
      phimin : min and max angle in degrees (default is 0-->360)
      phimax :

      When a circle sector only is drawn, the lines connecting the center
      of the arc to the edges are drawn by default. One can specify
      the drawing option "only" to not draw these lines.

TArc(const TArc &arc) : TEllipse(arc)

~TArc()

    *-*-*-*-*-*-*-*-*-*-*Arc  default destructor*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
    *-*                  =======================

void Copy(TObject &arc) const

    *-*-*-*-*-*-*-*-*-*-*Copy this arc to arc*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
    *-*                  ====================

void DrawArc(Double_t x1, Double_t y1,Double_t r1,Double_t phimin,Double_t phimax,Option_t *option)

    *-*-*-*-*-*-*-*-*-*-*Draw this arc with new coordinates*-*-*-*-*-*-*-*-*-*-*
    *-*                  ==================================

void SavePrimitive(ofstream &out, Option_t *)

     Save primitive as a C++ statement(s) on output stream out

### Inline Functions

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

Author: Rene Brun 16/10/95
Last update: root/graf:$Name: $:$Id: TArc.cxx,v 1.8 2005/01/13 21:39:40 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *