Point::Point(const Vector2d& v) { x = v.getx(); y = v.gety(); }
Point Point::operator+(const Vector2d &v)const{ return Point(x + v.getx(), y + v.gety()); }
bool Vector2d::operator==(const Vector2d &v)const { return FEQ(dx, v.getx(), 1.0e-06) && FEQ(dy, v.gety(), 1.0e-06); }