Processing math: 100%
CGAL 4.7 - 2D and 3D Linear Geometry Kernel
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
CGAL::midpoint()

Functions

template<typename Kernel >
CGAL::Point_2< KernelCGAL::midpoint (const CGAL::Point_2< Kernel > &p, const CGAL::Point_2< Kernel > &q)
 computes the midpoint of the segment pq.
 
template<typename Kernel >
CGAL::Point_3< KernelCGAL::midpoint (const CGAL::Point_3< Kernel > &p, const CGAL::Point_3< Kernel > &q)
 computes the midpoint of the segment pq.