Commit Graph

2570 Commits

Author SHA1 Message Date
Barend Gehrels
13cfa67d75 cleanup: RescalePolicy -> RobustPolicy, and removed corresponding define 2014-04-23 16:22:16 +02:00
Barend Gehrels
ed1f680e6d [get_rescale_policy] follow up, avoid casts, use numeric constants for ttmath 2014-04-23 15:37:51 +02:00
Barend Gehrels
cc71c5dbfb [get_rescale_policy] processed review comments and avoid type "double" 2014-04-23 15:31:51 +02:00
Barend Gehrels
1ebe08921d [segment_ratio] added spaces 2014-04-23 15:15:51 +02:00
Barend Gehrels
c032c2799f [segment_ratio] processed review comments 2014-04-23 15:02:41 +02:00
Barend Gehrels
edc2c04c3d commented calculating distance policy 2014-04-23 13:32:46 +02:00
Barend Gehrels
8af53613b9 added no_rescale_policy for follow linear/linear 2014-04-23 13:32:32 +02:00
Barend Gehrels
d228fb8523 added robust_policy which is, for linear/linear or pointlike/pointlike,
not used in the end
2014-04-23 13:31:23 +02:00
Barend Gehrels
2bfede47f3 updated tests due to changes in rescale_to_integer branch 2014-04-23 13:30:00 +02:00
Barend Gehrels
b0b9503f81 renamed variable which was not detected by the merge 2014-04-23 13:28:20 +02:00
Barend Gehrels
1ef54cd00a Added missing includes which are now necessary 2014-04-23 13:27:55 +02:00
Barend Gehrels
dc2993ae3a Merge branch 'develop' into rescale_to_integer
Conflicts:
	include/boost/geometry/algorithms/detail/relate/turns.hpp
	include/boost/geometry/algorithms/touches.hppq
2014-04-23 13:26:59 +02:00
Adam Wulkiewicz
bdacc633aa Merge branch 'develop' of github.com:boostorg/geometry into develop 2014-04-22 16:39:47 +02:00
Adam Wulkiewicz
18b4c3e472 [test][index] Add /bigobj for MSVC to Jamfiles for most of the tests 2014-04-22 16:39:02 +02:00
Adam Wulkiewicz
fdb1afaf20 [test][doc][index] replace <toolset>gcc-mingw with <toolset>gcc,<target-os>windows in Jamfiles.
This fixes the ticket 9858.
One Jamfile defines tests for rtree+Interprocess, the second one docs examples using Interprocess.
2014-04-22 16:25:04 +02:00
Barend Gehrels
61f3ecfa0b updated release notes for ticket #9871 2014-04-21 19:46:49 +02:00
Barend Gehrels
c3bd204708 [remove_spikes] Fixed polygons consisting only of a spike.
If so, spike is now removed and only one point is left.
2014-04-21 19:44:42 +02:00
Barend Gehrels
561fab72d2 Fixed expectactions for difference_spike, after enhanced IP calculation 2014-04-19 21:39:49 +02:00
Barend Gehrels
2077f81164 Merge branch 'rescale_to_integer' of github.com:boostorg/geometry into rescale_to_integer 2014-04-19 20:01:16 +02:00
Barend Gehrels
d54ced58d4 Use smallest of the segment_ratios to calculate the intersection point,
w.r.t. either segment a or segment b.
This results in small differences in the unit test for difference, which are
checked visually and/or compared with other output. In these cases it is
an enhancement
2014-04-19 19:59:14 +02:00
Adam Wulkiewicz
ec576e827c [doc] Change non-portable run_command rm to os.remove in make_qbk scripts 2014-04-19 02:29:54 +02:00
Adam Wulkiewicz
a0d03ed4cf [test] Divide relate() test into several smaller ones.
The intention is to prevent creation of too big files in MinGW.
Move predefined Geometries for relops from test_relate.hpp to predef_relop.hpp
Move test_geometry<> defined in relate.cpp to test_relate.hpp
2014-04-17 13:55:28 +02:00
Adam Wulkiewicz
b87400d822 [test][within] Divide within() test into several smaller files.
The intention is to prevent creation of too big files in MinGW.
2014-04-17 13:30:51 +02:00
Adam Wulkiewicz
d4bcf8dcc8 [iterators][relate] Fix Intel 11 compilation errors. 2014-04-17 12:09:07 +02:00
Adam Wulkiewicz
a7f1521756 [relate] Fix GCC 4.4 and 4.5 compilation errors
Explicitly define namespace for the call relate::set<> in implementations of relate().
2014-04-17 01:53:55 +02:00
Adam Wulkiewicz
08cc83be49 [geometry] Fix compilation errors
point_in_geometry - Intel 11 probably can't handle BOOST_STATIC_ASSERT() inside which some template is directly instiantated - replace by intermediate value + BOOST_MPL_ASSERT_MSG for better error message.
multi_touches test - include missing header
2014-04-17 01:42:48 +02:00
Adam Wulkiewicz
2d6cc4feae Merge pull request #15 from mkaravel/feature/setops
[test][set ops] remove linking dependency with Boost.Test for P/P and L/...
2014-04-16 12:12:38 +02:00
Adam Wulkiewicz
02707c1ded Merge pull request #14 from mkaravel/feature/point_iterator
[test][iterator] remove linking dependency with Boost.Test framework
2014-04-16 12:01:48 +02:00
Menelaos Karavelas
14df2155d2 [test][set ops] remove linking dependency with Boost.Test for P/P and L/L unit tests for union 2014-04-16 12:51:07 +03:00
Menelaos Karavelas
fade99b3b8 [test][iterator] remove linking dependency with Boost.Test framework 2014-04-16 12:45:44 +03:00
Barend Gehrels
d3876c017f Removed dependancy on linking with Boost.Test, using header only 2014-04-16 11:18:46 +02:00
Adam Wulkiewicz
5ab27a4594 Merge branch 'develop' into feature/relate 2014-04-15 17:04:49 +02:00
Adam Wulkiewicz
23081a7c06 [point_on_surface] Fix GCC4.4 compilation error and polish the interface.
Explicitly define the namespace geometry.
Add doxygen description to return_point_on_surface().
2014-04-15 17:02:44 +02:00
Adam Wulkiewicz
aacf2618b9 [touches] added missing #include 2014-04-15 16:43:48 +02:00
Adam Wulkiewicz
4a4dbf4512 [relate][touches] Implement touches() for L/L and L/A using relate(), fix error in L/A.
Enable touches() for other pairs of Geometries.
Implement ready-to-use in the implementations of relate() less comparators of operations.
Change the less comparator for L/A.
Fix: handling of the entry/interior for some turn with MultiID which comes before union for some other turn with different MultiID.
Finish the support for boost::mpl::vector<> as a complex StaticMask.
2014-04-15 16:28:35 +02:00
Adam Wulkiewicz
d5491fc289 Merge pull request #13 from mkaravel/feature/setops
[doc][difference] update behavior: add entries for L/L and P/P geometries
2014-04-15 11:38:09 +02:00
Menelaos Karavelas
2c43c9d418 [doc][difference] update behavior: add entries for L/L and P/P geometries 2014-04-15 08:56:59 +03:00
Adam Wulkiewicz
eb11e26e14 Merge pull request #12 from mkaravel/feature/setops
[set ops] polish code and use std::find_if (suggestions by Adam);
2014-04-15 01:06:33 +02:00
Menelaos Karavelas
7ff3f1089d [set ops] polish code and use std::find_if (suggestions by Adam); 2014-04-15 01:53:55 +03:00
Adam Wulkiewicz
b5a1d2fd98 Merge pull request #11 from mkaravel/feature/setops
Feature/setops
2014-04-14 21:39:38 +02:00
Adam Wulkiewicz
81331a25bc Merge pull request #10 from mkaravel/feature/point_iterator
[point iterator] use the unit test framework library in unit tests
2014-04-14 21:38:02 +02:00
Menelaos Karavelas
1da360a8f3 [iterators] add missing includes; rename InnerRange to inner_range (coding standards); 2014-04-14 11:09:57 +03:00
Menelaos Karavelas
70a5fafba9 [test][algorithms][set ops] replace BOOST_CHECK by BOOST_CHECK_MESSAGE and in case of error output the two geometries, the expected and the computed results 2014-04-14 10:36:12 +03:00
Menelaos Karavelas
fffc55d677 [set ops] polish/simplify follow L/L code; change some vairable names that are confusing; 2014-04-14 10:00:08 +03:00
Menelaos Karavelas
2427b4a904 [set ops] remove #ifdef/#endif block used for debugging 2014-04-14 09:59:36 +03:00
Menelaos Karavelas
ccf03245a5 [point iterator] use the unit test framework library in unit tests (instead of include the test framework and compile it each time) 2014-04-14 02:12:59 +03:00
Adam Wulkiewicz
7d028ab2d9 Merge pull request #9 from mkaravel/feature/setops
[set ops][follow L/L] fix bug appearing in regression tests
2014-04-12 11:26:02 +02:00
Menelaos Karavelas
b10bf20996 [set ops][follow L/L] fix bug appearing in regression tests regarding dereferencing a non-dereferencable iterator 2014-04-12 11:49:58 +03:00
Adam Wulkiewicz
0631d4ca52 [test][touches] remove invalid #include in multi_touches test 2014-04-12 03:19:11 +02:00
Adam Wulkiewicz
18d28c3839 [geometry] fix invalid #include 2014-04-12 02:46:13 +02:00