Commit Graph

624 Commits

Author SHA1 Message Date
Barend Gehrels
cad4707a7d [geometry] Fix ticket 7462, degenerate union for float. This was caused by two distances being wrong (by floating point precision). We now use earlier the alternative sort method (sorting on left/right), using relaxed_epsilon. This fixes the cause.
[SVN r83481]
2013-03-17 21:26:01 +00:00
Barend Gehrels
8fbc112550 [geometry] fixed issue (found myself with testcase #buffer_mp2) where, in double precision, a false intersection point was inserted. This was a robustness issue, an inconsistent side-value in colinear-opposite handler of get_turn_info
[SVN r83475]
2013-03-17 16:28:15 +00:00
Barend Gehrels
c992eb61e8 [geometry] fixed issue (found myself with testcase #buffer_mp1) where two specific circle-like polygons were not overlayed correctly. This was caused by sections not containing all points. We now make the section boxes a little smaller, such that they are not disjoint (10 * epsilon). This margin is a little fuzzy, but that is not harmful, they only influence might be some more comparisons. But that is intentional, we missed now one.
[SVN r83474]
2013-03-17 16:26:34 +00:00
Barend Gehrels
ce3e4e858e [geometry] reorganized buffer strategies
[SVN r83272]
2013-03-03 12:28:16 +00:00
Barend Gehrels
59ab90e79e [geometry] Buffer update, added buffer support for multi_linestring, and the number of steps for round buffers can be specified (both requests of John Lilley)
[SVN r83243]
2013-03-02 14:30:50 +00:00
Barend Gehrels
9808bf8b45 [geometry] updated offset/buffer w.r.t. changes in library
[SVN r83189]
2013-02-27 17:25:07 +00:00
Barend Gehrels
7e949875aa [geometry] applied patch of Vladimir Petrovic and changed std::string (which causes string-construction) to const char* for non-debug mode
[SVN r82690]
2013-02-02 18:47:00 +00:00
Bruno Lalande
6090b106af Made the length algorithm variant-aware.
[SVN r82484]
2013-01-13 23:09:27 +00:00
Barend Gehrels
f3735f6475 [geometry] Made concept-checks variant aware. For now the underlying types are skipped. So a specialization for variants is made, being empty. This also solves two omissions: checks for Ring and Segment. Besides that, it now derives from not-inherited. This was earlier not the case (i.e. concepts were not checked, if type was not found). The commit makes it also consistent with the new system (template parameters auto-derived if possible)
[SVN r82482]
2013-01-13 17:34:50 +00:00
Bruno Lalande
2da1ca09d1 Made wkt write variant-aware.
[SVN r82481]
2013-01-13 17:25:15 +00:00
Barend Gehrels
d575690df3 [geometry] added include files for concept checking
[SVN r82476]
2013-01-13 15:05:24 +00:00
Bruno Lalande
8ae4743abb Adapted multi/io/wkt to latest change.
[SVN r82474]
2013-01-13 12:04:01 +00:00
Bruno Lalande
acba0901a7 Made dispatch::wkt able to retrieve the tag by itself + used not_implemented.
[SVN r82473]
2013-01-13 11:57:45 +00:00
Bruno Lalande
dfb6a611db Made the convert algorithm variant-aware.
[SVN r82472]
2013-01-12 23:06:18 +00:00
Bruno Lalande
4be6f96160 Reimplemented variants handling in num_points algorithm.
[SVN r82470]
2013-01-12 21:28:59 +00:00
Bruno Lalande
1be15177cb Reimplemented variants handling in clear algorithm.
[SVN r82469]
2013-01-12 21:06:44 +00:00
Bruno Lalande
0394222c2b Small fix - missing header.
[SVN r82468]
2013-01-12 20:59:42 +00:00
Bruno Lalande
ab7220987e Removed a useless template parameter + used devariant_area in the no-strategy overload.
[SVN r82467]
2013-01-12 20:56:00 +00:00
Bruno Lalande
36c9694321 Reimplemented variant handling in area algorithm.
[SVN r82466]
2013-01-12 20:46:13 +00:00
Bruno Lalande
4d59f27f94 Better aligned the recent new code.
[SVN r82465]
2013-01-12 20:34:40 +00:00
Bruno Lalande
136d84356f Used 'devarianted_' term in append algorithm, like for equals.
[SVN r82464]
2013-01-12 18:33:20 +00:00
Bruno Lalande
c3c0e57304 Made the equals algorithm variant-aware.
[SVN r82463]
2013-01-12 18:28:00 +00:00
Bruno Lalande
ecf429362e Adding back mistakenly removed polygon specialization
[SVN r82452]
2013-01-12 00:24:44 +00:00
Bruno Lalande
684945f1c5 Reimplemented variants handling in clear() to avoid function overloading.
[SVN r82450]
2013-01-11 21:54:41 +00:00
Bruno Lalande
13e2dc0984 Reimplemented variants handling in append to avoid function overloading.
[SVN r82449]
2013-01-11 21:16:55 +00:00
Bruno Lalande
2cc83e50a1 Made the append algorithm variant-aware.
[SVN r82412]
2013-01-08 23:35:28 +00:00
Bruno Lalande
79ce0f7bb5 Gave variant dispatcher a more algorithm-specific name.
[SVN r82409]
2013-01-08 21:58:04 +00:00
Bruno Lalande
22fff3f43b Made clear() variant-aware.
[SVN r82395]
2013-01-08 00:05:36 +00:00
Bruno Lalande
f78cee7c30 Integrated not_implemented into clear.
[SVN r82390]
2013-01-07 22:39:17 +00:00
Bruno Lalande
2a5b55ffe9 Made num_points variant-aware.
[SVN r82378]
2013-01-06 22:27:38 +00:00
Bruno Lalande
da4868a421 Made clearer that variant's tag is irrelevant.
[SVN r82377]
2013-01-06 21:35:07 +00:00
Barend Gehrels
202f8db2b2 [geometry] updated traverse to avoid output of nearly empty rings, like in convert_rings. This also affects unit tests
[SVN r82020]
2012-12-16 13:26:21 +00:00
Barend Gehrels
f7040ca437 [geometry] added combinations point/ring, point/polygon, point/multi_polygon for disjoint and intersects
[SVN r81955]
2012-12-14 22:12:12 +00:00
Barend Gehrels
30cd790db3 [geometry] fix in variable names
[SVN r81951]
2012-12-14 21:19:49 +00:00
Barend Gehrels
54a64a7e35 [geometry] fixed comparable_distance point-linestring (and -range, -polygon)
[SVN r81580]
2012-11-26 22:12:35 +00:00
Barend Gehrels
3ec9d48e43 [geometry] fixed for_each using C++11 lambda's, including adding unit test for them
[SVN r81418]
2012-11-18 19:51:00 +00:00
Bruno Lalande
cd44f9090e Made dispatch::reverse able to find the tag by itself.
[SVN r81077]
2012-10-28 19:25:13 +00:00
Bruno Lalande
7be65c1fbc Made dispatch::num_points able to find the tag by itself + used not_implemented.
[SVN r81075]
2012-10-28 19:08:35 +00:00
Barend Gehrels
931d6b65bf [geometry] Bugfix: difference problem reported by H2 at Boost.Geometry list at 2012-09-14 and 2012-10-11
[SVN r80993]
2012-10-15 21:12:25 +00:00
Bruno Lalande
18e9c2d582 Defaulted Tag template parameter in dispatch::num_interior_rings.
[SVN r80972]
2012-10-12 21:47:24 +00:00
Bruno Lalande
212dec5619 Used not_implemented in dispatch::num_geometries.
[SVN r80970]
2012-10-12 21:38:41 +00:00
Bruno Lalande
852185860e Defaulted Tag template parameter in dispatch::num_geometries.
[SVN r80969]
2012-10-12 21:36:00 +00:00
Bruno Lalande
5ec3230d0d Defaulted various template parameters in dispatch::intersection_insert.
[SVN r80965]
2012-10-11 22:54:47 +00:00
Bruno Lalande
53508d6838 Moved more template params to function level in dispatch::intersection_insert.
[SVN r80948]
2012-10-10 22:46:46 +00:00
Bruno Lalande
ee51d3310e Moved Strategy template parameter from class to function level in dispatch::intersection_insert.
[SVN r80944]
2012-10-10 21:35:39 +00:00
Bruno Lalande
4a741dd86c Used not_implemented for dispatch::for_each.
[SVN r80941]
2012-10-10 20:18:17 +00:00
Bruno Lalande
db23bb2e83 Made dispatch::for_each able to retrieve the tag by itself.
[SVN r80922]
2012-10-09 23:19:54 +00:00
Bruno Lalande
2dce3e0c56 Moved Functor template param from class to function level in dispatch::for_each.
[SVN r80919]
2012-10-09 23:03:18 +00:00
Bruno Lalande
35b39be71a Applied latest change to multi-for_each.
[SVN r80918]
2012-10-09 22:39:51 +00:00
Bruno Lalande
ce600855ba Removed IsConst stuff from dispatch::for_each - this is useless because constness is part of the type already.
[SVN r80917]
2012-10-09 22:22:17 +00:00