geo Namespace Reference
|
CPP API
|
Classes | |
| class | Distance |
| Represents a distance. More... | |
| class | GeographicalLocation |
| Class representing a geographical location on the Earth's surface. More... | |
| class | RTree |
| R-tree for spatial queries of geographical locations on the sphere. More... | |
Functions | |
| constexpr Distance | kilometers (ScalarType kilometers) |
| Create a Distance of a specified number of kilometers. More... | |
| constexpr Distance | meters (ScalarType meters) |
| Create a Distance of a specified number of meters. More... | |
Variables | |
| template<class Location > | |
| concept | IsSphericalLocation |
| Concept for spherical location types. More... | |
Function Documentation
◆ kilometers()
|
inlineconstexpr |
Create a Distance of a specified number of kilometers.
- Parameters
-
[in] kilometers distance in kilometers.
◆ meters()
|
inlineconstexpr |
Create a Distance of a specified number of meters.
- Parameters
-
[in] meters distance in meters.
Variable Documentation
◆ IsSphericalLocation
template<class Location >
| concept mio::geo::IsSphericalLocation |
Initial value:
= requires(const Location& loc) {
std::is_floating_point_v<decltype(loc.get_latitude())> && std::is_floating_point_v<decltype(loc.get_longitude())>;
}
requires(!std::is_trivial_v< T >) void BinarySerializerObject
Definition: binary_serializer.h:333
Concept for spherical location types.
The location type needs to provide get_latitude() and get_longitude() methods returning floating point types.
Generated by