JG ROOT Tools libraries  version 5.0 - august 2014
RContourBase2D.hh
Go to the documentation of this file.
1 //======================================================================
2 /*! \file RContourBase2D.hh
3  *
4  * Include file for class RContourBase2D
5  */
6 //======================================================================
7 
8 
9 #ifndef R_CONTOUR_BASE_2D_HH
10 #define R_CONTOUR_BASE_2D_HH
11 
12 #include "RContourBase.hh"
13 
14 //======================================================================
15 /*! \class RContourBase2D
16  *
17  * Base class for 2D contours.
18  */
19 
21 {
22  //------------------------------------------------------------
23  /*! \object_doc{RContourBase2D} */
25  //------------------------------------------------------------
26 
27  protected:
28 
29  //------------------------------------------------------------
30  // Constructors / affectation / destructor
31  public:
32  RContourBase2D ( );
33  RContourBase2D ( const RContourBase2D & ct );
34 
36 
37  virtual ~RContourBase2D ( );
38 
39  //------------------------------------------------------------
40  /*! Check whether a point is inside a contour:
41  * for 2D contour, a test is performed, for 1D contour result is
42  * always false.
43  * \param p point to check*/
44  virtual bool CheckPoint ( const RPoint2D &p ) const = 0;
45 
46  virtual bool CheckPoint ( const Double_t x, const Double_t y ) const;
47 
48  virtual bool CheckValue ( const Double_t val ) const;
49 
50  virtual Int_t Dimension ( ) const;
51 
52  public:
53  //------------------------------------------------------------
54  /*! For ROOT dictionary.*/
56 };
57 
58 //----------------------------------------------------------------------
59 // Inline functions
60 #include "icc/RContourBase2D.icc"
61 
62 //======================================================================
63 #endif
virtual Int_t Dimension() const
Definition: RContourBase2D.icc:24
virtual ~RContourBase2D()
Definition: RContourBase2D.cpp:43
virtual bool CheckPoint(const RPoint2D &p) const =0
virtual bool CheckValue(const Double_t val) const
Definition: RContourBase2D.icc:20
RContourBase2D & operator=(const RContourBase2D &ct)
Definition: RContourBase2D.cpp:31
Definition: RVector2D.hh:26
RContourBase2D()
Definition: RContourBase2D.cpp:15
ClassDef(RContourBase2D, 0)
GObjectV(RContourBase2D)
Definition: RContourBase2D.hh:20
Definition: RContourBase.hh:19