From 4881b94ee66e6e4470beacf2df07edeff9d9f07a Mon Sep 17 00:00:00 2001 From: Adam Wulkiewicz Date: Thu, 6 Feb 2014 00:47:16 +0100 Subject: [PATCH] added a comment --- .../multi/algorithms/detail/within/point_in_geometry.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/boost/geometry/multi/algorithms/detail/within/point_in_geometry.hpp b/include/boost/geometry/multi/algorithms/detail/within/point_in_geometry.hpp index b9ef5e406..da8005512 100644 --- a/include/boost/geometry/multi/algorithms/detail/within/point_in_geometry.hpp +++ b/include/boost/geometry/multi/algorithms/detail/within/point_in_geometry.hpp @@ -84,6 +84,8 @@ struct point_in_geometry if ( pip < 0 ) return -1; + // TODO: the following isn't needed for covered_by() + unsigned boundaries = pip == 0 ? 1 : 0; for ( ; it != boost::end(geometry) ; ++it )