Center mesh in scene

Isn’t this somewhat a duplicate of: Dynamically set center of rotation by click