libosmscout 0.1
Loading...
Searching...
No Matches
osmscout::Projection::BatchTransformer Class Referencefinal

This class is used to hide internal complexity concerned with batching GeoToPixel calls. More...

#include <Projection.h>

Public Member Functions

 BatchTransformer (BatchTransformer &&other)=delete
 BatchTransformer (const BatchTransformer &other)=delete
 BatchTransformer (const Projection &projection)
void Flush ()
void GeoToPixel (const GeoCoord &coord, double &x, double &y)
void GeoToPixel (const Point &coord, double &x, double &y)
BatchTransformer & operator= (BatchTransformer &&other)=delete
BatchTransformer & operator= (const BatchTransformer &other)=delete
 ~BatchTransformer ()

Public Attributes

const Projection & projection

Detailed Description

This class is used to hide internal complexity concerned with batching GeoToPixel calls.

Constructor & Destructor Documentation

◆ BatchTransformer() [1/3]

osmscout::Projection::BatchTransformer::BatchTransformer ( const Projection & projection)
inlineexplicit

◆ BatchTransformer() [2/3]

osmscout::Projection::BatchTransformer::BatchTransformer ( const BatchTransformer & other)
delete

References BatchTransformer().

◆ BatchTransformer() [3/3]

osmscout::Projection::BatchTransformer::BatchTransformer ( BatchTransformer && other)
delete

References BatchTransformer().

◆ ~BatchTransformer()

osmscout::Projection::BatchTransformer::~BatchTransformer ( )
inline

References Flush().

Member Function Documentation

◆ Flush()

void osmscout::Projection::BatchTransformer::Flush ( )
inline

◆ GeoToPixel() [1/2]

void osmscout::Projection::BatchTransformer::GeoToPixel ( const GeoCoord & coord,
double & x,
double & y )
inline

◆ GeoToPixel() [2/2]

void osmscout::Projection::BatchTransformer::GeoToPixel ( const Point & coord,
double & x,
double & y )
inline

◆ operator=() [1/2]

BatchTransformer & osmscout::Projection::BatchTransformer::operator= ( BatchTransformer && other)
delete

References BatchTransformer().

◆ operator=() [2/2]

BatchTransformer & osmscout::Projection::BatchTransformer::operator= ( const BatchTransformer & other)
delete

References BatchTransformer().

Member Data Documentation

◆ projection

const Projection& osmscout::Projection::BatchTransformer::projection

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