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

#include <StyleConfig.h>

+ Inheritance diagram for osmscout::CirclePrimitive:

Public Member Functions

 CirclePrimitive (ProjectionMode projectionMode, const Vertex2D &center, double radius, const FillStyleRef &fillStyle, const BorderStyleRef &borderStyle)
 
void GetBoundingBox (double &minX, double &minY, double &maxX, double &maxY) const
 
const Vertex2D & GetCenter () const
 
const double & GetRadius () const
 
- 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::CirclePrimitive::CirclePrimitive ( ProjectionMode  projectionMode,
const Vertex2D &  center,
double  radius,
const FillStyleRef fillStyle,
const BorderStyleRef borderStyle 
)

Member Function Documentation

void osmscout::CirclePrimitive::GetBoundingBox ( double &  minX,
double &  minY,
double &  maxX,
double &  maxY 
) const
virtual
const Vertex2D& osmscout::CirclePrimitive::GetCenter ( ) const
inline
const double& osmscout::CirclePrimitive::GetRadius ( ) const
inline

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