Reformulation of planar distance and angle measurements in terms of polynomial functions of Cartesian coordinates