A data processing method for determining the position of a main plane of an anatomical body part, comprising the steps of: • providing absolute auxiliary point data which describe the position of at least one actual auxiliary point of the body part relative to a marker device attacked to the body part, the at least one actual auxiliary point being outside the main plane • providing relative point data which constrain the possible positions of the main plane relative to the at least one actual auxiliary point • providing absolute main point data which describe the position of one or two actual main points of the body part relative to the marker device attached to the body part, said one or two actual main points lying in the main plane and/or calculating the position of at least one virtual main point relative to the marker device, said at least one virtual main point being in the main plane and being calculated based on the absolute auxiliary point data and the relative point data • calculating a position of the main plane relative to the marker device, wherein the calculation uses the relative point data and auxiliary point data as well as the provided absolute main point data and/or the calculated position of the at least one virtual main point.