* pt_in_rect uses const params