Menelaos Karavelas
d2be8d47a3
[iterators][segment_iterator] add implementation for the segment_iterator
...
class, as well as for the free functions segments_begin and segments_end
2014-09-24 08:49:19 +03:00
Menelaos Karavelas
6dea5fca84
[iterators][segment_iterator] add implementation for the underlying
...
segment_iterator type
2014-09-24 08:48:43 +03:00
Menelaos Karavelas
3739d79140
[iterators][segment_iterator] add implementation for an iterator over
...
the segments of a range
2014-09-24 08:48:09 +03:00
Menelaos Karavelas
e9aee61734
[iterators][segment_iterator] add basic dispatch definitions for the
...
segment_iterator and segment_iterator_type classes
2014-09-24 08:45:02 +03:00
Menelaos Karavelas
73ec339f7b
[iterators][concatenate_iterator] add one more template parameter for
...
the reference type (previously it was defaulted to Value&)
2014-09-24 08:43:21 +03:00
Menelaos Karavelas
49af3c4c87
[iterators][flatten_iterator] add one more template parameter for the
...
reference type (previously it was defaulted to Value&)
2014-09-24 08:41:42 +03:00
Menelaos Karavelas
6c6c31d1b2
[iterators][point_iterator] add missing include for interior_type
2014-09-24 08:39:45 +03:00
Adam Wulkiewicz
0f23d2317a
[index] Fix signed/unsigned comparison in is_valid (MPL_ASSERT).
2014-09-22 00:30:08 +02:00
Barend Gehrels
8643a35da3
Merge branch 'develop' into feature/buffer
2014-09-17 16:33:32 +02:00
Barend Gehrels
c55e000eef
[buffer] small changes in comments/test svg
2014-09-17 16:32:25 +02:00
Barend Gehrels
9298ac2a2c
[buffer] fix intersection points on border, equal points should not be checked
...
and correct order in call to side strategy
This fixes case rt_u10
2014-09-17 16:30:03 +02:00
Mario Lang
29006dc748
Fix missing include.
2014-09-17 10:29:25 +02:00
Adam Wulkiewicz
cc1cfbda01
Merge pull request #136 from awulkiew/fix/winding_spherical
...
Fix/winding spherical
2014-09-12 14:58:20 +08:00
Adam Wulkiewicz
585d59fce4
[within] Fix winding strategy MSVC compilation error. Remove the typename keyword from a type definition without dependent type.
2014-09-12 14:57:22 +08:00
Adam Wulkiewicz
f68659ba33
[relate] Fix unused variable warnings
2014-09-11 10:24:00 +08:00
Barend Gehrels
2b9ff190a8
[buffer] add comments
2014-09-10 15:34:30 +02:00
Barend Gehrels
e6043d9a5c
[buffer] fix cases where intersection point falls between robust piece
...
and non-robust original. We now check robust representions of originals
where this cannot happen
This fixes rt_u9
This obsoletes turn_in_input
2014-09-10 15:33:44 +02:00
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
a1f5f50f15
Merge pull request #134 from awulkiew/fix/winding_spherical
...
Fix/winding spherical
2014-09-10 10:55:57 +02: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
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
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
0c2d526faa
[num_geometries] Add missing includes, variant-related
2014-08-27 13:09:04 +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
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
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
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
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
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
Menelaos Karavelas
c218f32242
[algorithms][distance] add a comment about the usage of boost::ignore_unused
2014-08-11 14:24:25 +03: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
Barend Gehrels
446b4494cf
[buffer] remove taxicab distance, comparable distance is OK
2014-08-11 12:25:05 +02:00
Menelaos Karavelas
e472d4b439
[algorithms][num_points] re-write the num_points code so that the add_for_open
...
boolean argument is passed at the dispatch level as a template parameter; this
enables the firther simplification of the code in detail::counting namespace
2014-08-11 13:20:07 +03:00
Barend Gehrels
024b131f1e
[buffer] removed wrong comments
2014-08-11 12:19:33 +02:00
Menelaos Karavelas
ebedefc1da
[algorithms][num_segments] remove the boolean argument: num_segments
...
will always return the true number of segments of the geometry
2014-08-11 13:19:25 +03:00
Menelaos Karavelas
77f5a5b136
Merge branch 'develop' of https://github.com/boostorg/geometry into feature/counting-algorithms
2014-08-11 13:12:30 +03:00
Barend Gehrels
bcc2273e1c
[overlay][enrich] rename index to turn_index and make indices std::size_t
2014-08-11 11:38:01 +02:00
Barend Gehrels
61d8cb20f6
[overlay][enrich] avoid copies of operation/ids by using const*
2014-08-11 11:34:03 +02:00