lemon/dim2.h
changeset 1432 da87dbdf3daf
parent 1311 6aea07d5ca48
equal deleted inserted replaced
14:1043d850f277 15:70c37ca54c52
    52       T x;
    52       T x;
    53       ///Second coordinate
    53       ///Second coordinate
    54       T y;
    54       T y;
    55 
    55 
    56       ///Default constructor
    56       ///Default constructor
    57       Point() {}
    57       Point() : x(), y() {}
    58 
    58 
    59       ///Construct an instance from coordinates
    59       ///Construct an instance from coordinates
    60       Point(T a, T b) : x(a), y(b) { }
    60       Point(T a, T b) : x(a), y(b) { }
    61 
    61 
    62       ///Returns the dimension of the vector (i.e. returns 2).
    62       ///Returns the dimension of the vector (i.e. returns 2).