package tp3;

public class Point {
	String nom;
	double x, y, z;
	
	public Point(String nom){
		this.nom = nom;
		x = 0;
		y = 0;
		z = 0;
	}
	
	public Point(String nom, double x, double y, double z){
		this.nom = nom;
		this.x = x;
		this.y = y;
		this.z = z;
	}
	
	public Point(Point p){
		this.nom = p.nom;
		this.x = p.x;
		this.y = p.y;
		this.z = p.z;
	}
}
