Format all C++ and Java code via clang-format

Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
This commit is contained in:
Konstantin Pastbin
2025-08-17 14:32:37 +07:00
parent 9f0290c0ec
commit bfffa1fff4
2169 changed files with 56441 additions and 64188 deletions

View File

@@ -3,9 +3,9 @@
#include "geometry/distance_on_sphere.hpp"
#include "geometry/mercator.hpp"
#include "std/boost_geometry.hpp"
#include <boost/geometry/geometries/point_xy.hpp>
#include <boost/geometry/geometries/polygon.hpp>
#include "std/boost_geometry.hpp"
namespace generator
{
@@ -16,7 +16,8 @@ double AreaOnEarth(std::vector<m2::PointD> const & points)
using LonLatCoords = bg::cs::spherical_equatorial<bg::degree>;
bg::model::ring<bg::model::point<double, 2, LonLatCoords>> sphericalPolygon;
auto const addPoint = [&sphericalPolygon](auto const & point) {
auto const addPoint = [&sphericalPolygon](auto const & point)
{
auto const latlon = mercator::ToLatLon(point);
sphericalPolygon.emplace_back(latlon.m_lon, latlon.m_lat);
};