Barend Gehrels
aa307b5ad2
[buffer] add join_selector and use it before generating the join.
...
This moves responsibility of generation to the calling code, removes it
from the join strategies. It also enables using the end-strategy for the
spikes
2014-06-23 22:39:29 +02:00
Menelaos Karavelas
e7e7f958fb
Merge branch 'develop' of https://github.com/boostorg/geometry into feature/is_simple
...
Conflicts:
include/boost/geometry/algorithms/detail/is_simple/debug_print_boundary_points.hpp
include/boost/geometry/algorithms/detail/is_valid/polygon.hpp
2014-06-22 23:09:47 +03:00
Barend Gehrels
51121c1e35
Merge branch 'develop' of github.com:boostorg/geometry into develop
2014-06-22 21:07:36 +02:00
Barend Gehrels
5c3f1f2006
[buffer] fix limit which was too low for LatLong coordinates. Also fix in test
...
for tolerance which was too high. Added unit test
2014-06-22 19:54:13 +02:00
Barend Gehrels
b6ba959f7b
[buffer][test] SVG enhancements
2014-06-22 19:50:06 +02:00
Adam Wulkiewicz
3b1c327922
[test] Replace automatic unit tests with minimal test framework included by geometry_test_common.hpp.
...
This should silence the msvc-8.0 errors - ambiguous enable_if/disable_if.
2014-06-22 17:57:30 +02:00
Barend Gehrels
b1bcc9c4dc
[buffer] test - indentation, remove old comment
2014-06-22 16:11:58 +02:00
Barend Gehrels
2f6abfce3f
[buffer] test: remove old code and instead add 3 parcels
...
which went wrong earlier or still have issues
2014-06-22 16:08:56 +02:00
Adam Wulkiewicz
17f08e3ac4
Merge pull request #66 from mkaravel/feature/debug_macro
...
Feature/debug macro
2014-06-22 15:29:16 +02:00
Barend Gehrels
3628e85a25
[buffer] fix non-intersecting sides around concave points
...
there was no segment in between generated, therefore if the side-segments
did not intersect (e.g. donut_diamond in polygon_buffer.cpp unit test),
there was no intersection at all. Now a helper piece is generated and it
will intersect.
2014-06-22 15:12:40 +02:00
Barend Gehrels
7df029b176
[buffer] make buffer (miter, round) around spike possible
...
including unit testcase. For miters, the limit is enlarged (after
visual inspection of spike_simplex_miter)
2014-06-20 22:34:40 +02:00
Menelaos Karavelas
2eea41b82e
Merge branch 'develop' of https://github.com/boostorg/geometry into feature/is_simple
2014-06-20 12:30:18 +03:00
Adam Wulkiewicz
05891db57a
[test][buffer] Remove unused typedefs.
2014-06-20 00:00:55 +02:00
Adam Wulkiewicz
38afbb322f
[test][buffer] Remove unused typedefs.
2014-06-19 23:57:01 +02:00
Barend Gehrels
289a982d89
[difference] change in testcase, fix for MSVC, enabled for other compilers.
...
enabled for all FP types
2014-06-19 22:07:32 +02:00
Barend Gehrels
c5de26945b
[overlay] use uniform robust policy, this obsoletes zoom_to_robust
2014-06-19 19:10:28 +02:00
Menelaos Karavelas
7656be4221
[test][is_valid] explicitly set the 2nd template parameter of
...
check_iterator_range to false
2014-06-19 13:59:01 +03:00
Menelaos Karavelas
17ed15b44c
[test][algorithms] prefix (commented) GEOMETRY_TEST_DEBUG macro with BOOST_
2014-06-19 12:37:49 +03:00
Menelaos Karavelas
4a4d52b082
[geometry][test] prefix macro GEOMETRY_TEST_DEBUG with BOOST_
2014-06-19 12:24:27 +03:00
Barend Gehrels
76a56c787c
[buffer] exclude failing testcase for MSVC
2014-06-18 16:51:13 +02:00
Barend Gehrels
ea222cd5b3
Merge branch 'develop' of github.com:boostorg/geometry into develop
2014-06-18 14:24:53 +02:00
Barend Gehrels
dadfe91378
[buffer][test] use other robust_point for counting dupplicate points
2014-06-18 14:08:05 +02:00
Barend Gehrels
0194072516
[buffer][test] optinally skip self-intersection check
2014-06-18 14:07:21 +02:00
Barend Gehrels
84d240ee9d
[buffer][test] visit collection twice for mapping
2014-06-18 14:02:18 +02:00
Menelaos Karavelas
4f40ffd313
[test][algorithms][is_simple] remove obsolete includes;
...
put WKTs of test cases in a single line;
use BOOST_CHECK_MESSAGE instead of BOOST_CHECK;
polish some variable names;
add test for variant support;
2014-06-18 12:59:52 +03:00
Menelaos Karavelas
236bb1b9ac
[test][algorithms][is_valid] fix order of booleans in BOOST_CHECK_MESSAGE;
...
add test for variant support;
2014-06-18 12:54:59 +03:00
Menelaos Karavelas
a4402a9a31
[test][algorithms][is_valid] replace "const bool" and "static const bool" by "bool const"
2014-06-18 04:54:16 +03:00
Menelaos Karavelas
4ab3bd3529
[test][is_valid] add a few more test cases
2014-06-18 04:31:22 +03:00
Menelaos Karavelas
3a1ee0dbdb
[test][is_valid] make is_valid test more elaborate by testing all
...
types of rings, polygons and multipolygons (open/closed, cw/ccw),
and by testing both then spikes/duplicates are allowed or not
2014-06-17 16:34:32 +03:00
Menelaos Karavelas
ee59e0b6e6
[test][is_valid] fix and re-enable non-running test cases
2014-06-17 11:13:00 +03:00
Barend Gehrels
2ec5536406
[is_valid] fix non-running testcases and therefore add appropriate failure message
2014-06-16 19:18:16 +02:00
Barend Gehrels
b8535cab3c
[is_valid] fix unit test compilation typos
2014-06-16 19:02:28 +02:00
Menelaos Karavelas
ee28794572
[test][is_valid] re-factor code so that when an open ring is tested,
...
the corresponding closed ring is tested as well.
2014-06-16 14:39:55 +03:00
Menelaos Karavelas
4c9db293b4
[test][algorithms] use boost::geometry:: instead of bg::
2014-06-16 13:45:06 +03:00
Menelaos Karavelas
a68bcb3b13
[test][algorithms] factor-out common code
2014-06-16 12:30:36 +03:00
Menelaos Karavelas
2438af55b3
Merge branch 'develop' of https://github.com/boostorg/geometry into feature/is_simple
2014-06-16 12:20:38 +03:00
Menelaos Karavelas
a1a2856743
[test][algorithms][is_simple] assert that the geometries tested
...
for simplicity are valid
2014-06-16 12:19:12 +03:00
Menelaos Karavelas
a0b1e53a92
[test][is_valid] update is_valid unit test to take into account
...
that duplicate points for areal geometries may be acceptable or not
2014-06-16 12:14:08 +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
Menelaos Karavelas
c1ca7590fd
[test][is_simple] remove tests involving non-valid geometries;
...
fix test cases with closed linestrings; add more test cases;
add tests for areal geometries with duplicate points;
2014-06-16 03:34:26 +03:00
Menelaos Karavelas
363414a23b
[test][is_valid] allow spikes for linear geometries
2014-06-15 21:48:09 +03: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
Menelaos Karavelas
1b251a7346
[test][algorithms][is_simple] add missing include (strategies)
2014-06-15 00:03:15 +03:00
Menelaos Karavelas
0d577e7d4c
[test][algorithms][is_valid] add missing include
2014-06-14 23:50:56 +03:00
Menelaos Karavelas
07039bf584
[test][algorithms][is_valid] fix includes; polish and cleanup code;
...
add test cases for rings and polygons and onyl a couple for
multi-polygons;
2014-06-14 22:33:55 +03:00
Menelaos Karavelas
ca8d8c7876
[test][algorithms][is_simple] remove unused code; fix includes;
...
polish and cleanup code; add test case for areal geometries;
2014-06-14 22:30:56 +03:00
Menelaos Karavelas
28ed3e4e59
Merge branch 'develop' of https://github.com/boostorg/geometry into feature/is_simple
2014-06-14 16:04:24 +03: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
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