The dipolar field of rotating bodies in two dimensions