| constants/point.h - point.h - just for reference. | Lecture 2 - slide 28 : 29 Program 3 |
// Just for reference - not really interesting in this context.
class Point {
private:
double x, y;
public:
Point(double, double);
Point();
double getx () const;
double gety () const;
void move(double, double);
double distance_to(Point);
};
std::ostream& operator<<(std::ostream&, const Point&);