BICO 1.1

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

- Class List
- Class Hierarchy
- Class Members

All Classes Namespaces Files Functions Variables Typedefs Pages
Public Member Functions | List of all members
CluE::PointCentroid Class Reference

Center of gravity for Point. More...

`#include <pointcentroid.h>`

Inheritance diagram for CluE::PointCentroid:
Collaboration diagram for CluE::PointCentroid:

## Public Member Functions
virtual PointCentroid * | clone () const
virtual Point | generate (std::vector< Point * > const &) const
Public Member Functions inherited from CluE::ProxyGenerator< Point >
virtual | ~ProxyGenerator ()

## Detailed Description

Center of gravity for Point.

ProxyGenerator<Point> class for computing a weighted center of gravity for a vector of Point objects.

Definition at line 20 of file pointcentroid.h.

## Member Function Documentation

PointCentroid * PointCentroid::clone | ( |  | ) | const
| virtual

Implements CluE::ProxyGenerator< Point >.

Definition at line 8 of file pointcentroid.cpp.

Point PointCentroid::generate | ( | std::vector< Point * > const & | source | ) | const
| virtual

This method generates the center of gravity for the given Point objects using the constructor Point::Point.

Implements CluE::ProxyGenerator< Point >.

Definition at line 13 of file pointcentroid.cpp.

The documentation for this class was generated from the following files:

- src/point/pointcentroid.h
- src/point/pointcentroid.cpp