Skip to content

Commit

Permalink
Applied clang-format.
Browse files Browse the repository at this point in the history
  • Loading branch information
wawanbreton authored and github-actions[bot] committed Apr 11, 2024
1 parent 2116cae commit 2e82935
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/utils/polygonUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1008,7 +1008,8 @@ std::unique_ptr<LocToLineGrid> PolygonUtils::createLocToLineGrid(const Shape& po
*
* We could skip the duplication by keeping a vector of vectors of bools.
*/
std::optional<ClosestPointPolygon> PolygonUtils::findClose(Point2LL from, const Shape& polygons, const LocToLineGrid& loc_to_line, const std::function<int(Point2LL)>& penalty_function)
std::optional<ClosestPointPolygon>
PolygonUtils::findClose(Point2LL from, const Shape& polygons, const LocToLineGrid& loc_to_line, const std::function<int(Point2LL)>& penalty_function)
{
std::vector<PolygonsPointIndex> near_lines = loc_to_line.getNearby(from, loc_to_line.getCellSize());

Expand Down

0 comments on commit 2e82935

Please sign in to comment.