Commit Graph

3809 Commits

Author SHA1 Message Date
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
Menelaos Karavelas
2756392b51 [test][point_iterator] fix/update includes 2014-09-24 08:38:43 +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
Barend Gehrels
64c8967170 [examples] change construction order to avoid gcc/clang warning 2014-09-17 10:46:34 +02:00
Barend Gehrels
a569eaf9fb Merge pull request #139 from mlang/fix/num_points-needs-closure
Fix ‘closure’ is not a member of ‘boost::geometry’.
2014-09-17 10:37:46 +02:00
Barend Gehrels
89fc722e04 Merge pull request #138 from mlang/fix/graph_route_example/cost
Fix route costs in graph_route_example
2014-09-17 10:36:57 +02:00
Mario Lang
29006dc748 Fix missing include. 2014-09-17 10:29:25 +02:00
Mario Lang
63077726a0 Use haversine for linestring length as well, to fix route costs. 2014-09-17 09:37:30 +02:00
Adam Wulkiewicz
58b89fc252 Merge branch 'develop' of github.com:boostorg/geometry into develop 2014-09-12 22:07:18 +08:00
Adam Wulkiewicz
2f1ef806cf [test] Rename multi/io tests. 2014-09-12 22:06:59 +08:00
Adam Wulkiewicz
c030ad3333 Merge pull request #137 from awulkiew/fix/winding_spherical
Fix/winding spherical
2014-09-12 22:00:30 +08:00
Adam Wulkiewicz
b165409532 [test] rename within strategies test file 2014-09-12 21:59:32 +08:00
Adam Wulkiewicz
3c6f476326 [test] Fix order of Points in within strategies test 2014-09-12 21:54:14 +08: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
31513f3440 [test][within] Add tests for spherical point in poly. 2014-09-12 14:53:52 +08:00
Adam Wulkiewicz
b72662f137 Merge pull request #135 from awulkiew/fix/winding_spherical
Disable testing of franklin and crossings_multiply strategies for spherical CS.
2014-09-11 14:46:46 +08:00
Adam Wulkiewicz
6a25b99864 [test][within] Do not test franklin and crossings_multiply strategies for spherical CS 2014-09-11 14:37:29 +08:00
Adam Wulkiewicz
f68659ba33 [relate] Fix unused variable warnings 2014-09-11 10:24:00 +08:00
Barend Gehrels
e3130b2f39 [buffer][test] added new failing testcase rt_u10 2014-09-10 15:45:32 +02: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
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
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