blob: 4f8b8404c6a8f07be589e6df33c88cc688a62869 (
about) (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
module;
#include <boost/geometry.hpp>
export module routemon:geo;
export namespace bgeo = boost::geometry;
export namespace routemon::geo {
using point =
bgeo::model::point<double, 2, bgeo::cs::spherical_equatorial<bgeo::degree>>;
using linestring = bgeo::model::linestring<point>;
using box = bgeo::model::box<point>;
using stype = bgeo::srs::spheroid<double>;
using vincenty_strategy = bgeo::strategy::distance::vincenty<stype>;
auto split_linestring_with_overlap_segments(
linestring const& ls, double max_split_distance_m,
std::vector<linestring>& append_to) -> void;
} // namespace routemon::geo
|