Kernel::ConstructCentroid_2

A model for this must provide:

Kernel::Point_2
fo.operator() ( Kernel::Point_2 p,
Kernel::Point_2 q,
Kernel::Point_2 r)
compute the centroid of the points p, q, and r.

Kernel::Point_2
fo.operator() ( Kernel::Point_2 p,
Kernel::Point_2 q,
Kernel::Point_2 r,
Kernel::Point_2 s)
compute the centroid of the points p, q, r and s.

Refines

AdaptableFunctor (with three arguments)

See Also

CGAL::centroid