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

@@ -17,13 +17,11 @@ pugi::xml_node GetBestOsmWayOrRelation(pugi::xml_document const & osmResponse,
/// Returns value form [-1, 1]. Negative values are used as penalty, positive as score.
/// |lhs| and |rhs| - triangulated polygons.
/// Throws NotAPolygon exception when either lhs or rhs is not convertible to a polygon.
double ScoreTriangulatedGeometries(std::vector<m2::PointD> const & lhs,
std::vector<m2::PointD> const & rhs);
double ScoreTriangulatedGeometries(std::vector<m2::PointD> const & lhs, std::vector<m2::PointD> const & rhs);
/// Deprecated, use ScoreTriangulatedGeometries instead. In the older versions of the editor, the
/// edits.xml file didn't contain the necessary geometry information, so we cannot restore the
/// original geometry of a particular feature and thus can't use the new algo that is dependent on
/// correct feature geometry to calculate scores.
// TODO(a): To remove it when version 8.0.x is no longer supported.
double ScoreTriangulatedGeometriesByPoints(std::vector<m2::PointD> const & lhs,
std::vector<m2::PointD> const & rhs);
} // namespace osm
double ScoreTriangulatedGeometriesByPoints(std::vector<m2::PointD> const & lhs, std::vector<m2::PointD> const & rhs);
} // namespace matcher