Measurement of the apical foramen.