987 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
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
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
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
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
4a388f855d Merge branch 'develop' of github.com:boostorg/geometry into develop 2014-06-14 11:03:44 +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
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
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
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
e277cce32f Merge pull request #57 from awulkiew/fix/boost_polygon
Fix/boost polygon
2014-06-11 16:57:38 +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
Menelaos Karavelas
ed442a15d2 [test][util] add unit test for math::sqrt 2014-06-10 09:19:58 +03:00
Menelaos Karavelas
ef1a257242 [util][math] fix return type for math::sqrt; fix implementation
for sqrt for non-fundamental types (use the using mechanism);
2014-06-10 09:18:28 +03:00
Adam Wulkiewicz
400eec193b [adapted] Specialize resize<> trait for polygon_data required by Ring concept 2014-06-10 00:17:12 +02:00
Barend Gehrels
5a85076f4b [get_left_turns] reimplement using integer arithmetic
including unit test
2014-06-08 19:03:11 +02:00
Adam Wulkiewicz
8f80b3b171 [test] Fix compilation error in pythagoras distance strategies tests - missing TypeOf header 2014-06-08 00:43:50 +02:00
Adam Wulkiewicz
f6ba62a43a [comparable_distance][test][extensions] Break comparable_distance into interface and implementation.
Also remove geometry.hpp header include from comparable_distance test and nsphere header included in all tests.
2014-06-06 00:29:31 +02:00
Menelaos Karavelas
8e1f963e37 Merge branch 'feature/distance' of github.com:mkaravel/geometry into feature/distance 2014-06-04 12:03:53 +03:00
Menelaos Karavelas
795fdf82a7 [test][strategies] add entry for unit test for pythagoras point-box 2014-06-03 18:58:33 +03:00
Adam Wulkiewicz
188b1c3e48 [test] Fix unused typedef warnings 2014-06-03 16:20:11 +02:00
Menelaos Karavelas
8aadb31dc8 [test][strategies] add unit test for pythagoras point box strategy 2014-06-03 13:41:39 +03:00
Menelaos Karavelas
4d16a2112a Merge branch 'develop' of https://github.com/boostorg/geometry into feature/distance-default-strategy 2014-05-30 15:06:52 +03:00
Sam Spilsbury
be3ee10849 [geometry][test] Fix concept check failures.
The functions in arithmetic.hpp would check the concepts Point and ConstPoint
on Point2, instead of checking Point on Point1 and ConstPoint on Point2.

This would cause concept check failures when attempting to operate from
a ConstPoint.
2014-05-30 00:04:20 +08:00
Menelaos Karavelas
916e9bb495 [test][strategies] add compile time check for the default strategy
where the geometry tags are reversed
2014-05-29 14:54:25 +03:00
Menelaos Karavelas
f989738ebe [test][strategies] update copyright headers 2014-05-29 14:47:07 +03:00
Menelaos Karavelas
232f266798 [test][strategies] add compile time check for existence of default
strategy for projected point and cross track
2014-05-29 14:43:57 +03:00
Menelaos Karavelas
f1d12c53d7 [test][strategies] fix compilation errors for pythagoras and haversine
unit tests (introduced by the changes in pull request #47)
2014-05-29 14:09:19 +03:00
Barend Gehrels
3333ee09b1 Merge pull request #47 from mkaravel/feature/distance-default-strategy
Feature/distance default strategy
2014-05-28 15:30:45 +02:00
Barend Gehrels
d799a9a6b5 Merge pull request #44 from mkaravel/feature/distance
Feature/distance
2014-05-28 15:28:59 +02:00
Menelaos Karavelas
bb20a1c1c7 [distance] fix order of template parameters for default strategy:
the two geometry tags should be the first two template parameters
2014-05-28 16:07:20 +03:00
Barend Gehrels
398d7d7981 Merge branch 'develop' of github.com:boostorg/geometry into develop 2014-05-28 12:57:56 +02:00
Barend Gehrels
4453f7bd6d [rescale] fix unit test and avoid BOOST_AUTO_TPL
Unit test is reworked. BOOST_AUTO_TPL is avoided using two specific methods
2014-05-28 12:57:35 +02:00
Menelaos Karavelas
d3e5c63b7a [test][disjoint] add more segment-box test cases in disjoint_coverage unit test 2014-05-28 03:47:32 +03:00
Adam Wulkiewicz
dd7d298d72 [test][crosses] Add tests for more geometries combinations. 2014-05-27 16:03:15 +02:00
Adam Wulkiewicz
bb305769bc [test][overlaps] Add test for Ls/MLs and the reversed order of parameters. 2014-05-27 15:49:06 +02:00
Adam Wulkiewicz
b1fb018c11 [test][equals] Add test for the reversed order of parameters. 2014-05-27 15:38:05 +02:00
Barend Gehrels
38ae13e362 Merge pull request #42 from mkaravel/feature/assign
[test][assign] fix errors in test of variant support for assign
2014-05-26 13:39:31 +02:00
Menelaos Karavelas
ebbcb39daa [test][assign] fix errors in test of variant support for assign 2014-05-26 14:26:07 +03:00
Menelaos Karavelas
d3d018b1ec [test][distance] add missing typename 2014-05-26 14:04:18 +03:00