|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r84697 - in trunk/boost/geometry: algorithms core
From: barend.gehrels_at_[hidden]
Date: 2013-06-08 13:49:41
Author: barendgehrels
Date: 2013-06-08 13:49:41 EDT (Sat, 08 Jun 2013)
New Revision: 84697
URL: http://svn.boost.org/trac/boost/changeset/84697
Log:
[geometry] fixed documentation of return_buffer and exterior_ring
Text files modified:
trunk/boost/geometry/algorithms/buffer.hpp | 7 ++++---
trunk/boost/geometry/core/exterior_ring.hpp | 2 +-
2 files changed, 5 insertions(+), 4 deletions(-)
Modified: trunk/boost/geometry/algorithms/buffer.hpp
==============================================================================
--- trunk/boost/geometry/algorithms/buffer.hpp Sat Jun 8 13:43:48 2013 (r84696)
+++ trunk/boost/geometry/algorithms/buffer.hpp 2013-06-08 13:49:41 EDT (Sat, 08 Jun 2013) (r84697)
@@ -145,11 +145,12 @@
\tparam Distance \tparam_numeric
\param geometry \param_geometry
\param distance The distance to be used for the buffer
-\param chord_length (optional) The length of the chord's in the generated arcs around points or bends
+\param chord_length (optional) The length of the chord's in the generated arcs
+ around points or bends
\return \return_calc{buffer}
*/
-template <typename Output, typename Input, typename T>
-Output return_buffer(Input const& geometry, T const& distance, T const& chord_length = -1)
+template <typename Output, typename Input, typename Distance>
+Output return_buffer(Input const& geometry, Distance const& distance, Distance const& chord_length = -1)
{
concept::check<Input const>();
concept::check<Output>();
Modified: trunk/boost/geometry/core/exterior_ring.hpp
==============================================================================
--- trunk/boost/geometry/core/exterior_ring.hpp Sat Jun 8 13:43:48 2013 (r84696)
+++ trunk/boost/geometry/core/exterior_ring.hpp 2013-06-08 13:49:41 EDT (Sat, 08 Jun 2013) (r84697)
@@ -101,7 +101,7 @@
\brief Function to get the exterior_ring ring of a polygon
\ingroup exterior_ring
\note OGC compliance: instead of ExteriorRing
- \tparam P polygon type
+ \tparam Polygon polygon type
\param polygon the polygon to get the exterior ring from
\return a reference to the exterior ring
*/
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk