Commit Graph

8536 Commits

Author SHA1 Message Date
Barend Gehrels
c018c393f4 Manually reversed move of cross_product.hpp from extensions and renamal of stream_wkt to iomanip (because it is in /wkt/ we now call it stream.hpp)
[SVN r76912]
2012-02-06 18:41:46 +00:00
Barend Gehrels
c29ed3112b Merged libs/geometry fixes since 2011-01-15
[SVN r76905]
2012-02-05 18:48:26 +00:00
Barend Gehrels
b9d85b89d5 Merged geometry fixes since 2011-01-15
[SVN r76904]
2012-02-05 18:47:13 +00:00
Barend Gehrels
24c00a02c6 Doc update
[SVN r76903]
2012-02-05 17:35:40 +00:00
Barend Gehrels
1d0ddb14f4 Added robustness check for convex hull, hull of random points + check on covered_by
[SVN r76902]
2012-02-05 17:33:57 +00:00
Barend Gehrels
0141f5dc1e Removed one non-relevant test for convex_hull
[SVN r76901]
2012-02-05 16:38:27 +00:00
Barend Gehrels
47fcff59b3 Added several tests for ticket #6019, fixed now, and some other configurations
[SVN r76900]
2012-02-05 16:20:37 +00:00
Barend Gehrels
e5f2fd419b Fixed ticket #6019, when multiple points were on the left, the points below the point taken were popped out by the algorithm, because they were sorted from top to bottom. We therefore take the lower-left point such that there are no points below. This problem was not present at the right side but we now take there the upper right point.
[SVN r76899]
2012-02-05 16:19:23 +00:00
Barend Gehrels
42895fbf4c Removed redundant test (also before #6019, fix will be committed later today)
[SVN r76898]
2012-02-05 14:29:34 +00:00
Barend Gehrels
ab570e43d9 Removing old if-defined stuff before the fix of ticket #6019
[SVN r76897]
2012-02-05 14:27:36 +00:00
Barend Gehrels
e240595fc0 Fixed missing include for multi/append
[SVN r76896]
2012-02-05 11:32:56 +00:00
Barend Gehrels
cd84ffd149 cross_product.hpp which is now splitted into cross_product (the real) and determinant
[SVN r76895]
2012-02-05 11:18:51 +00:00
Barend Gehrels
b924314228 Pending commits in unit tests
[SVN r76894]
2012-02-05 11:09:40 +00:00
Barend Gehrels
d75845b0db Adapted test Christoph to gcc which, for long double, also results in a polygon (pt 2 / msvc as well)
[SVN r76890]
2012-02-04 22:12:12 +00:00
Barend Gehrels
5ba364a6ac Adapted test Christoph to gcc which, for long double, also results in a polygon
[SVN r76889]
2012-02-04 21:50:01 +00:00
Barend Gehrels
22ba5b5dee Pending commit to add case of Christoph at 2011-08-19 and remove ticket_17 (which has self-intersections)
[SVN r76888]
2012-02-04 21:07:20 +00:00
Barend Gehrels
59cc514794 Compile fix, geometry namespace should be there for side (in some scenarios).
Numeric fix, centroid should use !equals and not !=

[SVN r76886]
2012-02-04 17:40:32 +00:00
Barend Gehrels
eba013de10 Added explanatory comment
[SVN r76885]
2012-02-04 17:23:15 +00:00
Barend Gehrels
861ae36157 We stick to the way more common term determinant for 2d side/area/centroid calculations.
It is in detail - we might use LA or another library in the future

[SVN r76884]
2012-02-04 17:16:49 +00:00
Barend Gehrels
2c055da57d Added/updated unit test for distance fix, and new calculation_type meta function
[SVN r76882]
2012-02-04 15:18:06 +00:00
Barend Gehrels
7e34299ced Fixed distance of large integers
[SVN r76881]
2012-02-04 15:14:33 +00:00
Barend Gehrels
d16d09db78 Simplified select_most_precise unit test
[SVN r76873]
2012-02-04 12:15:45 +00:00
Bruno Lalande
e707b7660f Made the multi version of dispatch::convert inherit from its underlying implementation.
[SVN r76872]
2012-02-04 10:35:35 +00:00
Bruno Lalande
43ceb90822 Corrected inclusions in support_status.
[SVN r76871]
2012-02-04 10:17:26 +00:00
Barend Gehrels
237bd311d9 Fixed unit test for policy template parameter which has no default anymore
[SVN r76865]
2012-02-04 00:03:08 +00:00
Barend Gehrels
cbc6472435 Added testcase for last fix
[SVN r76864]
2012-02-03 23:42:07 +00:00
Barend Gehrels
26100514b9 Fixed disjoint case directed to "error" (which as later on directed to disjoint again, why it was never noticed, but that is changed now)
[SVN r76863]
2012-02-03 23:33:28 +00:00
Barend Gehrels
89de77ff7e Added virtual d'tor with throw spec which was not checked by MSVC
[SVN r76861]
2012-02-03 22:11:58 +00:00
Barend Gehrels
be732f26d2 Added tests for disjoint (for fixes in previous commit)
[SVN r76860]
2012-02-03 21:18:17 +00:00
Barend Gehrels
1cd17cbe45 Fixed wrong behaviour for intersects/disjoint algorithms for pair of linestrings which were degenerate, or collinear, or one starting in the middle from the other.
Also removed the never-used parallel option.
Throws an error at unexpected input (robustness errors)

[SVN r76859]
2012-02-03 21:14:13 +00:00
Barend Gehrels
02fa928c9c Reorganized robustness test include orders, which fixes compiler error (w.r.t. point_xy), and fixed empty_input_exceptions which could occur in some tests
[SVN r76858]
2012-02-03 21:02:52 +00:00
Barend Gehrels
4eae3b5b37 Updated tests to latest fixes, within/large integers, correct now with int, removed wkt/iomanip by default
[SVN r76857]
2012-02-03 19:15:02 +00:00
Barend Gehrels
f20bfd7b83 Bugfix, fixes including wkt/iomanip.hpp which should not be done. It might cause an assertion to fail on any non-streamable type
[SVN r76856]
2012-02-03 18:21:05 +00:00
Barend Gehrels
cbdb6c26cc Updated WKT test w.r.t. ttmath
[SVN r76855]
2012-02-03 16:22:43 +00:00
Barend Gehrels
18ef2e7e03 Fixed greater<...> w.r.t. type (same as less<...> last week, this one was forgotten)
[SVN r76854]
2012-02-03 15:21:48 +00:00
Barend Gehrels
53ce61eafd Added check on 3 #snake tests
[SVN r76782]
2012-01-29 21:36:13 +00:00
Barend Gehrels
9861e6ef65 Updated unit-test to correctly closing - this also makes detected areas correspond to SQL Server test
[SVN r76781]
2012-01-29 21:29:51 +00:00
Barend Gehrels
cd86a8a31b Now correctly select starting/end point and middle-point-of-round
[SVN r76780]
2012-01-29 21:26:20 +00:00
Barend Gehrels
1f5e4c45e4 Buffer, added intersection check on already splitted of rings. This is necessary for cases like #indentation7 where the new helper-line crosses an already moved other helperline.
[SVN r76776]
2012-01-29 14:31:23 +00:00
Barend Gehrels
a4e0d5c384 Belongs to last commit, two tidy ups more
[SVN r76772]
2012-01-29 11:02:13 +00:00
Barend Gehrels
ddfed476c1 Check on positive area of split off rings, further moved/renamed things and prepared for next phase
[SVN r76771]
2012-01-29 10:58:35 +00:00
Barend Gehrels
d8083b7ad1 Fixed expand example (broken by area_surveyor which incorrectly had point_xy)
[SVN r76770]
2012-01-28 23:22:35 +00:00
Barend Gehrels
01a2346472 Small fix for svg-debugging
[SVN r76769]
2012-01-28 23:13:53 +00:00
Barend Gehrels
f5c870f96a Had to move case 'hv4' to non-float because of error on linux/gcc
[SVN r76768]
2012-01-28 21:20:13 +00:00
Barend Gehrels
a4bb2f9de1 Harmonized offset with buffer, using range_buffer, and making hooklets vary on parameter.
This repairs offset (broken few days)

[SVN r76767]
2012-01-28 21:13:39 +00:00
Barend Gehrels
3b26c5f6c0 Added large-integer tests to area/centroid (tested as well for within,sectionalize,intersections,correct)
[SVN r76756]
2012-01-28 18:31:50 +00:00
Barend Gehrels
4594a65da4 Introduced cross-product for area,centroid,side,intersection(determinant,direction,relation)
[SVN r76755]
2012-01-28 18:29:47 +00:00
Barend Gehrels
10b649c234 Moved cross product from extensions
[SVN r76751]
2012-01-28 15:43:19 +00:00
Barend Gehrels
3a655b7080 Fixed subtle bug causing polygons with large integers to be reversed because of the wrongly typed predicate
[SVN r76741]
2012-01-28 14:39:47 +00:00
Barend Gehrels
2360d2443b Temporarily fixed offset
[SVN r76737]
2012-01-28 12:21:45 +00:00