npstat is hosted by Hepforge, IPPP Durham
NPStat  5.10.0

#include <UniformAxis.hh>

Public Member Functions

 UniformAxis (unsigned nCoords, double min, double max, const char *label=0)
 
unsigned nCoords () const
 
double min () const
 
double max () const
 
const std::string & label () const
 
bool usesLogSpace () const
 
std::pair< unsigned, double > getInterval (double coordinate) const
 
std::pair< unsigned, double > linearInterval (double coordinate) const
 
std::vector< double > coords () const
 
double coordinate (unsigned i) const
 
double length () const
 
bool isUniform () const
 
unsigned nIntervals () const
 
double intervalWidth (unsigned) const
 
bool operator== (const UniformAxis &r) const
 
bool operator!= (const UniformAxis &r) const
 
bool isClose (const UniformAxis &r, double tol) const
 
void setLabel (const char *newlabel)
 
gs::ClassId classId () const
 
bool write (std::ostream &of) const
 

Static Public Member Functions

static const char * classname ()
 
static unsigned version ()
 
static UniformAxisread (const gs::ClassId &id, std::istream &in)
 

Detailed Description

This class contains the info needed to define an axis of a rectangular grid. The distance between grid points is uniform.


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