“It’s exactly like a 30-year circle,” said Ms. Whelan, 46, who joined City Ballet as an apprentice in 1984 and went on to become a prima ballerina and to create roles in new ballets by choreographers including Christopher Wheeldon, Twyla Tharp and Alexei Ratmansky, among others.