#ifndef POINT_H
#define POINT_H

//#include <math.h>
#include <cmath>


class Point{
private:
	double x,y,z;

public:
	double distance(const Point &p) const{
		return sqrt((x-p.x)*(x-p.x)+(y-p.y)*(y-p.y)+(z-p.z)*(z-p.z));
	}

	void set(double a,double b,double c){
		x=a;y=b;z=c;
	}

};

#endif
