From 9231f87bfbcba25e370f36bdeaed87ea19994063 Mon Sep 17 00:00:00 2001 From: Barend Gehrels Date: Wed, 30 Oct 2019 14:45:07 +0100 Subject: [PATCH] [various] minor typos and removed unused include --- .../geometry/algorithms/detail/buffer/get_piece_turns.hpp | 1 - .../detail/overlay/get_turn_info_for_endpoint.hpp | 6 +++--- include/boost/geometry/formulas/sjoberg_intersection.hpp | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/include/boost/geometry/algorithms/detail/buffer/get_piece_turns.hpp b/include/boost/geometry/algorithms/detail/buffer/get_piece_turns.hpp index b2af001be..1b7d3f02c 100644 --- a/include/boost/geometry/algorithms/detail/buffer/get_piece_turns.hpp +++ b/include/boost/geometry/algorithms/detail/buffer/get_piece_turns.hpp @@ -19,7 +19,6 @@ #include #include -#include #include #include #include diff --git a/include/boost/geometry/algorithms/detail/overlay/get_turn_info_for_endpoint.hpp b/include/boost/geometry/algorithms/detail/overlay/get_turn_info_for_endpoint.hpp index 521744df8..40e19ec71 100644 --- a/include/boost/geometry/algorithms/detail/overlay/get_turn_info_for_endpoint.hpp +++ b/include/boost/geometry/algorithms/detail/overlay/get_turn_info_for_endpoint.hpp @@ -55,7 +55,7 @@ namespace detail { namespace overlay { // <----| // |-------> 2 0 0 1 -1 F and i/i x/u -// |-------> 2 0 0 -1 1 F symetric i/i u/x +// |-------> 2 0 0 -1 1 F symmetric i/i u/x // |-------> // // |-------> 2 0 0 -1 -1 T i/u u/i @@ -74,7 +74,7 @@ namespace detail { namespace overlay { // <-----| // // |-----> 1 -1 0 -1 0 F and u/x -// |-----> 1 0 -1 0 -1 F symetric x/u +// |-----> 1 0 -1 0 -1 F symmetric x/u // |-----> // D0 or D1 != 0 @@ -82,7 +82,7 @@ namespace detail { namespace overlay { // ^ // | // + 1 -1 1 -1 1 F and u/x (P is vertical) -// |--------> 1 1 -1 1 -1 F symetric x/u (P is horizontal) +// |--------> 1 1 -1 1 -1 F symmetric x/u (P is horizontal) // ^ // | // + diff --git a/include/boost/geometry/formulas/sjoberg_intersection.hpp b/include/boost/geometry/formulas/sjoberg_intersection.hpp index 49358fcc1..12abb7675 100644 --- a/include/boost/geometry/formulas/sjoberg_intersection.hpp +++ b/include/boost/geometry/formulas/sjoberg_intersection.hpp @@ -884,7 +884,7 @@ private: // 3. f1-f2 may be 0 which means that the intermediate point is on the vertex // In this case it's not possible to check if this is the correct result // 4. f1-f2 may also be 0 in other cases, e.g. - // geodesics are symetrical wrt equator and longitude directions are different + // geodesics are symmetrical wrt equator and longitude directions are different CT const dbeta_denom = f1 - f2; //CT const dbeta_denom = math::abs(f1) + math::abs(f2);