Commit Graph

466 Commits

Author SHA1 Message Date
Barend Gehrels
388feb89ae Boost.Geometry doc updates and fixes
[SVN r76997]
2012-02-12 17:07:37 +00:00
Barend Gehrels
b3d5729e4d Boost.Geometry line/poly overlay (new for 1.49), bugfix (avoid degenerate lines with only one point, and sub-sort on operation in case of duplicate intersection points). Including unit test update.
Note, this also fixes two earlier unit tests with degenerate outputs.

[SVN r76978]
2012-02-11 17:10:17 +00:00
Barend Gehrels
b86fa4fe8a Boost.Geometry fix, point_in_ring should get strategy, and included covered_by for multi (belongs to last fix)
[SVN r76977]
2012-02-11 14:52:43 +00:00
Barend Gehrels
e35a3b1610 Boost.Geometry line/poly overlay (new for 1.49), bugfix (take point-in-between instead of first point)
[SVN r76975]
2012-02-11 14:24:42 +00:00
Barend Gehrels
43d6bfc722 Boost.Geometry fix - multi_centroid should have same throwing behaviour as centroid
[SVN r76964]
2012-02-10 20:44:25 +00:00
Barend Gehrels
604bb60f17 Boost.Geometry doc updates
[SVN r76963]
2012-02-10 19:52:53 +00:00
Barend Gehrels
6ee3d1bf15 Added non-included algorithm header files (Boost.Geometry ML 2012-02-08)
[SVN r76949]
2012-02-08 19:20:45 +00:00
Barend Gehrels
178b23f538 Belongs to last commit, second call to throw (not warned by by MSVC...)
[SVN r76917]
2012-02-06 20:53:34 +00:00
Barend Gehrels
56a8ecb01b Commented throw_on_empty_input for area, length, perimeter (but not for distance), see comments in throw_on_empty_input.hpp
[SVN r76916]
2012-02-06 20:50:12 +00:00
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
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
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
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
7e34299ced Fixed distance of large integers
[SVN r76881]
2012-02-04 15:14:33 +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
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
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
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
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
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
01a2346472 Small fix for svg-debugging
[SVN r76769]
2012-01-28 23:13:53 +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
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
Barend Gehrels
f7604ade9a Removed two obsolete headerfiles
[SVN r76734]
2012-01-28 12:01:57 +00:00
Barend Gehrels
0dad0809af Moved check on input size such that they are together
[SVN r76733]
2012-01-28 12:01:11 +00:00
Barend Gehrels
3ab79561b5 Update for non MSVC
[SVN r76731]
2012-01-28 11:11:45 +00:00
Barend Gehrels
70db31de02 Buffer update - this solves indentation-case up to 0.6 and tests it
[SVN r76730]
2012-01-28 10:58:33 +00:00
Barend Gehrels
c4427fd248 Fixed covered_by for multi
[SVN r76728]
2012-01-27 22:55:27 +00:00
Barend Gehrels
7b18dd20f4 Update in extensions: buffer. Reworked appender, now correctly buffers all saw/bowls (but not yet indentations and many others)
[SVN r76717]
2012-01-27 17:02:59 +00:00
Barend Gehrels
9af7694911 Milestone, buffer is basically working now. That's to say, convex polygons, or some concavities are buffered correctly. Still to do:
- concavities in starting point
- intersections beyond hooklets
- concavities-only (as in triangular holes)
- internal overlaps (with dissolve)

[SVN r76710]
2012-01-26 20:54:17 +00:00
Bruno Lalande
b18b27dea4 Integrated 'within' algorithm into support_status.
[SVN r76695]
2012-01-25 23:11:12 +00:00
Bruno Lalande
d7f1136044 Moved Strategy template param from class level to function level in dispatch::within.
[SVN r76694]
2012-01-25 23:01:50 +00:00
Bruno Lalande
2700a5a1ba Made dispatch::within able to retrieve the tags by itself.
[SVN r76693]
2012-01-25 22:54:01 +00:00
Barend Gehrels
20eca8b2fa Buffer update, merged impl's of polygon/linestring into range_buffer, and some more tidy up
[SVN r76676]
2012-01-24 23:04:30 +00:00
Bruno Lalande
6c256b142e Integrated covered_by into support_status.
[SVN r76674]
2012-01-24 21:36:40 +00:00
Bruno Lalande
fc59cdf857 Moved Strategy template parameter from class level to function level in dispatch::covered_by.
[SVN r76672]
2012-01-24 21:15:48 +00:00
Bruno Lalande
bb01b619e1 Made dispatch::covered_by able to retrieve the tags by itself.
[SVN r76671]
2012-01-24 21:05:31 +00:00
Bruno Lalande
ba013bdef2 Integrated 'correct' algorithm into support_status.
[SVN r76670]
2012-01-24 21:02:01 +00:00
Bruno Lalande
e97af061f5 Made dispatch::correct able to retrieve the tag by itself.
[SVN r76669]
2012-01-24 20:15:05 +00:00