Cup positioning in total hip arthroplasty