--- /dev/null
+/*
+ * Vector.h
+ *
+ * Created on: Aug 6, 2012
+ * Author: holy
+ */
+
+#ifndef GEOMETRY_VECTOR_H_
+#define GEOMETRY_VECTOR_H_
+
+namespace geometry {
+
+template<class Scalar>
+class Vector {
+
+public:
+ Vector() : x(0), y(0) { }
+ Vector(Scalar x, Scalar y) : x(x), y(y) { }
+ template<class T>
+ Vector(const Vector<T> &other) : x(other.X()), y(other.Y()) { };
+ template<class T>
+ Vector(T x, T y) : x(x), y(y) { }
+
+public:
+ Scalar X() const { return x; }
+ Scalar Y() const { return y; }
+
+private:
+ Scalar x, y;
+
+};
+
+}
+
+#endif /* GEOMETRY_VECTOR_H_ */