BICO  1.1
 All Classes Namespaces Files Functions Variables Typedefs Pages
pointcentroid.h
Go to the documentation of this file.
1 #ifndef POINTCENTROID_H
2 #define POINTCENTROID_H
3 
4 #include "../base/proxygenerator.h"
5 #include "../point/point.h"
6 
7 #include <vector>
8 
9 namespace CluE
10 {
11 
20 class PointCentroid : public ProxyGenerator<Point>
21 {
22 public:
23 
24  virtual PointCentroid* clone() const;
25 
30  virtual Point generate(std::vector<Point*> const&) const;
31 };
32 
33 }
34 
35 #endif
virtual PointCentroid * clone() const
Center of gravity for Point.
Definition: pointcentroid.h:20
Abstract base class for mechanisms that compute a proxy or representative object for a given set of o...
virtual Point generate(std::vector< Point * > const &) const
Weighted point of arbitrary dimension.
Definition: point.h:17