template<class U>
void CalculatePositions(U width, U height, std::vector<geometry::Point<U> > &dest) const {
dest.clear();
dest.reserve(positions.size());
for (std::vector<geometry::Point<Uint8> >::const_iterator i(positions.begin()), end(positions.end()); i != end; ++i) {
dest.push_back(geometry::Point<U>(
template<class U>
void CalculatePositions(U width, U height, std::vector<geometry::Point<U> > &dest) const {
dest.clear();
dest.reserve(positions.size());
for (std::vector<geometry::Point<Uint8> >::const_iterator i(positions.begin()), end(positions.end()); i != end; ++i) {
dest.push_back(geometry::Point<U>(