libosmscout  0.1
osmscout::TransPolygon Class Referencefinal

Class to allows transformation of geometric primitives form geo coordinate to display coordinates using the passed Projection instance. More...

#include <Transformation.h>

Public Types

enum  OptimizeMethod { none =0, fast =1, quality =2 }
 
enum  OutputConstraint { noConstraint =0, simple =1 }
 

Detailed Description

Class to allows transformation of geometric primitives form geo coordinate to display coordinates using the passed Projection instance.

A number of optimizations on the resulting display coordinates objects can be triggered to reduce the number of to-be-rendered pixels.

In one pass only one geometric primitive can be transformed, however to reduce memory allocation and reallocation TransPolygon can be reused.

Member Enumeration Documentation

◆ OptimizeMethod

Enumerator
none 
fast 
quality 

◆ OutputConstraint

Enumerator
noConstraint 
simple 

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