System and method for controlling a surgical manipulator to apply an energy applicator to a patient. The surgical manipulator cooperates with a navigation system to position the energy applicator with respect to a boundary so that the energy applicator is constrained from moving outside the boundary. The boundary is generated based on implant parameters and/or energy applicator parameters measured after manufacture of the implant.