[extensions] Fix NSphere compilation issues.

The fixes are rather temporary workarounds (see comments in the code).
This commit is contained in:
Adam Wulkiewicz
2014-06-05 19:06:06 +02:00
parent 51fc37e43b
commit 55a8ad35f8
2 changed files with 7 additions and 1 deletions

View File

@@ -18,9 +18,12 @@
namespace boost { namespace geometry
{
// TEMP: areal_tag commented out to prevent falling into the implementation for Areal geometries
// in the new implementation of disjoint().
// Besides this tag is invalid in the case of Dimension != 2
/// Convenience 2D (circle) or 3D (sphere) n-sphere identifying tag
struct nsphere_tag : single_tag, areal_tag{};
struct nsphere_tag : single_tag/*, areal_tag*/ {};

View File

@@ -14,6 +14,9 @@
#ifndef BOOST_GEOMETRY_EXTENSIONS_NSPHERE_HPP
#define BOOST_GEOMETRY_EXTENSIONS_NSPHERE_HPP
// TEMP - remove it after brakeing the comparable_distance code into the interface and implementation
#include <boost/geometry.hpp>
#include <boost/geometry/extensions/nsphere/core/access.hpp>
#include <boost/geometry/extensions/nsphere/core/geometry_id.hpp>
#include <boost/geometry/extensions/nsphere/core/radius.hpp>