1245 Commits

Author SHA1 Message Date
barendgehrels
452f092e8e [buffer][test] use a rescale policy calculated over the output, instead
of over the input. This shows problems in the newly added test, and also
invalidates one other testcase.

Both problems (self-intersections) should be solved later
2015-06-13 10:32:00 +02:00
Adam Wulkiewicz
36f789ffed [test][is_valid] Add a test case with inconsistent results for Polygon and MultiPolygon. 2015-06-12 21:37:17 +02:00
Adam Wulkiewicz
6e88772e27 [test][overlay] Improve the Jamfile readability. 2015-06-12 13:48:54 +02:00
Adam Wulkiewicz
a5c79c9e22 [test][set_operations] Rename the tests. 2015-06-12 13:26:57 +02:00
Adam Wulkiewicz
5aedf7a20a Merge pull request #310 from awulkiew/fix/types2
Replace signed_index_type with signed_size_type.
2015-06-11 18:25:35 +02:00
Adam Wulkiewicz
45061a202d [test][buffer] Add a case for which not valid buffer is generated. 2015-06-11 17:53:14 +02:00
Adam Wulkiewicz
b4576d816c [test] Replace signed_index_type with signed_size_type. 2015-06-09 18:31:15 +02:00
Menelaos Karavelas
8285b45298 [test][algorithms][intersection] add more test cases for A/A -> L 2015-06-09 00:49:52 +03:00
Menelaos Karavelas
a23d4c97f6 Merge branch 'develop' of github.com:boostorg/geometry into feature/intersection_areal_areal_linear 2015-06-08 23:52:05 +03:00
Adam Wulkiewicz
158271682c [test][distance] Specify/change the test names. 2015-06-07 16:48:15 +02:00
Menelaos Karavelas
a331405d55 [test][algorithms][intersection] add one more test case 2015-06-07 17:35:07 +03:00
Adam Wulkiewicz
c72eaf7ffb [test][algorithms] Name/rename the tests. 2015-06-06 00:40:34 +02:00
Menelaos Karavelas
3a658549d7 [test][algorithms][intersection] simplify unit test by replacing the meta-programming approach by a simpler one 2015-06-05 23:35:00 +03:00
Adam Wulkiewicz
8bd6a692bb [test][algorithms] Use bg::abs() in assemble test to avoid truncation. 2015-06-05 15:32:08 +02:00
Adam Wulkiewicz
72eb1c7218 [test][buffer] Suppress msvc warning by using the correct type. 2015-06-05 14:58:27 +02:00
Menelaos Karavelas
2de36a37df [test][geometry] replace instances of "num_point() == 0" by "is_empty()";
replace instances of "num_points() > 0" by "! is_empty()";
2015-06-03 17:18:55 +03:00
barendgehrels
2b1dfaddb6 [buffer] use the new is_empty 2015-06-03 14:50:37 +02:00
Barend Gehrels
687997a35f Merge pull request #303 from mkaravel/feature/is_empty
New algorithm: is_empty
2015-06-03 14:46:55 +02:00
Menelaos Karavelas
d80b3510f3 [test][algorithms][is_empty] update test cases' result following the changes
in polygon_is_empty class (checking of interior rings); explicitly check that
the result of "is_empty()" is the same as the result of "num_points() == 0";
2015-06-03 15:18:32 +03:00
barendgehrels
68648da969 [test][buffer] Don't leave envelope uninitialized if input geometry is empty
(this is a result of new envelope calculation)
2015-06-03 11:54:48 +02:00
barendgehrels
3b0529d8d9 [test][buffer] Add new test testing boost::geometry::buffer
(the detailed tests do test buffer_inserter)
2015-06-03 11:54:03 +02:00
Adam Wulkiewicz
1ef54bb437 Merge pull request #287 from awulkiew/fix/area_huiller
Fix/area huiller
2015-06-03 09:27:05 +02:00
Menelaos Karavelas
1e576d3a30 [test][algorithms][is_empty] add unit test for algorithm is_empty 2015-06-03 01:06:01 +03:00
Adam Wulkiewicz
7773f04541 [test][algorithms][maximum_gap] Remove the use of Boost.Assign.
Do not use Boost.Assign nor Boost.Tuple in the test.
This should fix the compilation error on GCC 4.4 c++0x.
2015-05-30 01:16:13 +02:00
barendgehrels
11d174d60e [buffer][test] re-comment buffer_countries 2015-05-29 19:59:54 +02:00
barendgehrels
b849991dcd [buffer][test] renamed testcases 2015-05-29 19:58:42 +02:00
barendgehrels
525613b461 [buffer][test] renamed testfiles 2015-05-29 19:53:11 +02:00
Adam Wulkiewicz
6e823025e0 [test][relops] Rename the tests. 2015-05-29 00:00:22 +02:00
Menelaos Karavelas
c844000d0e Merge pull request #289 from mkaravel/feature/envelope_and_expand_for_spherical_cs
New feature: envelope and expand for spherical equatorial coordinate system
2015-05-28 21:04:06 +03:00
Menelaos Karavelas
2080f49d07 [test][algorithms][intersection] add unit test for intersection(areal, areal, linear) 2015-05-28 11:56:21 +03:00
Menelaos Karavelas
a5f0a565bc [test][algorithms][intersection] enable get_turns invariance checking only for
linear/linear geometry combinations
2015-05-28 11:53:26 +03:00
Menelaos Karavelas
6054352dd1 [test][algorithms][set operations L/L] apply coding rules 2015-05-28 11:43:28 +03:00
barendgehrels
cdf014e35d [buffer] propagate error information from strategy to buffer inserter 2015-05-27 10:56:56 +02:00
Adam Wulkiewicz
593521980a Merge branch 'develop' into feature/relate
Conflicts:
	doc/release_notes.qbk
2015-05-26 17:26:38 +02:00
Adam Wulkiewicz
1df894c44a [centroid][test] Update copyrights. 2015-05-26 00:44:56 +02:00
Adam Wulkiewicz
9f5608d5e9 [test][centroid] Add test for very long Linestring for which the centroid cannot be calculated. 2015-05-25 15:25:30 +02:00
barendgehrels
ad088fcf02 [buffer] stop in case of numeric errors in side strategy 2015-05-24 11:22:45 +02:00
barendgehrels
62fa2ccc59 [buffer][test] fix commented section (distance_left) 2015-05-23 23:46:14 +02:00
barendgehrels
1eacb2c096 [buffer][test] fix alternate box setting 2015-05-23 23:45:48 +02:00
barendgehrels
5370e2494d [buffer][math] check for inf when checking on equals
This fixes an error in buffer for geometries with extreme coordinate differences
(though the generated buffer is not correct then)
2015-05-23 23:45:24 +02:00
Menelaos Karavelas
2deae95273 Merge branch 'develop' of https://github.com/boostorg/geometry into feature/envelope_and_expand_for_spherical_cs 2015-05-22 10:06:35 +03:00
Menelaos Karavelas
24c394454f [test][algorithms][expand] rearrange and cleanup code; allow for two possible MBRs as output 2015-05-22 09:48:29 +03:00
Menelaos Karavelas
6c77395443 [test][algorithms][envelope] rearrange and clean up code 2015-05-22 09:48:04 +03:00
Menelaos Karavelas
cc9717b9db [test][algorithms][envelope][expand] deactivate/modify test cases where latitude needs to
be normalized; make use of math::r2d<>() and math::d2r<>() constants;
2015-05-20 11:17:09 +03:00
Menelaos Karavelas
5ecc576bf2 [test][algorithms][equals] deactivate test cases where latitude needs to be normalized as well;
add test cases with points on the spheroid that also have a third coordinate (possibly height);
2015-05-20 11:15:44 +03:00
Adam Wulkiewicz
395d7b89f9 [test][relate] Add additional tests for de9im::mask. 2015-05-18 19:11:35 +02:00
Adam Wulkiewicz
bec216923f [test][buffer] Fix compilation error - BOOST_MESSAGE unknown. 2015-05-15 13:25:52 +02:00
Menelaos Karavelas
e66f255acf Merge branch 'develop' of https://github.com/boostorg/geometry into feature/envelope_and_expand_for_spherical_cs 2015-05-14 12:23:19 +03:00
Barend Gehrels
9d9ee614a1 Merge branch 'develop' into feature/buffer 2015-05-13 18:01:32 +02:00
Adam Wulkiewicz
855d5d9c2f [test][relate] Rename test file relate_pointlike_xxx.cpp to relate_pointlike_geometry.cpp 2015-05-13 17:53:58 +02:00