libosmscout  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups
osmscout::PolygonPrimitive Class Reference

#include <StyleConfig.h>

+ Inheritance diagram for osmscout::PolygonPrimitive:

Public Member Functions

void AddCoord (const Vertex2D &coord)
 
void GetBoundingBox (double &minX, double &minY, double &maxX, double &maxY) const
 
const std::list< Vertex2D > & GetCoords () const
 
 PolygonPrimitive (ProjectionMode projectionMode, const FillStyleRef &fillStyle, const BorderStyleRef &borderStyle)
 
- Public Member Functions inherited from osmscout::DrawPrimitive
 DrawPrimitive (ProjectionMode projectionMode, const FillStyleRef &fillStyle, const BorderStyleRef &borderStyle)
 
const BorderStyleRefGetBorderStyle () const
 
const FillStyleRefGetFillStyle () const
 
ProjectionMode GetProjectionMode () const
 
virtual ~DrawPrimitive ()
 

Additional Inherited Members

- Public Types inherited from osmscout::DrawPrimitive
enum  ProjectionMode { ProjectionMode::MAP, ProjectionMode::GROUND }
 

Constructor & Destructor Documentation

osmscout::PolygonPrimitive::PolygonPrimitive ( ProjectionMode  projectionMode,
const FillStyleRef fillStyle,
const BorderStyleRef borderStyle 
)

Member Function Documentation

void osmscout::PolygonPrimitive::AddCoord ( const Vertex2D &  coord)
void osmscout::PolygonPrimitive::GetBoundingBox ( double &  minX,
double &  minY,
double &  maxX,
double &  maxY 
) const
virtual
const std::list<Vertex2D>& osmscout::PolygonPrimitive::GetCoords ( ) const
inline

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