#include <Area.h>
◆ Ring()
osmscout::Area::Ring::Ring |
( |
| ) |
|
|
default |
◆ CopyMissingValues()
◆ GetBackId()
Id osmscout::Area::Ring::GetBackId |
( |
| ) |
const |
|
inline |
◆ GetBoundingBox()
GeoBox osmscout::Area::Ring::GetBoundingBox |
( |
| ) |
const |
◆ GetCenter()
bool osmscout::Area::Ring::GetCenter |
( |
GeoCoord & |
center | ) |
const |
◆ GetCoord()
const GeoCoord& osmscout::Area::Ring::GetCoord |
( |
size_t |
index | ) |
const |
|
inline |
◆ GetFeature()
const FeatureInstance& osmscout::Area::Ring::GetFeature |
( |
size_t |
idx | ) |
const |
|
inline |
◆ GetFeatureCount()
size_t osmscout::Area::Ring::GetFeatureCount |
( |
| ) |
const |
|
inline |
◆ GetFeatureValueBuffer()
◆ GetFrontId()
Id osmscout::Area::Ring::GetFrontId |
( |
| ) |
const |
|
inline |
◆ GetId()
Id osmscout::Area::Ring::GetId |
( |
size_t |
index | ) |
const |
|
inline |
◆ GetNodeIndexByNodeId()
bool osmscout::Area::Ring::GetNodeIndexByNodeId |
( |
Id |
id, |
|
|
size_t & |
index |
|
) |
| const |
◆ GetRing()
uint8_t osmscout::Area::Ring::GetRing |
( |
| ) |
const |
|
inline |
◆ GetSerial()
Id osmscout::Area::Ring::GetSerial |
( |
size_t |
index | ) |
const |
|
inline |
◆ GetType()
◆ HasAnyFeaturesSet()
bool osmscout::Area::Ring::HasAnyFeaturesSet |
( |
| ) |
const |
◆ HasFeature()
bool osmscout::Area::Ring::HasFeature |
( |
size_t |
idx | ) |
const |
|
inline |
◆ IsMaster()
bool osmscout::Area::Ring::IsMaster |
( |
| ) |
const |
|
inline |
◆ IsOuter()
bool osmscout::Area::Ring::IsOuter |
( |
| ) |
const |
|
inline |
◆ IsTopOuter()
bool osmscout::Area::Ring::IsTopOuter |
( |
| ) |
const |
|
inline |
◆ MarkAsMasterRing()
void osmscout::Area::Ring::MarkAsMasterRing |
( |
| ) |
|
|
inline |
◆ MarkAsOuterRing()
void osmscout::Area::Ring::MarkAsOuterRing |
( |
| ) |
|
|
inline |
◆ SetFeatures()
◆ SetRing()
void osmscout::Area::Ring::SetRing |
( |
uint8_t |
ring | ) |
|
|
inline |
◆ SetType()
void osmscout::Area::Ring::SetType |
( |
const TypeInfoRef & |
type | ) |
|
|
inline |
◆ UnsetFeature()
void osmscout::Area::Ring::UnsetFeature |
( |
size_t |
idx | ) |
|
|
inline |
◆ Area
◆ bbox
GeoBox osmscout::Area::Ring::bbox |
◆ center
std::optional<GeoCoord> osmscout::Area::Ring::center |
"visual" polygon center (pole of inaccessibility).
It is computed just for rings when center is far from bounding box center
◆ nodes
std::vector<Point> osmscout::Area::Ring::nodes |
Note that ring nodes, bbox and segments fields are public for simple manipulation.
User that modify it is responsible to keep these values in sync! You should not rely on segments and bbox, it is just a cache used some algorithms. It may be empty/invalid! The array of coordinates
Referenced by osmscout::PolygonCenter(), and osmscout::OverlayArea::toArea().
◆ segments
The documentation for this class was generated from the following files: