00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013 #ifndef _POINT_H_
00014 #define _POINT_H_
00015
00016 #include <utility>
00017 #include "General/Types.hh"
00018
00019 namespace Math {
00028 class Point : public std::pair<Double, Double> {
00029 public:
00031 Point(Double U, Double V)
00032 : std::pair<Double, Double>(U, V) {}
00033
00034
00036 inline Double GetU() const
00037 {
00038 return first;
00039 }
00040
00041 inline Double GetV() const
00042 {
00043 return second;
00044 }
00045
00046 inline void SetU(Double u)
00047 {
00048 first = u;
00049 }
00050
00051 inline void SetV(Double v)
00052 {
00053 second = v;
00054 }
00056 };
00057 }
00058
00059 #endif