From 9169673d902cf7992046b0ebc4390091cdd4594b Mon Sep 17 00:00:00 2001 From: Adam Wulkiewicz Date: Thu, 11 Dec 2014 01:38:13 +0100 Subject: [PATCH] [algorithms] Add description of azimuth. --- include/boost/geometry/algorithms/detail/azimuth.hpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/boost/geometry/algorithms/detail/azimuth.hpp b/include/boost/geometry/algorithms/detail/azimuth.hpp index ac4657c74..7810b4814 100644 --- a/include/boost/geometry/algorithms/detail/azimuth.hpp +++ b/include/boost/geometry/algorithms/detail/azimuth.hpp @@ -27,6 +27,13 @@ namespace boost { namespace geometry { +// An azimuth is an angle between a vector/segment from origin to a point of +// interest and a reference vector. Typically north-based azimuth is used. +// North direction is used as a reference, angle is measured clockwise +// (North - 0deg, East - 90deg). For consistency in 2d cartesian CS +// the reference vector is Y axis, angle is measured clockwise. +// http://en.wikipedia.org/wiki/Azimuth + #ifndef DOXYGEN_NO_DISPATCH namespace detail_dispatch {