3091 Commits

Author SHA1 Message Date
Menelaos Karavelas
a7beb51f92 [test][util] guard use of boost::long_long_type inside a
BOOST_HAS_LONG_LONG block
2014-06-16 14:54:18 +03:00
Adam Wulkiewicz
bee0fdc0ae Merge pull request #60 from mkaravel/feature/math-sqrt
[test][util] replace compile time check that uses __cplusplus
2014-06-16 13:36:58 +02:00
Menelaos Karavelas
d265965b2e [test][util] replace 2LL literal by boost::long_long_type(2) 2014-06-16 14:36:11 +03:00
Menelaos Karavelas
c48fd6f903 [test][util] replace compile time check that uses __cplusplus
with BOOST_NO_LONG_LONG
2014-06-16 14:27:52 +03:00
Adam Wulkiewicz
76b13c42bc [util][math] Add the conversion to double (C++11 approach) before passing the integral argument to std::sqrt() 2014-06-16 13:04:22 +02:00
Adam Wulkiewicz
1403662e39 [doc] Update status matrices for intersects() and disjoints() 2014-06-16 03:59:07 +02:00
Adam Wulkiewicz
76917a4e70 [within][covered_by][test][doc] Support Point in Segment.
Add tests and update implementation status.
Add the test for intersects(Point, Segment).
2014-06-16 03:49:51 +02:00
Barend Gehrels
2c730125c2 [doc] update release notes 2014-06-15 17:33:49 +02:00
Adam Wulkiewicz
7e71bdfbbb Merge branch 'develop' of github.com:boostorg/geometry into develop 2014-06-15 02:40:42 +02:00
Adam Wulkiewicz
b9ff3a7fc4 [index][strategies][test] Modify some of the header includes.
The purpose of this is to allow the compilation of the rtree without the need of including the geometry.hpp ond require only index/rtree.hpp or to make the order of includes irrelevant.
Furthermore, this is backward compatible.

Add missing variant include in the intersection tests.
Fix the unused typedefs in the pythagoras_point_box test.
2014-06-15 02:29:57 +02:00
Adam Wulkiewicz
35b2f91ee4 [extensions][offset] Update #includes to include the moved buffer code 2014-06-14 17:34:10 +02:00
Barend Gehrels
264e9676f0 [buffer] avoid unused variable warnings
and replace BOOST_TYPEOF by iterator_traits
2014-06-14 11:53:50 +02:00
Barend Gehrels
1e7a631379 [buffer] rename check_original to turn_in_input
comparable to point_in_geometry.
This removes multi_buffer_inserter
2014-06-14 11:39:49 +02:00
Barend Gehrels
9db3329fe5 [buffer] move (dispatch) code for multi to buffer_inserter itself
This also tags the cast to multi_tag
2014-06-14 11:38:39 +02:00
Barend Gehrels
4a388f855d Merge branch 'develop' of github.com:boostorg/geometry into develop 2014-06-14 11:03:44 +02:00
Barend Gehrels
723435de6c [buffer] remove debug functionality
The lines which are warnings are now protected by BOOST_GEOMETRY_DEBUG_BUFFER_WARN
2014-06-14 11:03:23 +02:00
Barend Gehrels
e00e307f2f [buffer] remove unused functionality 2014-06-14 11:01:42 +02:00
Barend Gehrels
cee0903f2d [buffer] Remove buffer_piece_collection_with_mapper
this was a debugging tool. It is now replaced by a visiting policy (like
in partition), and implemented in the unit test itself
2014-06-14 10:57:59 +02:00
Adam Wulkiewicz
c757cf96a6 Merge pull request #56 from mkaravel/feature/math-sqrt
Feature/math sqrt
2014-06-14 03:54:52 +02:00
Menelaos Karavelas
c962616ff5 Merge branch 'develop' of https://github.com/boostorg/geometry into feature/math-sqrt
Conflicts:
	include/boost/geometry/algorithms/detail/buffer/buffer_inserter.hpp
2014-06-14 01:58:01 +03:00
Barend Gehrels
fdd983ce72 [buffer] Changes in (folder)locations of strategies, and
moved buffer_side_selector and piece_type used by strategies.
2014-06-13 21:30:53 +02:00
Barend Gehrels
c96d6394a9 [buffer] update include guards/copyright info 2014-06-13 20:45:34 +02:00
Barend Gehrels
31af14453a [buffer] Move from extensions to algorithms/detail 2014-06-13 20:26:33 +02:00
Adam Wulkiewicz
8fe51dbd6c [test] Remove the #includes of geometry.hpp and multi/* from the relops tests 2014-06-13 18:48:14 +02:00
Adam Wulkiewicz
327819b687 [extensions][nsphere][test] Remove unused typedefs. Rename tests. 2014-06-13 18:06:07 +02:00
Adam Wulkiewicz
34fc6030ef [extensions][test][projections] Fix compilation error in projections test. 2014-06-13 17:51:56 +02:00
Adam Wulkiewicz
3edeaeb2af [algorithms][io][test] Fix some rather harmless conversions warnings and add /bigobj for some tests for VS. 2014-06-13 16:13:35 +02:00
Barend Gehrels
9e05551e80 [buffer][unit test] exclude currently failing cure, make test more precise 2014-06-12 23:14:09 +02:00
Barend Gehrels
5085c749b1 [has_self_intersections] bugfix (did not return true when exception found) and
added optional parameter for non-throwing behaviour.
Use this from test_buffer instead
2014-06-12 23:00:57 +02:00
Barend Gehrels
0ecc80a10a [buffer] disable get_occupation, remove commented left_turn handling 2014-06-12 22:43:09 +02:00
Barend Gehrels
5a345ae2d4 [buffer] performance improvement - only consider overlapping pieces 2014-06-12 22:41:41 +02:00
Barend Gehrels
bdd2cc1ac6 [buffer] revert replacement of covered_by with within 2014-06-12 22:41:11 +02:00
Barend Gehrels
7531e541b2 Merge branch 'develop' of github.com:boostorg/geometry into develop 2014-06-12 18:51:44 +02:00
Barend Gehrels
d06c25bc5f [buffer] Remove helper functions now not used/need anymore 2014-06-12 18:50:47 +02:00
Adam Wulkiewicz
284e74b240 [doc] Update the note about the supported Geometries for touches() 2014-06-12 01:45:33 +02:00
Adam Wulkiewicz
08f48ea366 [doc][index] Rearrange knn queries images 2014-06-12 01:38:58 +02:00
Adam Wulkiewicz
d895e84431 [doc][index] Add expected results and some comments to the examples. Add import of the mapped_file example. 2014-06-12 00:01:43 +02:00
Adam Wulkiewicz
e277cce32f Merge pull request #57 from awulkiew/fix/boost_polygon
Fix/boost polygon
2014-06-11 16:57:38 +02:00
Barend Gehrels
0f930efb21 [buffer] enhanced (a bit) check for within piece / original
and renamed classify functions / moved code
2014-06-11 15:55:09 +02:00
Barend Gehrels
da1a8da80b [buffer] use partition to check relation turn/piece 2014-06-11 15:53:31 +02:00
Barend Gehrels
fd4f0abb1d various minor things, remove redundant static, fix capitals, typo 2014-06-11 15:16:29 +02:00
Barend Gehrels
623f2896e0 [buffer] Update robust_envelope at inserting robust intersection point 2014-06-11 14:25:28 +02:00
Barend Gehrels
0287c1d3bb [partition] support heterogenous collections 2014-06-11 14:17:09 +02:00
Barend Gehrels
b0786ddff1 [partition] fix non-svg unit test 2014-06-11 13:41:02 +02:00
Barend Gehrels
a707a887f2 [partition] add unit test for partition of two collections 2014-06-11 13:29:40 +02:00
Barend Gehrels
269afda349 [partition] fix unit test
check was only done if SVG was enabled
2014-06-11 13:28:42 +02:00
Barend Gehrels
88db68b6f7 [buffer][get_piece_turns] comments/layout changes 2014-06-11 13:01:11 +02:00
Barend Gehrels
22a8870012 [buffer] remove specific assign for buffer and is_opposite
opposite information is not used anymore
2014-06-11 12:55:55 +02:00
Barend Gehrels
14f3d76505 [buffer] move calculate_turns to get_piece_turn visitor where it is used from
this also uses the standard assign-policy for get_turn_info
2014-06-11 12:55:21 +02:00
Barend Gehrels
36708948c9 [buffer] use partition algorithm to calculate turns in piece-offsets 2014-06-11 10:51:21 +02:00