Commit Graph

8536 Commits

Author SHA1 Message Date
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
1c301e7503 Merge branch 'develop' of https://github.com/boostorg/geometry into feature/is_simple 2014-04-14 03:05:01 +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
Adam Wulkiewicz
f689693b80 Merge branch 'feature/relate' into develop 2014-04-12 02:10:13 +02:00
Adam Wulkiewicz
7f150855eb [within][covered_by] enable default relate strategy for cases other than P/P and P/* as far as CS is the same 2014-04-12 02:08:38 +02:00
Adam Wulkiewicz
d7b7df8614 [within][covered_by] Add the support for Areal geometries for within() and all OGC geometries for covered_by().
Also the specializations for Multi Geometries was moved from geometry/multi/algorithms to geometry/algorithms. They're now in one place.
The default strategies are point_in_point for PointLike, winding<> for PointLike/AnyGeometry, relate for L/L, L/A and A/A.
Point/MultiGeometry version now uses point_in_geometry directly which implements the correct behavior - this fixes the wrong handling of MultiLinestrings (boundary point of a Linestring may not be a boundary point of a MultiLinestring which contains it).
2014-04-12 01:40:27 +02:00
Adam Wulkiewicz
e1ab9f8b26 [test][index] add a check for the order of resulting Values of a k-NN query iterator 2014-04-11 15:49:48 +02:00
Adam Wulkiewicz
dfe76adb2a [doc][index] Add info about the query iterators - k-NN order and invalidation 2014-04-11 14:08:26 +02:00
Adam Wulkiewicz
2e0f04d8af Merge pull request #8 from mkaravel/feature/setops
[test][algorithms] modify Jamfile to work with unit tests for P/P and L/L set ops
2014-04-10 23:07:47 +02:00
Menelaos Karavelas
4b7549a39a [test][algorithms] do linking of the unit test framework on a per-unit-test basis 2014-04-11 00:04:40 +03:00
Menelaos Karavelas
b9ea14b76d [test][algorithms] modify Jamfile to work with unit tests for P/P and L/L set ops (need to require that the unit test framework library is available for linking) 2014-04-10 23:39:10 +03:00
Adam Wulkiewicz
51c7957e69 [convex_hull] fix uninitialized pointers in ConvexHullStrategy concept check 2014-04-10 22:38:47 +02:00
Adam Wulkiewicz
93a2a5bc48 [relate][overlaps][crosses] Add unified way to implement the default dispatch of spatial relation
Add relate_base derived from not_implemented<> if necessary for the purpose of support_status check.
This class is derived from not_implemented<> if either StaticMaskTrait or detail_dispatch::relate::relate is derived from nyi::not_implemented_tag.
Use this technique in crosses() and overlaps().
2014-04-10 18:09:54 +02:00
Adam Wulkiewicz
8dbdb6705e Merge pull request #7 from mkaravel/feature/setops
[test][get_turns] replace AssignPolicy by assign_policy
2014-04-10 14:58:38 +02:00
Menelaos Karavelas
b88dbfb0cd [test][get_turns] replace AssignPolicy by assign_policy 2014-04-10 15:46:43 +03:00
Adam Wulkiewicz
7cbd488287 Merge pull request #6 from mkaravel/feature/setops
Feature/setops
2014-04-10 14:35:36 +02:00
Menelaos Karavelas
b03318a647 [test] fixed header macros for the from_wkt.hpp file 2014-04-10 15:24:46 +03:00
Menelaos Karavelas
22274430b4 [set ops] remove #ifndef/#endif commands (not needed any more); 2014-04-10 15:13:48 +03:00
Menelaos Karavelas
63365a8208 [test][set ops] clean up code; finish up unit test for L/L union; 2014-04-10 15:13:02 +03:00
Menelaos Karavelas
6646470a55 Merge branch 'develop' of https://github.com/boostorg/geometry into feature/setops-develop 2014-04-10 10:03:43 +03:00
Menelaos Karavelas
fc6ae619ac [test][algorithms] add tests for set operations of L/L and P/P geometries; update copyright header; 2014-04-10 09:25:30 +03:00
Menelaos Karavelas
9f5252be0e [set ops] Barend's review: (1) fix #includes; (2) remove //===.. lines; (3) rename AssignPolicy to assign_policy (not a template parameter); 2014-04-10 09:19:45 +03:00
Menelaos Karavelas
dd11061f81 [set ops] Barend's review: (1) fix #includes; (2) remove //===... comment lines; (3) put struct pointlike_pointlike_point in detail_dispatch namespace;
Other: remove difference_intersection_pointlike_pointlike_point struct (not used)
2014-04-10 09:15:30 +03:00