Kernel::ConstructCentroid_3

A model for this must provide:

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

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

Kernel::Point_3 fo.operator() ( Kernel::Triangle_3 t)
compute the centroid of the triangle t.

Kernel::Point_3 fo.operator() ( Kernel::Tetrahedron_3 t)
compute the centroid of the tetrahedron t.

Refines

AdaptableFunctor (with three arguments)

See Also

CGAL::centroid