The pitch diameter of a screw thread is the :