Adam Wulkiewicz
a552a0de67
[overlay] Replace *begin(rng) with front(rng)
2014-06-19 01:11:53 +02:00
Adam Wulkiewicz
9f7828b7ec
[overlay][range] Replace the explicit call to Range::erase() with version using std::copy() and traits::resize<>
2014-06-18 19:42:44 +02: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
e4e948753b
[turns] remove is_discarded() function
2014-06-18 14:24:42 +02:00
Barend Gehrels
4415da952b
[buffer] For clusters (occuption), avoid using turns as starting point
...
This enables the "get_occupation" again, but skips the get_left_turns function
2014-06-18 14:18:43 +02:00
Barend Gehrels
fccd2c2b7f
[buffer][fix] add required parameter for visit policy
2014-06-18 14:13:57 +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
2ba27734e4
[buffer] remove unused segment-map
2014-06-18 14:05:53 +02:00
Barend Gehrels
bbfe279782
[buffer] disable enlarged-cluster approach
...
temporary disabled with a define - if everything OK it will go completely
2014-06-18 14:04:24 +02:00
Barend Gehrels
84d240ee9d
[buffer][test] visit collection twice for mapping
2014-06-18 14:02:18 +02:00
Barend Gehrels
54c59c2665
[overlay] remove unused MSM approach
...
This drops the reported MSM dependancy
2014-06-18 14:01:11 +02:00
Barend Gehrels
9addd4ae97
Merge pull request #63 from mkaravel/feature/is_simple
...
Feature/is simple
2014-06-18 13:58:37 +02:00
Menelaos Karavelas
52ab626f69
[algorithms][is_valid] in polygon validity algorithm, replace
...
the robustness policy used from no_rescale_policy to the
appropriate rescale_policy type
2014-06-18 14:27:13 +03:00
Menelaos Karavelas
dbbcf4c1ff
[algorithms][is_simple] implement the new directory/file structure
2014-06-18 14:04:50 +03:00
Menelaos Karavelas
89c5113bce
[algorithms][is_valid] implement the new directory/file structure
2014-06-18 14:00:05 +03:00
Menelaos Karavelas
092a8633e2
[algorithms][detail,is_valid] rename number_of_distinct_values to
...
num_distinct_consecutive_points and move it to namespace
boost::geometry::detail; also rename and move corresponding file
to boost/geometry/algorithms/detail;
2014-06-18 13:23:48 +03:00
Menelaos Karavelas
27ea2de6ab
[algorithms][is_valid] rename N to MaximumNumber
2014-06-18 13:10:58 +03:00
Menelaos Karavelas
ec63be14e2
[algorithms][is_valid] in number_of_distinct_values, make size const
2014-06-18 13:06:10 +03: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
c94ecdbb4d
[algorithms][is_simple] add variant support
2014-06-18 12:54:09 +03:00
Menelaos Karavelas
b0a5adc503
[algorithms][is_valid] add variant support
2014-06-18 12:53:53 +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
d92960154a
[algorithms][is_valid] make implementation of number_of_distinct_points
...
more generic: number_of_distinct_values for ranges that also takes an
additional template parameter to indicate how many distinct values
to search for
2014-06-18 04:36:20 +03:00
Menelaos Karavelas
6cecfeea9f
[algorithms][is_valid] move implementation of number_of_distinct_points
...
in separate file; re-design implementation of is_valid for linestrings;
2014-06-18 04:34:45 +03:00
Menelaos Karavelas
4ab3bd3529
[test][is_valid] add a few more test cases
2014-06-18 04:31:22 +03:00
Menelaos Karavelas
332eb42789
[algorithms][is_valid] remove trailing space
2014-06-18 03:47:02 +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
7d7bd17daf
[build] removed extensions from buildfile
2014-06-16 21:33:12 +02:00
Barend Gehrels
31a3fc57a1
[sublibs] added newline
2014-06-16 21:32:34 +02: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
56d163fe1e
[is_valid] fix unit test linkage problem with two/three_or_more
2014-06-16 19:04:05 +02:00
Barend Gehrels
b8535cab3c
[is_valid] fix unit test compilation typos
2014-06-16 19:02:28 +02:00
Barend Gehrels
eb36979f46
Merge pull request #59 from mkaravel/feature/is_simple
...
Feature/is simple
2014-06-16 18:48:49 +02:00
Adam Wulkiewicz
10e9ea81dc
Merge pull request #61 from mkaravel/feature/math-sqrt
...
[test][util] guard use of boost::long_long_type inside a
2014-06-16 14:05:50 +02:00
Menelaos Karavelas
c3ed6692bf
[test][util] add missing include
2014-06-16 15:02:00 +03:00
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
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
2b9a55adc0
Merge branch 'develop' of https://github.com/boostorg/geometry into feature/is_simple
2014-06-16 14:39:07 +03:00
Adam Wulkiewicz
bee0fdc0ae
Merge pull request #60 from mkaravel/feature/math-sqrt
...
[test][util] replace compile time check that uses __cplusplus
2014-06-16 13:36:58 +02: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
b05dd041a6
Merge branch 'develop' of https://github.com/boostorg/geometry into feature/is_simple
2014-06-16 14:30:58 +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
76b13c42bc
[util][math] Add the conversion to double (C++11 approach) before passing the integral argument to std::sqrt()
2014-06-16 13:04:22 +02:00
Menelaos Karavelas
1f07f292ec
[algorithms][is_valid] add include that is missing if GEOMETRY_TEST_DEBUG is defined
2014-06-16 13:45:38 +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