import java.awt.*;

public class VertexNode 
{
	private double[] XYZ = new double[3];
	private double[] RGB = new double[3];
	private double di, dj;
	
	public VertexNode()
	{
		di = 0;
		dj = 0;
	}
	
	public void Copy(VertexNode Source)
	{
		this.setXYZ(Source.getXYZ());
		this.setRGB(Source.getRGB());
		this.setdi(Source.di());
		this.setdj(Source.dj());
	}
	
	public void setXYZ(double[] XYZ)
	{
		this.XYZ[0] = XYZ[0];
		this.XYZ[1] = XYZ[1];
		this.XYZ[2] = XYZ[2];
	}

	public void setRGB(double[] RGB)
	{
		this.RGB[0] = RGB[0];
		this.RGB[1] = RGB[1];
		this.RGB[2] = RGB[2];
	}
	
	public double[] getXYZ()
	{
		return XYZ;
	}
	
	public double[] getRGB()
	{
		return RGB;
	}
	
	public void setdi(double newdi)
	{
		di = newdi;
	}

	public void setdj(double newdj)
	{
		dj = newdj;
	}
	
	public double di()
	{
		return di;
	}
	
	public double dj()
	{
		return dj;
	}
}