Commit Graph

6249 Commits

Author SHA1 Message Date
Adam Wulkiewicz
fe2bdfd169 [disjoint] Rename PiGStrategy to Strategy. 2017-02-07 20:11:45 +01:00
Adam Wulkiewicz
448d0daa88 [test][relops] Add tests for relops taking strategies (explicitly pass default strategy). 2017-02-06 17:58:01 +01:00
Adam Wulkiewicz
55e30d6ad9 Merge branch 'develop' into feature/relops_strategies
Conflicts:
	test/iterators/point_iterator.cpp
2017-01-30 03:07:35 +01:00
Adam Wulkiewicz
f2da596b4e [test][iterators] Fix QVM and Assign conflict. 2017-01-30 01:55:57 +01:00
Adam Wulkiewicz
d067073c69 [algorithms][strategies] Add missing includes, suppress warnings. 2017-01-29 13:20:05 +01:00
Adam Wulkiewicz
bc77e1255e [test] Adapt tests to new interfaces of various utilities in the library.
default_strategy services, partition, get_turns, strategies.
2017-01-28 04:09:49 +01:00
Adam Wulkiewicz
cd14e16b0c [buffer] Adapt buffer to the new interfaces of internal utilities.
Internals being default_strategy services, get_turns and partition.
2017-01-28 04:08:32 +01:00
Adam Wulkiewicz
c62cc56df2 [algorithms] Adapt overlay and set operations to new interfaces of internals.
Internals being default_strategy services, get_turns and partition.
2017-01-28 04:07:00 +01:00
Adam Wulkiewicz
85ea847ee1 [algorithms][strategies] Add support for strategies in relational operations.
- add overloads for all relational operations taking strategy.
- change the interface of get_turns, take strategy.
- change the interface of partition, take overlap and expand policies as
  function parameters instead of struct template parameters.
- specialize collect vectors by Side strategy and use this equals()
  optimization only if it's compatible with passed side strategy.
- move the implementation of disjoint Segment/Box from algorithm to
  strategy.
- add default_strategy service for relate, defining intersection or
  within/covered_by strategies depending on input geometries.
- add default strategy service for disjoint, defining relate or specific
  disjoint strategies.
2017-01-28 04:02:31 +01:00
Adam Wulkiewicz
569da3cc53 [strategies] Modify the interface of winding strategy and tweak within/covered_by default_strategy service.
Winding strategy now takes side strategy as template parameter and in
constructor.
default_strategy now casts geometry tags for both geometries and into more
tags so strategies may be dispatched more conveniently.
2017-01-28 03:46:28 +01:00
Adam Wulkiewicz
d70b1ce843 [strategies] Change interface of intersection strategies.
Instead of taking Policy as struct template parameter take it as apply()
method parameter.
Add members defining types of and returning point_in_geometry and side
strategies.
Make intersection strategies default within/covered_by strategies for L/L,
L/A and A/A geometries.
2017-01-28 02:40:59 +01:00
barendgehrels
8fa80c52b4 Rename op to turn_op to avoid warning 2017-01-18 10:05:56 +01:00
Adam Wulkiewicz
c6695f125d [test][arithmetic] Move cross_product test from extensions. 2017-01-13 23:12:18 +01:00
Adam Wulkiewicz
3c18981c73 [test][extensions] Change namesepace concept to concepts. 2017-01-13 22:35:56 +01:00
Adam Wulkiewicz
9af86d366b [doc] Fix legacy types adaptation example. 2017-01-09 18:12:35 +01:00
Adam Wulkiewicz
14d9d32d04 [test] Define BOOST_GEOMETRY_TEST_ONLY_ONE_TYPE with intel compiler to Jamfile.
Instead of defining it in geometry_test_common.hpp.
This will hopefully fix the 'incompatible redefinition of macro' warning.
2017-01-06 20:05:55 +01:00
Adam Wulkiewicz
409e97304e [test][distance] Suppress unused parameter warning. 2017-01-06 20:05:32 +01:00
Adam Wulkiewicz
819ef514fa [test][views] Remove unneeded semicolons (fix warning). 2017-01-06 14:47:15 +01:00
Adam Wulkiewicz
b67ada92a0 [test][overlay] Comment out unused typedef in sort_by_side test. 2017-01-06 03:22:09 +01:00
Adam Wulkiewicz
0421a06af5 [policies] Always use FP type for approximation in segment_ratio. 2017-01-06 00:13:01 +01:00
Adam Wulkiewicz
d6a57c5cba [test][geometries] Add missing curly brackets in std::array initialization. 2017-01-05 18:31:31 +01:00
Adam Wulkiewicz
4a488821ab [strategies] Add missing QVM include in matrix_transformers.hpp. 2017-01-04 17:27:03 +01:00
Adam Wulkiewicz
edc0adc95a [test] Add missing TypeOf includes (after dropping Serialization dependency). 2017-01-04 16:44:44 +01:00
Adam Wulkiewicz
0fa5d42eb6 [test][io] Change expected wkt_exception message. 2017-01-04 16:44:00 +01:00
barendgehrels
9e3fcdb8f9 [doc] update renaming from ublas_transformer to matrix_transformer 2017-01-04 15:45:54 +01:00
barendgehrels
f334af7d78 [transform] rename ublas_transformer to matrix_transformer 2017-01-04 15:38:43 +01:00
barendgehrels
138879adb9 [transform] use qvm instead of ublas 2017-01-04 11:55:56 +01:00
Adam Wulkiewicz
f486eee0f6 Merge pull request #373 from Ironholds/develop
[test][io] Change expected wkt exception message.
2017-01-03 14:07:53 +01:00
Oliver Keyes
a03a102379 Fix tests 2017-01-02 23:58:41 -08:00
Adam Wulkiewicz
f10060c936 Merge pull request #372 from Ironholds/develop
Grammar fix in read_wkt_exception message.
2017-01-01 23:57:20 +01:00
Oliver Keyes
2be2272e86 Grammar fix
Should presumably be 'too many tokens' rather than 'too much tokens'
2017-01-01 11:50:19 -08:00
Adam Wulkiewicz
f4fa416c81 [doc] Update 1.62 release notes (ticket). 2016-12-28 16:20:34 +01:00
Adam Wulkiewicz
f1a2b5d611 [doc] Update 1.64 release notes (ticket). 2016-12-28 03:47:40 +01:00
Adam Wulkiewicz
676e061978 [index] Add missing equals<> specialization in details of equal_to<>. 2016-12-28 03:44:12 +01:00
Adam Wulkiewicz
9564ba04f2 [doc] Update 1.64 release notes (issue). 2016-12-27 16:31:45 +01:00
Adam Wulkiewicz
b8b1cc5c6b [index] Add missing #includes in parameters.hpp 2016-12-27 16:29:19 +01:00
Adam Wulkiewicz
9828f26561 [doc] Add 1.64 release notes (issue). 2016-12-27 16:05:37 +01:00
Adam Wulkiewicz
c5b7468291 [relate] Fix compilation error when both geometries use different point types. 2016-12-27 15:21:24 +01:00
Adam Wulkiewicz
bc1310f392 [doc] Add missing 'Solved tickets' point to 1.62 release notes. 2016-12-12 16:14:31 +01:00
barendgehrels
49ce30f8a6 Merge branch 'feature/intvalid' into develop 2016-12-07 13:32:18 +01:00
barendgehrels
5a9acd4348 [test] fix error (integer too large) for some platforms, these are double values 2016-12-07 13:30:14 +01:00
barendgehrels
57250a3fdd [overlay] fix regression (duplicate polygons) due to last enhancements
in validity of intersections
2016-12-07 13:12:03 +01:00
barendgehrels
8d64bb39c2 [overlay] minor, fix indentation 2016-12-07 13:08:11 +01:00
barendgehrels
c3381de1c3 Merge branch 'develop' into feature/intvalid 2016-12-07 10:43:52 +01:00
Adam Wulkiewicz
735df0addb [doc] Update 1.63 release notes. 2016-12-06 23:55:44 +01:00
barendgehrels
51d1a48ca1 [doc] update for doxygen 2016-12-04 16:40:04 +01:00
barendgehrels
e7006237f7 [test] Uncomment one (of two) regressions because it is fixed, and changed
comments of the other one
2016-11-30 15:55:30 +01:00
barendgehrels
809e48ae63 Merge branch 'feature/intvalid' into develop 2016-11-30 13:32:37 +01:00
barendgehrels
efecc02866 [traverse] fix certain cases to recognize starting point during intersection
in a broader context
2016-11-30 12:56:48 +01:00
barendgehrels
c4ab3653eb [test] minor order in testcase indexes 2016-11-23 18:01:45 +01:00