Commit Graph

5363 Commits

Author SHA1 Message Date
barendgehrels
283f0a2853 Merge branch 'develop' of github.com:boostorg/geometry into develop 2015-06-21 22:59:27 +02:00
barendgehrels
88be2948f3 Three minor various details 2015-06-21 22:55:09 +02:00
barendgehrels
97c368cdf2 Buffer unit test - small rewrite of access to folder location 2015-06-21 22:54:32 +02:00
barendgehrels
6926c270b3 Adapt difference/intersection unit tests to change in IP calculation 2015-06-21 22:53:25 +02:00
barendgehrels
603a2a7c12 Adapt buffer unit tests to change in IP calculation 2015-06-21 22:52:17 +02:00
barendgehrels
ed103f777e intersection calculation: fix behaviour in rare cases where IP is taken from segment
A but segment B is much shorter, and IP is also at end-point of segment B.
The arbitrary decision (robust_ra < robust_rb) is changed into another
decision, based on closeness to end-points and on segment length, which leads
to more precise results
2015-06-21 22:50:40 +02:00
Adam Wulkiewicz
9804911dd1 [geometry][ci] Improve the CircleCI script.
- define the tests as a list stored in the environment variable
- when moving the coverage results keep picking test names until
  a unique name is found.
- after the info files from different containers are gathered
  automatically merge all of them into one.
- improve/add comments
2015-06-20 18:48:10 +02:00
Adam Wulkiewicz
2e0cfd631a [geometry][ci] Move *.gcda and *.gcno coverage files instead of copy. 2015-06-20 05:55:40 +02:00
Adam Wulkiewicz
583354cbae [test][intersects] Suppress unused local typedef warnings. 2015-06-20 05:47:55 +02:00
Adam Wulkiewicz
514251c7fe [geometry][readme] Use consistent, flat badges from shields.io 2015-06-20 05:35:09 +02:00
Adam Wulkiewicz
bcc03065b4 [geometry][ci] Enable parallel testing of geometry and index.
Gather test results in each CircleCI container, then send all of them to
the first one and there merge and send.
2015-06-20 03:56:54 +02:00
Adam Wulkiewicz
c598934d4e [geometry] Manually alter the JSON result file and send it to Coveralls.
- use circle branch name (without newline)
- use circleci service_name
- set job_id (even if it's not used)
2015-06-19 20:56:14 +02:00
Adam Wulkiewicz
61d4d491c2 Merge branch 'develop' of github.com:boostorg/geometry into develop 2015-06-18 13:27:14 +02:00
Adam Wulkiewicz
098ca1e038 [geometry] Add CircleCI and Coveralls integration, add test results to the README. 2015-06-18 12:59:58 +02:00
Menelaos Karavelas
362aec8aa1 [test][algorithms][expand] increase precision tolerance for a test case
(to account for failing unit tests for some platforms)
2015-06-18 08:40:32 +03:00
Menelaos Karavelas
42a5a091f7 [test][algorithms][envelope] remove duplicate test case;
increase tolerance in test case (to avoid unit test failures on certain
platforms/compilers, such as MSVC, qcc and quite a few others)
2015-06-17 19:27:12 +03:00
Menelaos Karavelas
ff9ba7fe3c [test][iterators][point iterator] delete dynamically allocated memory
(fixes memory leak error reported in regression matrix of the develop branch)
2015-06-17 19:20:50 +03:00
Adam Wulkiewicz
3209b534ee Merge branch 'develop' of github.com:boostorg/geometry into develop 2015-06-15 16:47:06 +02:00
Adam Wulkiewicz
7ddb2eca09 [test][disjoint] Group the tests in separate files. 2015-06-15 16:46:57 +02:00
Menelaos Karavelas
edf943696c Merge pull request #301 from mkaravel/fix/bounding_box_computation_in_get_rescale_policy
Fix: initialize the rescale policy only if the input geometries are non-empty
2015-06-15 15:32:00 +03:00
Adam Wulkiewicz
dd3f58194c [test][touches] Group the tests in separate files. 2015-06-15 13:44:08 +02:00
Adam Wulkiewicz
e660e9fb19 [test][overlaps] Group the tests in separate files. 2015-06-15 03:53:01 +02:00
Adam Wulkiewicz
7422c6c400 [test][intersects] Group the tests in separate files. 2015-06-15 03:42:27 +02:00
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
843ef4eac8 [is_valid] Add optimization and suppress warnings.
Replace boost::size(...) > 0 with !boost::empty(...).
Suppress unused parameter and constant conditional expression msvc
warnings.
2015-06-12 16:37:58 +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
Menelaos Karavelas
00424e5a6d Merge pull request #294 from mkaravel/ext/fixes_for_ttmath_big
Extensions: fixes for ttmath::Big<Exponent, Mantissa> and ttmath_big
2015-06-12 10:05:07 +03:00
Menelaos Karavelas
355a9d0cf4 Merge pull request #308 from mkaravel/fix/distance_cross_track_radius_type
[strategies][distance][cross track] expose the radius type as a typedef
2015-06-12 08:55:55 +03:00
Adam Wulkiewicz
f3b4df8c82 [index] Rename member and tparam in expandable_box for better readability. 2015-06-11 23:14:00 +02:00
Adam Wulkiewicz
81d0442c3a Merge pull request #309 from awulkiew/fix/is_valid
[is_valid] Suppress unused parameter warnings.
2015-06-11 22:12:29 +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
fb624d5712 Merge pull request #307 from awulkiew/fix/types
Replace int with more suitable type (std::size_t, signed_size_type, template parameter).
2015-06-11 18:21:17 +02:00
Adam Wulkiewicz
d88e1511d4 Merge branch 'fix/rtree_envelope' into develop 2015-06-11 18:17:46 +02:00
Adam Wulkiewicz
13a63ec59c [example][index] Add missing header. 2015-06-11 18:01:53 +02:00
Adam Wulkiewicz
1cf2969cf2 [is_valid] Suppress unused parameter warnings. 2015-06-11 17:54:34 +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
f1313b27bc [index] Improve support for non-cartesian segments.
Use envelope() when necessary.
Remove assign_inverse() calls.
2015-06-11 16:13:25 +02:00
Menelaos Karavelas
53b5ef3dff [strategies][distance][cross track] expose the radius type as a typedef
(same as for projected_point distance strategy)
2015-06-11 01:35:30 +03:00
Menelaos Karavelas
bc70826be4 Merge pull request #299 from mkaravel/feature/intersection_areal_areal_linear
New feature: support bg::intersection(areal, areal, linear)
2015-06-10 11:43:54 +03:00
Adam Wulkiewicz
b4576d816c [test] Replace signed_index_type with signed_size_type. 2015-06-09 18:31:15 +02:00
Adam Wulkiewicz
68bac52fa4 [algorithms] Replace signed_index_type with signed_size_type. 2015-06-09 17:59:39 +02:00
Adam Wulkiewicz
18de7e1251 [index] Always implement the BOOST_GEOMETRY_INDEX_ASSERT() macro (using BOOST_GEOMETRY_ASSERT_MSG). 2015-06-09 15:57:51 +02:00
Adam Wulkiewicz
163c3d83ef [test][index][extensions] Disable the deprecated std::auto_ptr support in SmartPtr and Core globally in Jamfiles. 2015-06-09 14:53:36 +02:00
Adam Wulkiewicz
c5e9b2004d [buffer][strategies] Replace int with std::size_t in join_round strategy. 2015-06-09 11:41:06 +02:00
Adam Wulkiewicz
c0e390524b [sectionalize] Replace int with signed_size_type, std::size_t or template parameter. 2015-06-09 11:39:56 +02:00
Adam Wulkiewicz
1167e510db [relate] Replace int with std::size_t. 2015-06-09 11:38:18 +02:00
Adam Wulkiewicz
a6604a49a5 [overlay][get_turns] Replace int with signed_size_type or std::size_t. 2015-06-09 11:37:32 +02:00
Adam Wulkiewicz
49369fa5cc [buffer] Replace int with signed_size_type or std::size_t. 2015-06-09 11:36:01 +02:00