|
swift
|
List of objects with geo coordinates. More...
#include <geoobjectlist.h>
Public Types | |
| using | MinMaxAverageHeight = std::tuple<aviation::CAltitude, aviation::CAltitude, aviation::CAltitude, int> |
| For statistics. | |
Public Member Functions | |
| CONTAINER | findWithinRange (const ICoordinateGeodetic &coordinate, const physical_quantities::CLength &range) const |
| Find 0..n objects within range of given coordinate. | |
| CONTAINER | findOutsideRange (const ICoordinateGeodetic &coordinate, const physical_quantities::CLength &range) const |
| Find 0..n objects outside range of given coordinate. | |
| OBJ | findFirstWithinRangeOrDefault (const ICoordinateGeodetic &coordinate, const physical_quantities::CLength &range) const |
| Find first in range. | |
| CONTAINER | findWithGeodeticMSLHeight () const |
| Elements with geodetic height (only MSL). | |
| bool | containsObjectInRange (const ICoordinateGeodetic &coordinate, const physical_quantities::CLength &range) const |
| Any object in range? | |
| bool | containsObjectOutsideRange (const ICoordinateGeodetic &coordinate, const physical_quantities::CLength &range) const |
| Any object in range? | |
| bool | containsNullPosition () const |
| Any NULL position? | |
| bool | containsNullPositionOrHeight () const |
| Any NULL position or NULL height. | |
| MinMaxAverageHeight | findMinMaxAverageHeight () const |
| Find min/max/average height. | |
| aviation::CAltitude | findMaxHeight () const |
| Find min/max/average height. | |
| int | removeInsideRange (const ICoordinateGeodetic &coordinate, const physical_quantities::CLength &range) |
| Remove inside range. | |
| int | removeOutsideRange (const ICoordinateGeodetic &coordinate, const physical_quantities::CLength &range) |
| Remove outside range. | |
| int | removeWithoutGeodeticHeight () |
| Remove if there is no geodetic height. | |
| CONTAINER | findClosest (int number, const ICoordinateGeodetic &coordinate) const |
| Find 0..n objects closest to the given coordinate. | |
| CONTAINER | findFarthest (int number, const ICoordinateGeodetic &coordinate) const |
| Find 0..n objects farthest to the given coordinate. | |
| OBJ | findClosestWithinRange (const ICoordinateGeodetic &coordinate, const physical_quantities::CLength &range) const |
| Find closest within range to the given coordinate. | |
| void | sortByEuclideanDistanceSquared (const ICoordinateGeodetic &coordinate) |
| Sort by distance. | |
| CONTAINER | sortedByEuclideanDistanceSquared (const ICoordinateGeodetic &coordinate) const |
| Sorted by distance. | |
Protected Member Functions | |
| IGeoObjectList () | |
| Constructor. | |
| const CONTAINER & | container () const |
| Container. | |
| CONTAINER & | container () |
| Container. | |
List of objects with geo coordinates.
Definition at line 23 of file geoobjectlist.h.
| using swift::misc::geo::IGeoObjectList< OBJ, CONTAINER >::MinMaxAverageHeight = std::tuple<aviation::CAltitude, aviation::CAltitude, aviation::CAltitude, int> |
For statistics.
Definition at line 27 of file geoobjectlist.h.
|
inlineprotected |
Constructor.
Definition at line 260 of file geoobjectlist.h.
|
inlineprotected |
Container.
Definition at line 266 of file geoobjectlist.h.
|
inlineprotected |
Container.
Definition at line 263 of file geoobjectlist.h.
|
inline |
Any NULL position?
Definition at line 84 of file geoobjectlist.h.
|
inline |
Any NULL position or NULL height.
Definition at line 90 of file geoobjectlist.h.
|
inline |
Any object in range?
Definition at line 64 of file geoobjectlist.h.
|
inline |
Any object in range?
Definition at line 74 of file geoobjectlist.h.
|
inline |
Find 0..n objects closest to the given coordinate.
Definition at line 198 of file geoobjectlist.h.
|
inline |
Find closest within range to the given coordinate.
Definition at line 220 of file geoobjectlist.h.
|
inline |
Find 0..n objects farthest to the given coordinate.
Definition at line 209 of file geoobjectlist.h.
|
inline |
Find first in range.
Definition at line 50 of file geoobjectlist.h.
|
inline |
Find min/max/average height.
Definition at line 136 of file geoobjectlist.h.
|
inline |
Find min/max/average height.
Definition at line 97 of file geoobjectlist.h.
|
inline |
Find 0..n objects outside range of given coordinate.
| coordinate | other position |
| range | outside range of other position |
Definition at line 42 of file geoobjectlist.h.
|
inline |
Elements with geodetic height (only MSL).
Definition at line 58 of file geoobjectlist.h.
|
inline |
Find 0..n objects within range of given coordinate.
| coordinate | other position |
| range | within range of other position |
Definition at line 32 of file geoobjectlist.h.
|
inline |
Remove inside range.
Definition at line 159 of file geoobjectlist.h.
|
inline |
Remove outside range.
Definition at line 172 of file geoobjectlist.h.
|
inline |
Remove if there is no geodetic height.
Definition at line 185 of file geoobjectlist.h.
|
inline |
Sort by distance.
Definition at line 242 of file geoobjectlist.h.
|
inline |
Sorted by distance.
Definition at line 251 of file geoobjectlist.h.