Adam Wulkiewicz
a529c3d73c
Merge pull request #351 from awulkiew/fix/cart_intersect_different_points
...
Fix/cart intersect for different RobustPoint types
2016-06-13 10:25:47 +02:00
Adam Wulkiewicz
54de9f96a1
[strategies] Support different RobustPoint types.
2016-06-06 21:14:00 +02:00
Norbert Wenzel
49dd3bb627
Remove extraneous semicolon
2016-06-05 15:40:27 +02:00
Adam Wulkiewicz
92c134a378
Merge pull request #347 from plopresti/warnings
...
Silence unused parameter warnings (GCC/Clang -Wextra).
2016-05-28 23:47:38 +02:00
Patrick J. LoPresti
823af75c25
Silence unused parameter warnings (GCC/Clang -Wextra).
2016-04-13 15:01:03 -07:00
Barend Gehrels
ee6167d07e
[overlay] remove obsolete condition, giving warning on on systems,
...
in 'move' method
2016-04-13 10:31:56 +02:00
Adam Wulkiewicz
ef6861ad37
[math] Add missing include.
2016-04-05 19:17:41 +02:00
Adam Wulkiewicz
1cf0db5e68
[envelope] Use the original units in the implementation for Segment when possible.
2016-04-05 01:07:29 +02:00
Adam Wulkiewicz
88c49a9c7a
[math] Add math::as_radian and math::from_radian utilities.
2016-04-05 00:56:37 +02:00
Adam Wulkiewicz
3b605afaa7
[envelope] Fix envelope for specific cases of spherical Segments.
...
Remove invalid assertions failing for short segments (ticket 12106).
Ensure MIN <= MAX for segments where difference of coordinates is lesser than machine epsilon by replacing comparisons using epsilon with strict operator calls.
2016-04-03 02:25:06 +02:00
Barend Gehrels
85e0755ccd
[traverse][fix] use two passes, in first pass avoid uu turns to get
...
the interior rings right at starting points. Second pass use uu, but
only switch source if there are only uu turns found. This fixes most
of the simple cases (complex cases can still go wrong)
2016-03-23 13:25:30 +01:00
Barend Gehrels
7186c46f02
[traverse] split new method iterate into two parts
2016-03-23 12:09:12 +01:00
Barend Gehrels
999f3c96a8
[traverse] move iteration to traversal class, to later split it more
...
and reuse it
2016-03-23 12:00:08 +01:00
Barend Gehrels
2db89e5985
Merge branch 'develop' of https://github.com/boostorg/geometry into develop
2016-03-16 17:54:56 +01:00
Barend Gehrels
588d102b19
[union] same solution as for intersection should be applied for union,
...
but not in case of uu or similar
2016-03-16 17:54:03 +01:00
Adam Wulkiewicz
0e83cbce5d
[util] Add missing include (range_reference).
2016-03-16 16:22:53 +01:00
Adam Wulkiewicz
5c3b606dd4
Merge branch 'develop' of github.com:boostorg/geometry into develop
2016-03-16 16:09:19 +01:00
Adam Wulkiewicz
75ad78a21c
[core] Refactor the includes, remove unneeded dependencies.
2016-03-16 16:09:02 +01:00
Barend Gehrels
7d3d0dd69f
[traverse] revise last weeks fix, make it more general. It should just
...
skip finalized arcs. This fixes the robustness test almost completely
2016-03-16 14:46:05 +01:00
Barend Gehrels
c9b9c6950f
[traverse] merge method calls
2016-03-16 12:08:13 +01:00
Barend Gehrels
b468a369e8
[traverse] remove unintentionally committed extra debug info
2016-03-16 12:07:35 +01:00
Adam Wulkiewicz
2f1f29acb6
[core] Add missing include (type_traits).
2016-03-16 04:26:54 +01:00
Adam Wulkiewicz
54fcaf8273
[extensions] Cleanup include (type_traits).
2016-03-16 01:19:39 +01:00
Adam Wulkiewicz
3a688340dd
[io] Cleanup includes (type_traits, range).
2016-03-16 01:19:13 +01:00
Adam Wulkiewicz
fbf5bcd3f3
[policies] Cleanup includes (type_traits).
2016-03-16 01:18:40 +01:00
Adam Wulkiewicz
6208fd9556
[core] Cleanup includes (type_traits, mpl).
2016-03-16 01:18:00 +01:00
Adam Wulkiewicz
ad916f108d
[strategies] Cleanup includes (type_traits, mpl).
2016-03-16 01:17:02 +01:00
Adam Wulkiewicz
b791e1eede
[algorithms] Cleanup includes (type_traits, range).
2016-03-16 01:16:16 +01:00
Adam Wulkiewicz
e79b50c60d
[util] Cleanup includes (type_traits, range).
2016-03-16 01:15:21 +01:00
Adam Wulkiewicz
3ba3a76263
Merge pull request #345 from awulkiew/feature/xxx_in_box
...
Point/Box and Box/Box spatial relations in non-cartesian coordinate systems.
2016-03-09 17:50:28 +01:00
Adam Wulkiewicz
016dc66a68
[strategies] Refactor non-cartesian box_in_box and point_in_box (guidelines, avoiding duplication).
2016-03-09 17:07:08 +01:00
Adam Wulkiewicz
fa300f4089
[disjoint] Refactor non-cartesian box_box implementation (guidelines, avoiding duplication).
2016-03-09 17:06:25 +01:00
Adam Wulkiewicz
65cc553e31
[util] Add math::longitude_distance_signed and math::longitude_distance_unsigned functions.
2016-03-09 17:05:22 +01:00
Barend Gehrels
5383c24b34
[traverse][cluster] fix cases where it selected wrong arc at cluster,
...
a pseudo interior ring
2016-03-09 11:51:12 +01:00
Adam Wulkiewicz
4444357697
[disjoint] Support non-cartesian CSes for Pt/Box and Box/Box.
...
For Point/Box use part of the implementation of point_in_box covered_by
strategy.
2016-03-09 04:25:02 +01:00
Adam Wulkiewicz
8f14bf15c0
[strategies] In point_in_box support non-cartesian CSes and make this strategy it default.
...
The reason is that width of a Box may be greater than 180 deg. Side
strategy won't give the correct result in that case. For edges greater
than 180 deg the result of a side calculation is the opposite to expected.
2016-03-09 04:21:39 +01:00
Adam Wulkiewicz
97fae7d1dd
[strategies] Remove unneeded default_strtegy specializations for box_in_box strategy.
2016-03-09 04:20:10 +01:00
Adam Wulkiewicz
62eaf3a24d
[strategies] In ssf strategy check result WRT epsilon.
2016-03-08 14:46:20 +01:00
Adam Wulkiewicz
d04acacc74
[strategies] Support non-cartesian CSes in box_in_box strategy.
2016-03-08 04:38:48 +01:00
Adam Wulkiewicz
183d32f2e3
[strategies] In winding strategy use normalize_longitude() to avoid using dummy argument to normalize_spheroidal_coordinates().
2016-03-08 04:32:49 +01:00
Adam Wulkiewicz
49e90b204b
[util] Add normalize_longitude() function.
2016-03-08 04:31:20 +01:00
Adam Wulkiewicz
b5250287f6
[relate] Update copyright info.
2016-03-07 03:28:52 +01:00
Adam Wulkiewicz
a9ea6dcd48
[relate] Remove unused/broken ctors of result handlers.
2016-03-07 03:23:28 +01:00
Adam Wulkiewicz
175496f4f5
Merge pull request #343 from awulkiew/fix/winding
...
Fix winding strategy for spherical and geographic system.
2016-03-06 22:45:47 +01:00
Adam Wulkiewicz
463a085698
Merge pull request #341 from awulkiew/fix/rescale_policy
...
Enable rescale policy only in cartesian coordinate system.
2016-03-06 22:41:39 +01:00
Adam Wulkiewicz
a0f3058910
[winding][within] Fix winding strategy for some special cases near poles.
2016-03-03 15:43:59 +01:00
Adam Wulkiewicz
a64e23b64d
[within][winding] Support special cases (poles).
...
Segments traversing poles, segment endpoints on poles, point on pole.
2016-03-03 04:18:30 +01:00
Adam Wulkiewicz
9617f99513
[buffer] Adjust the buffer WRT recent changes in winding strategy.
...
In order to check if a point is inside rings buffer instead of calling
within() has optimization manually checking the sides of monotonous
sections in some cases. Since now the winding strategy scans X-dimension
the dimension used in optimization must also be X.
2016-03-03 01:21:03 +01:00
Adam Wulkiewicz
7e26469fb1
[strategies][within] Fix winding strategy for non-cartesian CS.
...
E.g. in spherical CS if a point has the same latitude as both points of
a segment it doesn't mean that it lies on the segment. This change fixes
this edge case by scanning 0-dimension instead of 1-dimension. In
spherical and geographic it's guaranteed that if longitude is the same a
point lies on a segment. Segments going through poles are not yet
supported.
2016-03-03 01:15:33 +01:00
Adam Wulkiewicz
69e32e2b20
[overlay] Remove unused typedef.
2016-03-02 15:28:12 +01:00