Geomagnetic cutoff rigidities of cosmic rays in a model of the bounded magnetosphere with the ring current