namespace dk { template inline Vector<2> get_diamond_coordinates (const TileIterator& parIterator, const Vector<2>& parSize) { PixelConvDiamond pconv(true, true); return pconv.to_pixel(parIterator.position(), parSize); } template inline Vector<2> get_half_diamond_coordinates (const TileIterator& parIterator, const Vector<2>& parSize) { PixelConvHalfDiamond pconv(true); return pconv.to_pixel(parIterator.position(), parSize); } template inline Vector get_square_coordinates (const TileIterator& parIterator, const Vector& parSize) { PixelConvSquare pconv; return pconv.to_pixel(parIterator.position(), parSize); } template inline Vector<2> get_hex_coordinates (const TileIterator& parIterator, const Vector<2>& parSize) { PixelConvHex pconv(true); return pconv.to_pixel(parIterator.position(), parSize); } template PixelConv::PixelConv (MapTypes parType) : m_map_type(parType) { } template MapTypes PixelConv::map_type() const { return m_map_type; } template PixelConvSquare::PixelConvSquare() : base_class(MapType_Orthogonal) { } template auto PixelConvSquare::to_pixel (const coords& parFrom, const coords& parSize) const -> coords { return parFrom * parSize; } } //namespace dk