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.

Kernel::Point_2 fo.operator() ( Kernel::Triangle_2 t)
compute the centroid of the triangle t.

Refines

AdaptableFunctor (with three arguments)

See Also

CGAL::centroid