equal
deleted
inserted
replaced
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). |