src/lemon/xy.h
changeset 1039 bd01c5a3f989
parent 967 6563019430ba
child 1045 1bf336c63f25
equal deleted inserted replaced
2:69d4cccd540f 3:60273609e5a4
    48   template<typename T>
    48   template<typename T>
    49     class xy {
    49     class xy {
    50 
    50 
    51     public:
    51     public:
    52 
    52 
    53       typedef T ValueType;
    53       typedef T Value;
    54 
    54 
    55       T x,y;     
    55       T x,y;     
    56       
    56       
    57       ///Default constructor: both coordinates become 0
    57       ///Default constructor: both coordinates become 0
    58       xy() : x(0), y(0) {}
    58       xy() : x(0), y(0) {}