libosmscout  1.1.1
Public Member Functions | Public Attributes | List of all members
osmscout::Projection::BatchTransformer Class Reference

#include <libosmscout/include/osmscout/util/Projection.h>

Collaboration diagram for osmscout::Projection::BatchTransformer:
Collaboration graph
[legend]

Public Member Functions

 BatchTransformer (const Projection &projection)
 
 ~BatchTransformer ()
 
void GeoToPixel (double lon, double lat, double &x, double &y)
 
void Flush ()
 

Public Attributes

const Projectionprojection
 

Detailed Description

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

Constructor & Destructor Documentation

◆ BatchTransformer()

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

◆ ~BatchTransformer()

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

Member Function Documentation

◆ Flush()

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

◆ GeoToPixel()

void osmscout::Projection::BatchTransformer::GeoToPixel ( double  lon,
double  lat,
double &  x,
double &  y 
)
inline

Member Data Documentation

◆ projection

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

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