A geometrical approach with applications to periodically forced dynamical systems in the plane