In designing a removable partial denture, the location of clasps is determined on

a surveyed diagnostic cast prior to preparation of occlusal rest areas.

the refractory cast.

a master cast after tooth preparations are completed.