Navigation:
Up
,
Table of Contents
,
Package Overview
,
Bibliography
,
Index
,
Title Page
,
Acknowledging CGAL
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
Kernel::ConstructBarycenter_2
CGAL::centroid
CGAL::barycenter
Next:
Kernel::ConstructCentroid_3
Navigation:
Up
,
Table of Contents
,
Package Overview
,
Bibliography
,
Index
,
Title Page
,
Acknowledging CGAL
CGAL Open Source Project
. Release 3.4. 22 January 2009.