BICO 1.1

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- File List
- File Members

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
CluE::PointCentroid::clone
virtual PointCentroid * clone() const
Definition: pointcentroid.cpp:8
CluE::PointCentroid
Center of gravity for Point.
Definition: pointcentroid.h:20
CluE::ProxyGenerator
Abstract base class for mechanisms that compute a proxy or representative object for a given set of o...
Definition: proxygenerator.h:14
CluE::PointCentroid::generate
virtual Point generate(std::vector< Point * > const &) const
Definition: pointcentroid.cpp:13
CluE::Point
Weighted point of arbitrary dimension.
Definition: point.h:17