Barend Gehrels
42c3e28ff7
[geometry] fixed ticket 8310, disjoint did give the wrong results. Fixed using point_on_surface. Added unit test. Also tests for overlay algorithms because they might suffer from the same problem
...
[SVN r86579]
2013-11-06 22:42:02 +00:00
Barend Gehrels
3a6ae0bacb
[geometry] revised solution for robustness, we don't go to integer which was shortly done. This is partly a revert of r85867, where we scaled to integer. Now we make side information consistent by iteratively selecting a larger epsilon. This will be moved into a separate class. All tests pass now, also the complete ticket_9081 test which failed before
...
[SVN r86368]
2013-10-20 15:30:21 +00:00
Barend Gehrels
ac40228b07
[geometry] Major bugfix: intersection problem(s) caused by robustness, reported in ticket 9081. Causes were inconsistent side information by floating point precision. We now switch to integer for a specific region (6 points) to have the side information consistent. This removes many separate robustness checks previously done in cart_intersect, which is now more simple and ~200 lines shorter. And it removes also some robustness checks in get_turn_info (probably more were actually needed by old approach). It also uses this system in handle_tangencies and enrich_intersection_points.
...
It now also used the passed side information in direction.hpp, which saves calculations and is shorter.
In the end the performance is similar.
One (of many) situations in ticket 9081 is added in multi unit tests.
[SVN r85867]
2013-09-24 14:18:13 +00:00
Barend Gehrels
fb74bfbe26
[geometry] Fixed ticket 9047 (recursive inclusion) and unit test for ticket 8652
...
[SVN r85552]
2013-09-03 18:45:18 +00:00
Barend Gehrels
95cd9a2126
[geometry] added testcase for ticket 6958 which is also fixed by commit 85451 avoiding spikes
...
[SVN r85491]
2013-08-27 20:33:32 +00:00
Barend Gehrels
5df00d98c3
[geometry] cleanup test removing defines, moving testing-only-one-type to Jamfile
...
[SVN r85481]
2013-08-26 21:36:22 +00:00
Barend Gehrels
126511696c
[geometry] fixes in unit-test, uncommented one testcase, enabled for 3 of 4 polygon types. Added convenience function to list type in case of errors
...
[SVN r85480]
2013-08-26 21:15:47 +00:00
Barend Gehrels
082c8e4d53
[geometry] fixed unit-test for intersections w.r.t. coordinates and last commit for spikes. One test is now commented because it returns different values in different situations
...
[SVN r85467]
2013-08-25 17:51:54 +00:00
Barend Gehrels
d1c4cb7b6d
[geometry] avoid generation of spikes in overlays, this fixes ticket 8364 and 8365. Added unit tests for these tickets. These changes result in (at about 3 places) changes in the output-number-of-points, this is verified visually
...
[SVN r85451]
2013-08-24 22:53:43 +00:00
Barend Gehrels
bc35eb29b6
[geometry] added case for ticket 8254, which had the same problem as buffer_mp1
...
[SVN r83478]
2013-03-17 17:20:47 +00:00
Barend Gehrels
72f3b3f18e
[geometry] test cases for #buffer_mp1 and #buffer_mp2, see previous two commits
...
[SVN r83476]
2013-03-17 16:34:55 +00:00
Barend Gehrels
0703f8e4f6
[geometry] fix in unit tests and avoid gcc warning
...
[SVN r77991]
2012-04-15 12:14:57 +00:00
Barend Gehrels
532007c6ab
[geometry] updated test for robustness issue found
...
[SVN r77305]
2012-03-11 18:12:46 +00:00
Barend Gehrels
575098e9b6
[geometry] Fixed several robustness issues: non-valid polygons/rings are not added anymore;
...
collinear is now symmetric (it could happen that A was collinear w.r.t. B but not vice versa, that is now resolved);
vertical/horizontal (nearly collinear) segments are now checked later (this and previous bug were found by buffer-high-volume tests).
Added testcases (buffer_rt_f did cause problems with previous implementation, fixed now). Updated testcases (some cases are quite sensitive to implementation while output is still valid)
[SVN r77296]
2012-03-10 19:11:17 +00:00
Barend Gehrels
7cb0ae96fd
Boost.Geometry update copyright -> 2012
...
[SVN r76390]
2012-01-09 21:56:08 +00:00
Barend Gehrels
b6673058ad
Linestring/polygon overlay, unit tests for phase 7
...
[SVN r75671]
2011-11-26 17:32:34 +00:00
Barend Gehrels
0e50b5fbb5
Linestring/polygon overlay, unit tests for phase 6
...
[SVN r75575]
2011-11-20 14:55:09 +00:00
Barend Gehrels
1a399451a2
Linestring/polygon overlay, unit tests for third phase
...
[SVN r75565]
2011-11-20 11:56:59 +00:00
Barend Gehrels
5c62dfcf06
Linestring/polygon overlay, unit tests for second phase
...
[SVN r75556]
2011-11-19 16:39:56 +00:00
Barend Gehrels
54cf5f9553
Linestring/polygon overlay, unit tests for first phase
...
[SVN r75553]
2011-11-19 13:45:44 +00:00
Barend Gehrels
25a26d48c1
Bugfix (robustness issue) based on ticket ggl-list by Christophe, dated Aug 20, 2011
...
Phase 1, it still has to be reworked
[SVN r74170]
2011-08-30 21:16:50 +00:00
Barend Gehrels
9dc22e4a06
Added support for point-output
...
[SVN r74163]
2011-08-30 15:56:05 +00:00
Barend Gehrels
3d35336318
Support for Boost.Rational in intersection test (part 2)
...
[SVN r74149]
2011-08-30 11:01:17 +00:00
Barend Gehrels
ee1277dfa5
Added (simplex) test for intersection using Boost.Rational and reapplied test_pointer
...
[SVN r74148]
2011-08-30 10:49:35 +00:00
Barend Gehrels
af9ff27313
Omitted one test for gcc/linux
...
[SVN r73320]
2011-07-24 09:26:17 +00:00
Barend Gehrels
c94bba95fe
Changes intersection tests because output is unique now.
...
[SVN r73319]
2011-07-24 09:08:26 +00:00
Barend Gehrels
06e1044fb8
Included case sent to list on 2011-06-27 by Phillip in intersection/union/difference testcases.
...
Added if_typed and if_typed_tt helper functions
[SVN r72857]
2011-07-02 14:58:53 +00:00
Barend Gehrels
1dc67c1bf5
Removed references to std_as_linestring/ring/multi_point and c_array* and boost_array* because there are now macros for that
...
[SVN r71824]
2011-05-08 15:52:29 +00:00
Barend Gehrels
dbd742cbff
Mention all geometry headerfiles explicitly in examples (according to doc)
...
[SVN r71821]
2011-05-08 14:38:45 +00:00
Barend Gehrels
ab5f5590e8
Added test for exception on invalid input.
...
Bugfix in one of the tests (77) which was indeed invalid
[SVN r71358]
2011-04-17 20:57:18 +00:00
Barend Gehrels
91f240188c
Updated tests (assign -> assign_values)
...
[SVN r71213]
2011-04-12 20:14:55 +00:00
Barend Gehrels
a01c615089
Made copyright notices in libs/geometry consistent
...
[SVN r70876]
2011-04-02 20:33:14 +00:00
Barend Gehrels
2c0378bccb
Reflects renaming things
...
[SVN r70854]
2011-04-02 13:31:05 +00:00
Barend Gehrels
86422d59b5
Reflect changes on make/inserter
...
[SVN r70825]
2011-04-01 16:54:09 +00:00
Barend Gehrels
3d058b87d7
Marked some tests as not being for Intel (for 600 s limit)
...
Added (commited) select_rings
Removed dissolver from solution
Added optional offset for interior_triangles.cpp
[SVN r70582]
2011-03-26 18:48:23 +00:00
Barend Gehrels
252b3dd94b
Small addition/update in examples
...
Updated various intersection tests
[SVN r69585]
2011-03-05 22:28:20 +00:00
Barend Gehrels
251642e5b3
Added tests for empty polygons in intersection,union,difference
...
Added testfiles for multi_difference.cpp, multi_transform.cpp
Added program options in robusness tests
[SVN r69570]
2011-03-04 21:43:58 +00:00
Barend Gehrels
aa9b9e4234
Added many tests for difference
...
Removed obsoleted copy.cpp
[SVN r69515]
2011-03-03 11:33:39 +00:00
Barend Gehrels
b7be230f14
Added ttmath_big for:
...
append,assign,buffer,comparable_distance,convert,correct,disjoint,distance,envelope,for_each,make,reverse,simplify,transform,unique
plus all vcproj files
[SVN r69336]
2011-02-27 16:27:57 +00:00
Barend Gehrels
b4e047f371
Added test for box/box -> box intersection
...
[SVN r67474]
2010-12-28 16:40:15 +00:00
Barend Gehrels
43682f9029
Updates in test, cases for box/ccw are handled now
...
[SVN r67322]
2010-12-19 12:19:10 +00:00
Barend Gehrels
e672af1e8f
Updated tests for new reverse behaviour
...
[SVN r67304]
2010-12-18 17:04:45 +00:00
Barend Gehrels
1c8fce3059
model namespaces, moved point_xy to d2::point_xy, revised point_ll_deg to ll::point<degree>
...
[SVN r66975]
2010-12-02 16:10:47 +00:00
Barend Gehrels
e4f47a7a25
Major update:
...
Adaptions to test with respect to new namespace model
Removed GMP/CLN and, where it was present, replaced by TTMATH
Small fix in comparable_distance test
All testfiles use bg as alias now
[SVN r66811]
2010-11-28 13:28:09 +00:00
Barend Gehrels
e71fb07566
Assemble/traverse/enrich: complete update for handling self tangencies
...
-> added many testcases
Various updates in testcases for support of open polygons
recursive_boxes.cpp, added triangles as well (dropped corner)
[SVN r66450]
2010-11-08 10:32:23 +00:00
Barend Gehrels
71d48da6e0
Implemented box with reverse polygon overlay
...
[SVN r65932]
2010-10-12 20:27:49 +00:00
Barend Gehrels
8f86439655
Implemented ccw, plus check on areal feature, to union, conform intersection
...
Splitted assemble.hpp into get_ring.hpp, convert_ring.hpp, add_to_containment.hpp, overlay.hpp, assemble.hpp
Added some other mpl asserts
[SVN r65923]
2010-10-12 13:04:45 +00:00
Barend Gehrels
6564152e98
Finished ccw implementation of intersection
...
Added mpl assert for correct, if not implemented
Restructured intersection.cpp unit test to support cw
[SVN r65920]
2010-10-12 10:39:09 +00:00
Barend Gehrels
51610518b1
Replaced ignore field by ignore method for swapping operations (for counter clockwise)
...
Added test/algorithms/overlay/ccw_traverse.cpp to test counterclockwise polygon overlays
Added test/algorithms/overlay to standards Jamfile.v2
Moved some testcases to overlay_cases.hpp
Some warning removals in test cases
[SVN r65913]
2010-10-11 16:18:51 +00:00
Barend Gehrels
2d141c7857
Added testcases for intersections outputting points, disjoint segment/linestring, updated Doxygen file
...
[SVN r65256]
2010-09-04 15:28:27 +00:00