double getValue(int i){ if(i == 0) return _x; else if(i == 1) return _y; else if(i == 3) return _w; return _z; }