JG ROOT Tools libraries  version 5.0 - august 2014
RContourBase1D Class Reference

#include <RContourBase1D.hh>

Inheritance diagram for RContourBase1D:
RContourBase RContourBaseGate

Public Member Functions

 RContourBase1D ()
 
 RContourBase1D (const RContourBase1D &ct)
 
RContourBase1Doperator= (const RContourBase1D &ct)
 
virtual ~RContourBase1D ()
 
virtual bool CheckPoint (const Double_t x, const Double_t y) const
 
virtual bool CheckPoint (const RPoint2D &p) const
 
virtual Int_t Dimension () const
 
 ClassDef (RContourBase1D, 0)
 
- Public Member Functions inherited from RContourBase
 RContourBase ()
 
 RContourBase (const RContourBase &ct)
 
RContourBaseoperator= (const RContourBase &ct)
 
virtual ~RContourBase ()
 
virtual bool Compare (const RContourBase *ct_ptr) const =0
 
virtual bool operator== (const RContourBase &ct) const
 
virtual bool operator!= (const RContourBase &ct) const
 
virtual void SetFlipAxis (const bool flip=true)
 
virtual bool GetFlipAxis () const
 
virtual bool CheckValue (const Double_t val) const =0
 
virtual Int_t Type () const =0
 
virtual string TypeName () const =0
 
virtual bool Write (ostream &os) const
 
virtual bool Write (FILE *fptr) const
 
virtual TList * CreateObjectList () const =0
 
 ClassDef (RContourBase, 0)
 

Private Member Functions

 GObjectV (RContourBase1D)
 

Additional Inherited Members

- Static Public Member Functions inherited from RContourBase
static RContourBaseReadNew (istream &is)
 
static RContourBaseReadNew (FILE *fptr)
 
- Protected Member Functions inherited from RContourBase
virtual bool WriteData (ostream &os) const =0
 
virtual bool WriteData (FILE *fptr) const =0
 
- Protected Attributes inherited from RContourBase
bool flip_axis
 Axis inversion.
 

Detailed Description

Base class for 1D contours.

Constructor & Destructor Documentation

RContourBase1D::RContourBase1D ( )

Default constructor.

RContourBase1D::RContourBase1D ( const RContourBase1D ct)

Copy constructor.

Parameters
ctcontour to copy
RContourBase1D::~RContourBase1D ( )
virtual

Destructor.

Member Function Documentation

RContourBase1D::GObjectV ( RContourBase1D  )
private

Macro from GCpp library that defines the following functions:

  • ClassName(): return the real class name of the object
  • StaticClassName(): return the used class name of the object (that may be a base class of the real object).
  • IsInstanceOf<T>(): return true if the current object is an instance of the template class name argument
  • Clone(): return an allocated copy of the object.
RContourBase1D & RContourBase1D::operator= ( const RContourBase1D ct)

Affectation operator.

Parameters
ctcontour to copy
bool RContourBase1D::CheckPoint ( const Double_t  x,
const Double_t  y 
) const
inlinevirtual

Check whether a point (x,y) is inside a contour: for 1D contour coordinate X (or Y if axis are flipped) only is tested.

Parameters
xpoint X position
ypoint Y position

Reimplemented from RContourBase.

bool RContourBase1D::CheckPoint ( const RPoint2D p) const
inlinevirtual

Check whether a point is inside a contour: for 1D contour coordinate X (or Y if axis are flipped) only is tested.

Parameters
ppoint to check

Implements RContourBase.

References RContourBase::CheckValue(), and RContourBase::flip_axis.

Int_t RContourBase1D::Dimension ( ) const
inlinevirtual

Get contour dimension.

Implements RContourBase.

RContourBase1D::ClassDef ( RContourBase1D  ,
 
)

For ROOT dictionary.


The documentation for this class was generated from the following files: