package java3d; public class Tuple3d { public double x; public double y; public double z; public void set(double x, double y, double z) { this.x = x; this.y = y; this.z = z; } public void setX(double x) { this.x = x; } public void setY(double y) { this.y = y; } public void setZ(double z) { this.z = z; } public double getX() { return x; } public double getY() { return y; } public double getZ() { return z; } }