A data processing method for determining six parameters, corresponding to six degrees of freedom, of a contact position of a joint which connects two bones, comprising the steps of acquiring a 3D model of each bone, acquiring four of the six parameters as a given parameters, selecting initial values for the two remaining parameters and varying the two remaining parameters virtually in order to achieve a virtual relative position between the two 3D models such that they are in contact with each other.