Re: [Boost-bugs] [Boost C++ Libraries] #12725: boost::geometry::distance compile errors with 3D segment primitives

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #12725: boost::geometry::distance compile errors with 3D segment primitives
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-01-16 02:39:25


#12725: boost::geometry::distance compile errors with 3D segment primitives
-------------------------------------+-------------------------------------
  Reporter: Arturo Blas | Owner: barendgehrels
  <arturoblas@…> | Status: new
      Type: Feature Requests | Component: geometry
 Milestone: To Be Determined | Severity: Showstopper
   Version: Boost 1.60.0 | Keywords: rtree, geometry,
Resolution: | distance
-------------------------------------+-------------------------------------
Changes (by awulkiew):

 * type: Bugs => Feature Requests

Comment:

 Yes, it seems that disjoint/intersects is not yet implemented for
 N-dimensional segments. And distance() calls this algorithm.

 As a workaround you could store bounding boxes of segments in the R-tree,
 then search for Boxes nearest to some query Box using iterative query, in
 each iteration check the actual distance between segments using your own
 implementation and stop if your k-th found segment is closer than the
 distance between the bounding box passed into the query and the bounding
 box found in the current iteration. So basically use the index how you'd
 use it for any other Geometry.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/12725#comment:3>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:20 UTC