mirror of
https://github.com/boostorg/geometry.git
synced 2026-02-11 11:52:11 +00:00
[extensions] Fix NSphere compilation issues.
The fixes are rather temporary workarounds (see comments in the code).
This commit is contained in:
@@ -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*/ {};
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user