Geometric locus of the midpoint of a segment