Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r71321 - trunk/boost/geometry/algorithms
From: barend.gehrels_at_[hidden]
Date: 2011-04-16 09:16:27


Author: barendgehrels
Date: 2011-04-16 09:16:26 EDT (Sat, 16 Apr 2011)
New Revision: 71321
URL: http://svn.boost.org/trac/boost/changeset/71321

Log:
Added/updated doc/examples for assign/convert/convex_hull
Text files modified:
   trunk/boost/geometry/algorithms/assign.hpp | 10 +++++++++-
   trunk/boost/geometry/algorithms/convert.hpp | 4 ++--
   trunk/boost/geometry/algorithms/convex_hull.hpp | 6 +++---
   3 files changed, 14 insertions(+), 6 deletions(-)

Modified: trunk/boost/geometry/algorithms/assign.hpp
==============================================================================
--- trunk/boost/geometry/algorithms/assign.hpp (original)
+++ trunk/boost/geometry/algorithms/assign.hpp 2011-04-16 09:16:26 EDT (Sat, 16 Apr 2011)
@@ -249,9 +249,17 @@
 \tparam Geometry2 \tparam_geometry
 \param geometry1 \param_geometry (target)
 \param geometry2 \param_geometry (source)
+
+\qbk{
+[heading Example]
+[assign] [assign_output]
+
+[heading See also]
+\* [link geometry.reference.algorithms.convert convert]
+}
  */
 template <typename Geometry1, typename Geometry2>
-inline void assign_rev(Geometry1& geometry1, Geometry2 const& geometry2)
+inline void assign(Geometry1& geometry1, Geometry2 const& geometry2)
 {
     concept::check_concepts_and_equal_dimensions<Geometry1, Geometry2 const>();
 

Modified: trunk/boost/geometry/algorithms/convert.hpp
==============================================================================
--- trunk/boost/geometry/algorithms/convert.hpp (original)
+++ trunk/boost/geometry/algorithms/convert.hpp 2011-04-16 09:16:26 EDT (Sat, 16 Apr 2011)
@@ -244,8 +244,8 @@
 \tparam Geometry2 \tparam_geometry
 \param geometry1 \param_geometry (source)
 \param geometry2 \param_geometry (target)
-\note It is moved to namespace detail because it overlaps functionality
- of assign.
+
+\qbk{[include reference/algorithms/convert.qbk]}
  */
 template <typename Geometry1, typename Geometry2>
 inline void convert(Geometry1 const& geometry1, Geometry2& geometry2)

Modified: trunk/boost/geometry/algorithms/convex_hull.hpp
==============================================================================
--- trunk/boost/geometry/algorithms/convex_hull.hpp (original)
+++ trunk/boost/geometry/algorithms/convex_hull.hpp 2011-04-16 09:16:26 EDT (Sat, 16 Apr 2011)
@@ -152,8 +152,10 @@
 \details \details_calc{convex_hull,convex hull}.
 \tparam Geometry1 \tparam_geometry
 \tparam Geometry2 \tparam_geometry
-\param geometry \param_geometry, used for input
+\param geometry \param_geometry, input geometry
 \param hull \param_geometry \param_set{convex hull}
+
+\qbk{[include reference/algorithms/convex_hull.qbk]}
  */
 template<typename Geometry1, typename Geometry2>
 inline void convex_hull(Geometry1 const& geometry,
@@ -241,8 +243,6 @@
 #endif // DOXYGEN_NO_DETAIL
 
 
-
-
 }} // namespace boost::geometry
 
 


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