/** \file declaration of class Pair \author Stefano Argiro \version $Id$ \date 26 Sep 2003 */ #ifndef _utl_Pair_h_ #define _utl_Pair_h_ static const char CVSId_utl_Pair[] = "$Id$"; namespace utl { /** \class Pair Pair.h "utl/Pair.h" \brief a pair of graph points (x,y) \author Stefano Argiro \date 26 Sep 2003 \ingroup stl */ class Pair { public: Pair() : fX(0), fY(0) { } Pair(const double x, const double y) : fX(x), fY(y) { } double X() const { return fX; } double Y() const { return fY; } private: double fX; double fY; }; } #endif // Configure (x)emacs for this file ... // Local Variables: // mode: c++ // compile-command: "make -C .. -k" // End: