|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r85150 - trunk/boost/geometry/extensions/nsphere/algorithms
From: barend.gehrels_at_[hidden]
Date: 2013-07-24 09:14:00
Author: barendgehrels
Date: 2013-07-24 09:14:00 EDT (Wed, 24 Jul 2013)
New Revision: 85150
URL: http://svn.boost.org/trac/boost/changeset/85150
Log:
[geometry][extension] adapted nsphere/within to new distance strategy structure
Text files modified:
trunk/boost/geometry/extensions/nsphere/algorithms/within.hpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Modified: trunk/boost/geometry/extensions/nsphere/algorithms/within.hpp
==============================================================================
--- trunk/boost/geometry/extensions/nsphere/algorithms/within.hpp Wed Jul 24 04:46:08 2013 (r85149)
+++ trunk/boost/geometry/extensions/nsphere/algorithms/within.hpp 2013-07-24 09:14:00 EDT (Wed, 24 Jul 2013) (r85150)
@@ -55,7 +55,7 @@
<
point_tag, P, point_type
>::type strategy_type;
- typedef typename services::return_type<strategy_type>::type return_type;
+ typedef typename services::return_type<strategy_type, P, point_type>::type return_type;
strategy_type strategy;
@@ -63,7 +63,7 @@
return_type const r = geometry::distance(p, center, strategy);
return_type const rad = services::result_from_distance
<
- strategy_type
+ strategy_type, P, point_type
>::apply(strategy, get_radius<0>(c));
return r < rad;
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