libosmscout
0.1
|
#include <OverlayObject.h>
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 | |
![]() | |
osmscout::GeoBox | boundingBox () const |
LocationEntry * | getBBoxAsLocation () const |
QString | getColor () const |
std::vector< osmscout::GeoCoord > | getCoords () const |
qint8 | getLayer () const |
QString | getName () const |
QString | getObjectTypeStr () const |
std::vector< osmscout::Point > | getPoints () 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 | |
![]() | |
void | addPoint (double lat, double lon) |
void | clear () |
![]() | |
void | bboxChanged () |
![]() | |
osmscout::GeoBox | boundingBoxInternal () const |
std::vector< SegmentGeoBox > | segments () const |
void | setupFeatures (const osmscout::TypeInfoRef &type, osmscout::FeatureValueBuffer &features) const |
![]() | |
osmscout::GeoBox | box |
std::optional< osmscout::Color > | colorValue |
int8_t | layer {std::numeric_limits<int8_t>::max()} |
QMutex | lock |
std::vector< osmscout::Point > | nodes |
std::vector< SegmentGeoBox > | segmentsBoxes |
QString | typeName |
![]() | |
LocationEntry | boundingBox |
QString | color |
qint8 | layer |
QString | name |
QString | objectType |
int | size |
QString | type |
|
explicit |
|
explicit |
|
override |
|
inlineoverridevirtual |
Reimplemented from osmscout::OverlayObject.
References osmscout::refArea.
bool osmscout::OverlayArea::toArea | ( | osmscout::AreaRef & | area, |
const osmscout::TypeConfig & | typeConfig | ||
) | const |
References osmscout::Area::Ring::bbox, osmscout::OverlayObject::boundingBoxInternal(), osmscout::TypeConfig::GetTypeInfo(), osmscout::OverlayObject::lock, osmscout::log, osmscout::Area::Ring::MarkAsOuterRing(), osmscout::OverlayObject::nodes, osmscout::Area::Ring::nodes, osmscout::Area::Ring::segments, osmscout::OverlayObject::segments(), osmscout::Area::Ring::SetFeatures(), osmscout::Area::Ring::SetType(), osmscout::OverlayObject::setupFeatures(), osmscout::OverlayObject::type, osmscout::OverlayObject::typeName, and osmscout::Log::Warn().