#include "point.h" point::point() :x(0) ,y(0) { } void point::set(double x_,double y_) { x=x_; y=y_; } void point::swap(point&p) { point tmp=*this; *this=p; p=tmp; }