Commit Graph

8536 Commits

Author SHA1 Message Date
Barend Gehrels
fcd0c5b768 [buffer] helper_points (formerly called helper_segments) are now optional
and we rescale/finish the piece on the fly and not in a separate call
2014-09-10 13:05:13 +02:00
Barend Gehrels
8f0e0fdcb1 [buffer] fix adding piece for side with a range, the intermediate range points were
not added (there is not yet a strategy doing this). Share functionality for adding
a range
2014-09-10 12:10:49 +02:00
Barend Gehrels
2cd418167d Merge branch 'develop' of github.com:boostorg/geometry into develop 2014-09-10 11:12:06 +02:00
Barend Gehrels
834be28e27 [overlay] change comment 2014-09-10 11:10:42 +02:00
Barend Gehrels
9a69055b6c Merge branch 'develop' into feature/buffer 2014-09-10 11:07:53 +02:00
Barend Gehrels
e0b82cd47f [test] enable rt_u8 case and change comments 2014-09-10 11:01:21 +02:00
Barend Gehrels
a1f5f50f15 Merge pull request #134 from awulkiew/fix/winding_spherical
Fix/winding spherical
2014-09-10 10:55:57 +02:00
Barend Gehrels
6fcdf246e0 [test] comment update 2014-09-10 10:34:43 +02:00
Adam Wulkiewicz
3d49050eeb Merge pull request #133 from mkaravel/feature/counting-algorithms
Feature/counting algorithms (follow-up of PR #128)
2014-09-10 14:41:10 +08:00
Adam Wulkiewicz
8e444e6f59 [test][within] Add tests for special cases in spherical CS (some failing) 2014-09-09 13:24:34 +08:00
Adam Wulkiewicz
8ad3f134b2 [within] Fix non-cartesian points handling in winding strategy, case when Point's latitude is between Segment's Points latitudes. 2014-09-08 22:13:12 +08:00
Menelaos Karavelas
b43faf5457 [test][algorithms][num_points] add test cases for open geometries (including
the edge case where the geometry is defined as open but the first/last points
are identical)
2014-09-05 10:19:43 +03:00
Menelaos Karavelas
61c33ca109 [algorithms][num_points] remove check for starting-ending point in range_count 2014-09-05 10:19:08 +03:00
Barend Gehrels
e00d204218 [buffer] remove situation_map because for these sides, rescaling does not give added value and
can cause rounding errors
2014-09-03 18:09:35 +02:00
Barend Gehrels
9b5a8dfb2f [buffer][test] add testcase rt_u8, currently still failing 2014-09-03 17:54:17 +02:00
Barend Gehrels
95d794e218 [buffer] fix order when multiple turns are colocated on the same point.
This replaces get_relative_order which was not effectively used anymore and
(most probably) get_left_turns.
This fixes case rt_u7
2014-09-03 17:53:21 +02:00
Barend Gehrels
c271df6a8b Merge branch 'feature/buffer' into develop
Conflicts:
	test/algorithms/buffer/polygon_buffer.cpp
2014-09-03 11:42:30 +02:00
Adam Wulkiewicz
6dafef017e [distance] Fix compilation error in get_comparable<> specialization for distance_cross_track_point_box<> 2014-08-30 16:33:05 +02:00
Adam Wulkiewicz
6c4c340934 [distance] Optimize cross_track_point_box - calculate courses only once, do not use other strategies than PP 2014-08-30 13:24:48 +02:00
Barend Gehrels
25e2db4cef Merge branch 'develop' of github.com:boostorg/geometry into develop 2014-08-30 12:06:52 +02:00
Barend Gehrels
5b42d85326 [buffer][test] add testcase for ticket 10412 (Olivier) 2014-08-30 11:54:57 +02:00
Adam Wulkiewicz
f29f3a821a [strategies] Add move course() to algorithms/detail and use it in spherical side and distance strategies. 2014-08-30 03:18:58 +02:00
Adam Wulkiewicz
4fa9f38825 [distance] Add preliminary version of Pt/Box spherical strategy. 2014-08-29 23:42:01 +02:00
Adam Wulkiewicz
ee798cdbc6 [distance] Do not use cartesian default strategy for non-cartesian Pt/Box and Box/Box 2014-08-29 22:33:34 +02:00
Adam Wulkiewicz
0c2d526faa [num_geometries] Add missing includes, variant-related 2014-08-27 13:09:04 +02:00
Barend Gehrels
14c31c31f0 [doc] add fixed ticket to release notes 2014-08-27 12:33:48 +02:00
Barend Gehrels
1082937ada Merge branch 'develop' into feature/buffer 2014-08-27 12:32:16 +02:00
Barend Gehrels
7cfaf81f11 [doc] add 1.57 to release notes 2014-08-27 12:30:16 +02:00
Barend Gehrels
02ae40805c [buffer] remove now redundant member m_last_piece_index 2014-08-27 12:28:44 +02:00
Barend Gehrels
c42aeb4447 [buffer][fix] fix neighbour check in calculating turns. This fixes ticket 10398 2014-08-27 12:27:57 +02:00
Barend Gehrels
12b61c6a0f Merge branch 'develop' into feature/buffer 2014-08-27 11:34:07 +02:00
Barend Gehrels
7a7d5935d6 [buffer][test] add failing ticket 10398 2014-08-27 11:32:33 +02:00
Adam Wulkiewicz
b51444a928 [num_segments] Add parentheses to suppress the warning about the operators precedence 2014-08-27 02:25:19 +02:00
Adam Wulkiewicz
98900f3ecf [math] Replace simple rounding with boost::math::round().
Due to a recent fix in Boost.Math for corner cases.
PR: https://github.com/boostorg/math/pull/8
Commit: fb835eb029
2014-08-27 02:05:55 +02:00
Adam Wulkiewicz
82e8a0d8ac [doc] Update release notes. 2014-08-25 16:23:17 +02:00
Adam Wulkiewicz
3560ae1c93 [index] fix varray const rbegin() and rend().
non-const reverse iterator type was used internally.
2014-08-25 13:25:46 +02:00
Adam Wulkiewicz
be637c0929 Merge pull request #128 from mkaravel/feature/counting-algorithms
Feature/counting algorithms
2014-08-14 12:57:48 +02:00
Menelaos Karavelas
22f93f9752 [doc][examples][num_segments] update num_segments example: the free
function takes only one argument
2014-08-14 00:43:48 +03:00
Menelaos Karavelas
05a0f16ad5 [doc][algorithms][num_segments] remove add_for_open argument from
doxygne documentation; update qbk documentataion to reflect that there
is only one argument to the free function
2014-08-14 00:42:17 +03:00
Menelaos Karavelas
5c73ef01bf [doc][algorithms][num_points] update the return value for boxes (now
depends on the dimension of the box)
2014-08-14 00:41:27 +03:00
Menelaos Karavelas
fab29b52e2 [algorithms][num_points] in the range_count class, include the test for n == 0
inside the same if as AddForOpen (much like the previous implementation for this
class)
2014-08-12 00:33:03 +03:00
Adam Wulkiewicz
f2cad14377 Merge pull request #124 from mkaravel/feature/is_valid
Feature/is valid
2014-08-11 20:19:56 +02:00
Adam Wulkiewicz
5a84445e52 Merge branch 'develop' of github.com:boostorg/geometry into develop 2014-08-11 15:42:47 +02:00
Adam Wulkiewicz
5654a36552 [overlay] Fix unused variable warnings (with NDEBUG defined) by removal of unneeded asserts. 2014-08-11 15:42:32 +02:00
Adam Wulkiewicz
a4159a2883 [relate] Fix unused variable warning (with NDEBUG defined). 2014-08-11 15:27:54 +02:00
Bruno Lalande
0c074f1695 Put back implementation_status until support_status is made variant-aware 2014-08-11 13:51:20 +01:00
Barend Gehrels
4b8a11de27 Merge pull request #131 from mkaravel/fix/distance-unused-warning
[algorithms][distance] add a comment about the usage of boost::ignore_unused
2014-08-11 13:48:50 +02:00
Menelaos Karavelas
c218f32242 [algorithms][distance] add a comment about the usage of boost::ignore_unused 2014-08-11 14:24:25 +03:00
Adam Wulkiewicz
1029cb13b3 Merge pull request #130 from mkaravel/fix/distance-unused-warning
[algorithms][distance] fix unused variable warning...
2014-08-11 12:49:43 +02:00
Menelaos Karavelas
d572ee54e0 [algorithms][distance] fix unused variable warning when boost is compiled in release mode 2014-08-11 13:41:27 +03:00