libosmscout  0.1
osmscout::OverlayArea Class Reference

#include <OverlayObject.h>

+ Inheritance diagram for osmscout::OverlayArea:

Public Member Functions

osmscout::RefType getObjectType () const override
 
 OverlayArea (const std::vector< osmscout::Point > &nodes, QString typeName="_route", QObject *parent=Q_NULLPTR)
 
 OverlayArea (QObject *parent=Q_NULLPTR)
 
bool toArea (osmscout::AreaRef &area, const osmscout::TypeConfig &typeConfig) const
 
 ~OverlayArea () override
 
- Public Member Functions inherited from osmscout::OverlayObject
osmscout::GeoBox boundingBox () const
 
LocationEntrygetBBoxAsLocation () const
 
QString getColor () const
 
std::vector< osmscout::GeoCoordgetCoords () const
 
qint8 getLayer () const
 
QString getName () const
 
QString getObjectTypeStr () const
 
std::vector< osmscout::PointgetPoints () const
 
size_t getSize ()
 
QString getTypeName () const
 
 OverlayObject (const OverlayObject &o)
 
 OverlayObject (const std::vector< osmscout::Point > &nodes, QString typeName="_route", QObject *parent=Q_NULLPTR)
 
 OverlayObject (QObject *parent=Q_NULLPTR)
 
void setColor (const QString &c)
 
void setColorValue (Color &c)
 
void setLayer (qint8 l)
 
void setName (const QString &n)
 
void setTypeName (const QString &name)
 
 ~OverlayObject () override
 

Additional Inherited Members

- Public Slots inherited from osmscout::OverlayObject
void addPoint (double lat, double lon)
 
void clear ()
 
- Signals inherited from osmscout::OverlayObject
void bboxChanged ()
 
- Protected Member Functions inherited from osmscout::OverlayObject
osmscout::GeoBox boundingBoxInternal () const
 
std::vector< SegmentGeoBoxsegments () const
 
void setupFeatures (const osmscout::TypeInfoRef &type, osmscout::FeatureValueBuffer &features) const
 
- Protected Attributes inherited from osmscout::OverlayObject
osmscout::GeoBox box
 
std::optional< osmscout::ColorcolorValue
 
int8_t layer {std::numeric_limits<int8_t>::max()}
 
QMutex lock
 
std::vector< osmscout::Pointnodes
 
std::vector< SegmentGeoBoxsegmentsBoxes
 
QString typeName
 
- Properties inherited from osmscout::OverlayObject
LocationEntry boundingBox
 
QString color
 
qint8 layer
 
QString name
 
QString objectType
 
int size
 
QString type
 

Constructor & Destructor Documentation

◆ OverlayArea() [1/2]

osmscout::OverlayArea::OverlayArea ( QObject *  parent = Q_NULLPTR)
explicit

◆ OverlayArea() [2/2]

osmscout::OverlayArea::OverlayArea ( const std::vector< osmscout::Point > &  nodes,
QString  typeName = "_route",
QObject *  parent = Q_NULLPTR 
)
explicit

◆ ~OverlayArea()

osmscout::OverlayArea::~OverlayArea ( )
override

Member Function Documentation

◆ getObjectType()

osmscout::RefType osmscout::OverlayArea::getObjectType ( ) const
inlineoverridevirtual

Reimplemented from osmscout::OverlayObject.

References osmscout::refArea.

◆ toArea()


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