CGAL::midpoint

Point_2<Kernel> midpoint ( Point_2<Kernel> p, Point_2<Kernel> q)
computes the midpoint of the segment pq.

Point_3<Kernel> midpoint ( Point_3<Kernel> p, Point_3<Kernel> q)
computes the midpoint of the segment pq.