Commit Graph

330 Commits

Author SHA1 Message Date
Barend Gehrels
086fee9c73 Added assign_box_corners.hpp in previous commit
[SVN r73324]
2011-07-24 09:43:57 +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
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
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
6ba4da656f Fixed first/second in cart_intersect.hpp
[SVN r73285]
2011-07-21 19:55:56 +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
Barend Gehrels
7e5f19edbd Removed (obsolete) usage of within_code in assign_parents
[SVN r73120]
2011-07-15 16:45:01 +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
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
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
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
Barend Gehrels
f6b0488d5f Fixed commented ifdefs
[SVN r72603]
2011-06-15 16:14:50 +00:00
Barend Gehrels
b9ae2f8835 Updated doc w.r.t. side strategies
[SVN r72418]
2011-06-05 17:40:41 +00:00
Barend Gehrels
60b4d5d4b1 Small adaptions to side
[SVN r72293]
2011-05-30 20:55:10 +00:00
Barend Gehrels
699f63a637 Huiller: changed to calculation types (now supporting ttmath)
distance_projected_point.hpp: minor changes

[SVN r72286]
2011-05-30 15:07:12 +00:00
Barend Gehrels
e20206ab23 Made side strategy consistent with distance etc (with services::default_strategy)
Updated test spherical_side.cpp now testing ssf, cross_track, cartesian

[SVN r72269]
2011-05-29 20:46:22 +00:00
Barend Gehrels
b78f097e02 Fixed side-by-cross-track (now non-default)
[SVN r72240]
2011-05-28 09:19:28 +00:00
Barend Gehrels
48d5f65669 Fixed ssf for spherical equatorial coordinate system (old version was for polar)
[SVN r72238]
2011-05-27 23:02:58 +00:00
Barend Gehrels
5eb0739f08 Spherical coordinate systems: splitted into "polar" and "equatorial" with opposite (co)latitude
[SVN r72233]
2011-05-27 22:01:05 +00:00
Barend Gehrels
80458f256d Added spherical side formula
[SVN r72208]
2011-05-27 08:46:32 +00:00
Barend Gehrels
a6088a5532 Fixed typo
[SVN r72075]
2011-05-22 14:39:51 +00:00
Barend Gehrels
92a2d629ea (Re)implemented equals_with_epsilon for ttmath
Therefore partly reverted earlier change with TypeForEpsilon

[SVN r72060]
2011-05-21 13:51:15 +00:00
Barend Gehrels
bcad57a4a3 Fix for gcc (abs vs std::abs)
[SVN r72059]
2011-05-21 12:06:14 +00:00
Barend Gehrels
f79ce43c81 Fixed geometry::equals for high precision
[SVN r72029]
2011-05-18 18:06:34 +00:00
Barend Gehrels
1f818c7527 Fixed (embarrassing but non-harmful) bug for performance shortcut
[SVN r72027]
2011-05-18 08:02:10 +00:00
Barend Gehrels
21fc3b147d Fixed box_view copy, added order traits function and corresponding unit test
[SVN r71861]
2011-05-10 17:26:00 +00:00
Barend Gehrels
925dd5e868 Doc update
[SVN r71836]
2011-05-08 20:58:46 +00:00
Barend Gehrels
c821efcc2b Removed std_as_linestring/ring/multi_point and c_array* and boost_array* because there are now macros for that
Mention box/point/segment as helper-geometry explicitly
Removed all std geometries from geometries.hpp, geometry.hpp, multi.hpp - they have to be included explicitly


[SVN r71825]
2011-05-08 15:55:43 +00:00
Barend Gehrels
d772abb370 Removed now empty folders
[SVN r71816]
2011-05-08 12:26:25 +00:00
Barend Gehrels
f2d097365a Moved circular_iterator to extensions (was not used internally)
Moved range_type/as_range to details (of views/algorithms)


[SVN r71807]
2011-05-08 10:57:21 +00:00
Barend Gehrels
0a08d1f42c Moved box_range/segment_range to views, renamed to box_view/segment_view, removed corresponding iterators (now nested class), created detail::points_view of which other two are derived
[SVN r71794]
2011-05-07 22:11:19 +00:00
Barend Gehrels
543e65e840 Fixed box-in-box (default_strategy was not defined)
[SVN r71721]
2011-05-04 20:40:34 +00:00
Barend Gehrels
98819656e8 Added (previously deleted) macro's for register linestring, ring. Added macro's for register multi geometries
[SVN r71714]
2011-05-04 16:11:44 +00:00
Barend Gehrels
6cb19c253c Fixed box_iterator behaviour to support Boost.Range concept checking
[SVN r71628]
2011-04-30 16:29:21 +00:00
Bruno Lalande
d92dbecb6a Aligned adapted C array and Boost Array to the recent changes.
[SVN r71575]
2011-04-28 21:26:54 +00:00
Barend Gehrels
49804f1291 Documented box, renamed TEMPLATIZED TEMPLATED
Removed registration of linestring/ring as it will be replaced by view or view_as

[SVN r71490]
2011-04-25 21:19:26 +00:00
Bruno Lalande
5c8365befb Removed adapted/fusion_<cs>.hpp files and added a macro to use instead.
[SVN r71475]
2011-04-25 08:32:51 +00:00
Bruno Lalande
fc68031c90 Removed adapted/tuple_<cs>.hpp files and added a macro to use instead.
[SVN r71448]
2011-04-23 22:26:50 +00:00
Barend Gehrels
7949efd6d4 Doc update;
Added boost_polygon.hpp header including the other adaption headers

[SVN r71423]
2011-04-22 22:27:34 +00:00
Barend Gehrels
c0c548769f Fix in interior_type
[SVN r71416]
2011-04-22 11:01:31 +00:00
Barend Gehrels
8a449c8bdb Added check for valid input for all intersections. If not valid, it throws.
[SVN r71357]
2011-04-17 20:55:57 +00:00
Bruno Lalande
0b9230931c Generalized Boost.Tuple adaptation to nD.
[SVN r71349]
2011-04-17 09:55:12 +00:00
Barend Gehrels
8cca47c971 Doc update (metafunctions tag, tag_cast, point_type)
[SVN r71329]
2011-04-16 20:42:57 +00:00
Barend Gehrels
5be2736b4b Added headerfiles now missing for clang
[SVN r71326]
2011-04-16 18:05:13 +00:00
Barend Gehrels
68fd8869c5 Added boost/geometry.hpp
Doc update (metafunctions coordinate type, system, dimensions, point_order, closure, tags degree/radian, constans min_corner, max_corner)


[SVN r71325]
2011-04-16 18:00:03 +00:00
Barend Gehrels
5580e6b622 Added/updated doc/examples for assign/convert/convex_hull
[SVN r71321]
2011-04-16 13:16:26 +00:00
Barend Gehrels
6cd0509ac0 Small doc fix
[SVN r71319]
2011-04-16 12:24:09 +00:00
Barend Gehrels
726e26b971 Moved assign-variants to detail, reverted (manually) move of convert to detail
[SVN r71309]
2011-04-16 11:31:53 +00:00