libosmscout  0.1
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules
Transformation.h File Reference

Classes

class  osmscout::CoordBuffer
 Buffer structure for Vertex2D data. More...
 
class  osmscout::CoordBufferRange
 Hold a reference to a range of data within a CoordBuffer. More...
 
class  osmscout::TransBuffer
 Temporary stateful buffer for holding results of transformation of polygon from geo coords to display coords. More...
 
struct  osmscout::TransPoint
 Entry in the TransBuffer structure. More...
 
class  osmscout::TransPolygon
 Class to allows transformation of geometric primitives form geo coordinate to display coordinates using the passed Projection instance. More...
 

Namespaces

 osmscout
 Original source: https://github.com/philipperemy/easy-encryption/blob/master/b64.h licensed under terms of MIT license.
 

Functions

CoordBufferRange osmscout::CopyPolygonToCoordBuffer (const TransBuffer &transBuffer, CoordBuffer &coordBuffer)
 
void osmscout::OptimizeArea (TransBuffer &buffer, TransPolygon::OptimizeMethod optimize, double optimizeErrorTolerance, TransPolygon::OutputConstraint constraint)
 Optimize a already transformed area. More...
 
void osmscout::OptimizeWay (TransBuffer &buffer, TransPolygon::OptimizeMethod optimize, double optimizeErrorTolerance, TransPolygon::OutputConstraint constraint)
 Optimize a already transformed way. More...
 
template<typename C >
void osmscout::TransformArea (const C &nodes, TransBuffer &buffer, const Projection &projection, TransPolygon::OptimizeMethod optimize, double optimizeErrorTolerance, TransPolygon::OutputConstraint constraint=TransPolygon::noConstraint)
 Transform form geo to screen coordinates and (optionally) optimize the passed area with the given coordinates. More...
 
template<typename C >
CoordBufferRange osmscout::TransformArea (const C &nodes, TransBuffer &transBuffer, CoordBuffer &coordBuffer, const Projection &projection, TransPolygon::OptimizeMethod optimize, double optimizeErrorTolerance)
 Transform the geo coordinates to display coordinates of the given area and copy the resulting coordinates the the given CoordBuffer. More...
 
void osmscout::TransformBoundingBox (const GeoBox &boundingBox, TransBuffer &buffer, const Projection &projection, TransPolygon::OptimizeMethod optimize, double optimizeErrorTolerance, TransPolygon::OutputConstraint constraint=TransPolygon::noConstraint)
 Transform form geo to screen coordinates and (optionally) optimize the passed way with the given coordinates. More...
 
CoordBufferRange osmscout::TransformBoundingBox (const GeoBox &boundingBox, TransBuffer &buffer, CoordBuffer &coordBuffer, const Projection &projection, TransPolygon::OptimizeMethod optimize, double optimizeErrorTolerance)
 Transform the geo coordinates to display coordinates of the given bounding box and copy the resulting coordinates the the given CoordBuffer. More...
 
template<typename C >
void osmscout::TransformWay (const C &nodes, TransBuffer &buffer, const Projection &projection, TransPolygon::OptimizeMethod optimize, double optimizeErrorTolerance, TransPolygon::OutputConstraint constraint=TransPolygon::noConstraint)
 Transform form geo to screen coordinates and (optionally) optimize the passed way with the given coordinates. More...
 
template<typename C >
CoordBufferRange osmscout::TransformWay (const C &nodes, TransBuffer &transBuffer, CoordBuffer &coordBuffer, const Projection &projection, TransPolygon::OptimizeMethod optimize, double optimizeErrorTolerance)
 Transform the geo coordinates to display coordinates of the given way and copy the resulting coordinates the the given CoordBuffer. More...