If a point is on the perpendicular bisector of a segment, then it is:

A. equidistant from the midpoint and one endpoint of the segment.

B. the midpoint of the segment.

C. on the segment.

D. equidistant from the endpoints of the segment