calc_edge_center(H, position)