Commit Graph

8536 Commits

Author SHA1 Message Date
Adam Wulkiewicz
d5029f92d2 intersects replaced by overlaps in find visitor
[SVN r73391]
2011-07-26 20:53:40 +00:00
Adam Wulkiewicz
b65c697cad within and distance_sqr removed from index/algorithms. geometry::covered_by used in remove visitor.
[SVN r73370]
2011-07-26 02:21:17 +00:00
Barend Gehrels
778c3b878e Fixed convert for two array-types (which cannot be copied in non-MSVC)
[SVN r73327]
2011-07-24 10:25:53 +00:00
Barend Gehrels
6d5456b0d6 Fix in assert for gcc (probably gcc-bug, gcc 4.4.5 on Linux, it considers a const expr. in a macro as non-const)
[SVN r73326]
2011-07-24 09:56:05 +00:00
Barend Gehrels
72731b5750 Added assign_indexed_point.hpp forgotten in previous commit
[SVN r73325]
2011-07-24 09:45:10 +00:00
Barend Gehrels
086fee9c73 Added assign_box_corners.hpp in previous commit
[SVN r73324]
2011-07-24 09:43:57 +00:00
Barend Gehrels
080f7e78cb Updated convert tests
[SVN r73322]
2011-07-24 09:42:05 +00:00
Barend Gehrels
382b4a0f1c Supported convert (and therefore also assign) for many (the most useful) other combinations now (e.g. polygon/polygon with different point-types)
[SVN r73321]
2011-07-24 09:39:47 +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
1bbd1aa73d Enhancement: intersection/union/difference create a unique output set now, by checking just before appending each point
[SVN r73318]
2011-07-24 08:49:13 +00:00
Barend Gehrels
87a5200272 Two small fixes in unit tests for gcc/linux
[SVN r73317]
2011-07-24 08:39:34 +00:00
Barend Gehrels
f956f587ae Fixed type (for conversion/warning), minor change in sectionalize (equals instead of diff/0)
[SVN r73316]
2011-07-24 08:13:59 +00:00
Barend Gehrels
9fbb3b2f36 Fix in double coordinates in test
Use type_tt in union test, added test for recent ticket

[SVN r73315]
2011-07-24 08:12:10 +00:00
Barend Gehrels
6ba4da656f Fixed first/second in cart_intersect.hpp
[SVN r73285]
2011-07-21 19:55:56 +00:00
Barend Gehrels
4fb4ab26b1 Updated tests reflecting changes for within/covered_by
[SVN r73179]
2011-07-17 12:28:21 +00:00
Barend Gehrels
bff7b95e84 Added a "covered_by" algorithm (= within or on border)
Revised point-in-box, box-in-box, now with strategies
Therefore, revised within strategy.
Also adapted concept for within, and refactored getting parameters into parameter_type_of (also used by distance concept)
To avoid specifying default strategies again and again for all spherical coordinate systems, used the spherical_tag as the parent for spherical_polar_tag, spherical_equatorial_tag, geographic_tag


[SVN r73177]
2011-07-17 12:26:01 +00:00
Adam Wulkiewicz
40a9cd095f some options-related template parameters names changed
[SVN r73158]
2011-07-16 22:09:04 +00:00
Adam Wulkiewicz
d70a1756f9 node split algorithm separated from insert visitor, it's now tag-dispatchable.
[SVN r73157]
2011-07-16 22:00:42 +00:00
Adam Wulkiewicz
a55d592702 insert tags renamed
[SVN r73154]
2011-07-16 20:56:56 +00:00
Adam Wulkiewicz
32181b8734 node tag names changed
[SVN r73140]
2011-07-16 09:59:35 +00:00
Barend Gehrels
7e5f19edbd Removed (obsolete) usage of within_code in assign_parents
[SVN r73120]
2011-07-15 16:45:01 +00:00
Barend Gehrels
ed5bcfffb4 Added mixed-types test for within
[SVN r73063]
2011-07-13 19:09:11 +00:00
Barend Gehrels
b3b168e438 Removed unnecessary using clause
[SVN r73061]
2011-07-13 18:59:43 +00:00
Barend Gehrels
9373b40ef3 Fixed error in Box1/Box2
[SVN r73060]
2011-07-13 18:59:02 +00:00
Adam Wulkiewicz
5586fc85bf visitors are now explicitly nonassignable. rtree is set as noncopyable since copying isn't implemented.
[SVN r73029]
2011-07-13 01:57:30 +00:00
Adam Wulkiewicz
e7d84e1bfa example changed, now size of a rtree isn't loaded from file.
[SVN r73028]
2011-07-13 01:38:24 +00:00
Adam Wulkiewicz
3081e37140 area-related names changed to content-related names. index::within parameters sequence corrected to match the geometry::within parameters sequence.
[SVN r73027]
2011-07-13 01:27:30 +00:00
Barend Gehrels
b896888ec3 Added strategy to convert spherical equatorial
[SVN r72981]
2011-07-09 13:20:55 +00:00
Barend Gehrels
85ac00be0c Fixed wrong comment
[SVN r72980]
2011-07-09 13:19:21 +00:00
Barend Gehrels
3a9fcc6028 Added tests for within_code
[SVN r72875]
2011-07-03 14:21:52 +00:00
Barend Gehrels
6cf7d2cd24 Moved within_code from within_util.hpp to within.hpp, and implemented for point/box and box/box
[SVN r72874]
2011-07-03 14:20:20 +00:00
Barend Gehrels
527b3dcce3 Fixed two issues related to last commit
[SVN r72858]
2011-07-02 15:36:37 +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
7b792b1a73 Bugfix of case sent to list on 2011-06-27 by Phillip. To detect if geometry is within another, we use "point_on_border". We used a mid-point there (necessary for intersections), but, from now on, if there are no intersections, we should not use the mid-point because of robustness issues.
In other words, we should use the same point for both intersection-->side and within-->side.

[SVN r72852]
2011-07-02 14:30:53 +00:00
John Maddock
22548cdf53 Enable PDF generation.
[SVN r72757]
2011-06-26 08:08:46 +00:00
Adam Wulkiewicz
5e0d091ab6 Implemented R* choose_next_node algorithm version choosing by nearly min overlap cost
[SVN r72714]
2011-06-21 19:29:44 +00:00
Barend Gehrels
b09438434d Merged r72657 through r72658 adding macro __boost__
Authorized by Daniel James

[SVN r72659]
2011-06-17 22:07:01 +00:00
Barend Gehrels
4dbc7e4203 Added macro Boost
[SVN r72658]
2011-06-17 21:41:09 +00:00
Barend Gehrels
772c367507 Merged commit 72603 to Release Branch
Fixes problem with commented ifdef's (2x)
See Boost ML 15-06-2011 19:36 (CET)
Authorized by Daniel James

[SVN r72656]
2011-06-17 18:47:16 +00:00
Adam Wulkiewicz
6c593d13a9 c++98 errors fixed
[SVN r72620]
2011-06-17 09:46:03 +00:00
Adam Wulkiewicz
1e46876a0d Static parameters are now used everywhere in the code. Further optimizations implemented in quadratic redistribute_elements. Some errors corrected in pushable_array.
[SVN r72619]
2011-06-16 23:10:10 +00:00
Adam Wulkiewicz
523107a4fa min and max elements numbers are now template parameters. New node type added - with arrays of static size. Various parameters are the first template parameter of options::rtree.
[SVN r72618]
2011-06-16 21:15:06 +00:00
Adam Wulkiewicz
5c7f192f14 branch renamed
[SVN r72606]
2011-06-15 19:39:25 +00:00
Adam Wulkiewicz
c89a7d988f broken #include fixed in gl_draw and print visitors
[SVN r72605]
2011-06-15 19:37:13 +00:00
Adam Wulkiewicz
e6256090e9 node_poly is now default node, node_variant is enabled by tag dispatching instead of #define. default_variant_tag added. Asserts implemented as macro BOOST_GEOMETRY_INDEX_ASSERT(CONDITION, TEXT_MSG).
[SVN r72604]
2011-06-15 18:11:59 +00:00
Barend Gehrels
f6b0488d5f Fixed commented ifdefs
[SVN r72603]
2011-06-15 16:14:50 +00:00
Adam Wulkiewicz
c93fad9c6e r* insert corrected to handle boost::variant nodes
[SVN r72600]
2011-06-14 22:53:56 +00:00
Adam Wulkiewicz
550823d1fe translator::getter::equals() changed. Value::operator== used instead of geometry::equals(...).
[SVN r72575]
2011-06-13 22:25:35 +00:00
Adam Wulkiewicz
269c0b5eb3 options moved from index::detail::rtree::options<...> to index::options::rtree<...>
[SVN r72574]
2011-06-13 21:16:15 +00:00