pix2ang and pix2eq in place