boat
C++23 geospatial library
Loading...
Searching...
No Matches
algorithm.hpp File Reference
#include <boat/detail/numbers.hpp>
#include <boat/geometry/vocabulary.hpp>
Include dependency graph for algorithm.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  boat
namespace  boat::geometry

Functions

template<point T>
T boat::geometry::add_value (T geom, double value)
template<box T>
auto boat::geometry::box_area_interpolate (T const &mbr, size_t num_points)
template<box T>
multi_point auto boat::geometry::box_border_interpolate (T const &mbr, size_t num_points)
auto boat::geometry::buffer (double distance, size_t num_points)
template<box T>
polygon auto boat::geometry::to_polygon (T const &geom)
geographic::point boat::geometry::wrap (geographic::point const &p)
 Normalizes longitude and latitude across the antimeridian and poles.
geographic::point boat::geometry::add_meters (geographic::point const &p, double eastward, double northward)

Variables

constexpr auto boat::geometry::meter
 Approximate degrees per meter of latitude, or longitude at a given latitude.
constexpr auto boat::geometry::minmax