Commit Graph

8536 Commits

Author SHA1 Message Date
Adam Wulkiewicz
37283cef00 [doc] Update 1.57 release notes (ticket). 2014-12-19 21:30:32 +01:00
Adam Wulkiewicz
4a543c388a [test][disjoint] Add test case from ticket 10647. 2014-12-19 21:29:59 +01:00
Adam Wulkiewicz
a7ff44f8d0 [test][relate][within][doc] Add test cases. Update 1.58 release notes (ticket solved). 2014-12-19 15:36:58 +01:00
Adam Wulkiewicz
795da1e33a [algorithms][relate] Fix relate for Linear/MultiPolygon (related to sorting of turns and handling of the last LS endpoint). 2014-12-19 15:33:41 +01:00
Adam Wulkiewicz
28423751f4 [test][centroid] Add test cases. 2014-12-19 15:26:29 +01:00
Adam Wulkiewicz
c651ce726b [algorithms] Fix msvc warnings in centroid (unused variable, unreachable code). 2014-12-19 15:25:16 +01:00
Adam Wulkiewicz
c6b3a253e3 [algorithms] Fix static assert check in assign. 2014-12-19 15:24:13 +01:00
Barend Gehrels
0556b10a02 Merge branch 'develop' of github.com:boostorg/geometry into develop 2014-12-17 22:38:37 +01:00
Barend Gehrels
31b0dfffb5 [difference] test-fix: revert earlier change, current partition implementation
gives 9 rings, area 0.01953125
Though this testcase is a bit unstable
2014-12-17 22:38:22 +01:00
Adam Wulkiewicz
5945081bdd [doc] Update release notes for 1.58 (tickets) 2014-12-16 23:21:50 +01:00
Adam Wulkiewicz
8c544903c7 Merge pull request #187 from awulkiew/doc/reference_indexes
Move Reference matrix and alphabetical index one level up in the ToC for better visibility.
2014-12-16 23:15:43 +01:00
Adam Wulkiewicz
6ebe605dfe Merge pull request #186 from awulkiew/fix/variant_params
[algorithms] Replace A and B BOOST_VARIANT_ENUM_PARAMS parameters with T...
2014-12-16 23:15:35 +01:00
Adam Wulkiewicz
8d8ebe07bd [doc] Move Reference matrix and alphabetical index one level up in the ToC for better visibility. 2014-12-16 04:22:22 +01:00
Adam Wulkiewicz
2d6af8af6c Merge pull request #185 from awulkiew/fix/variant_includes
[geometry] Fix the order of Boost.Variant includes.
2014-12-15 23:46:13 +01:00
Adam Wulkiewicz
5fad5e3b7d [algorithms] Replace A and B BOOST_VARIANT_ENUM_PARAMS parameters with T1 and T2 respectively. 2014-12-15 23:27:43 +01:00
Adam Wulkiewicz
4a9ccaf819 [geometry] Fix the order of Boost.Variant includes.
variant_fwd.hpp must be included before other Boost.Variant headers
because it contains config used in other parts of this library.
2014-12-15 19:12:11 +01:00
Adam Wulkiewicz
c61db992dc Merge pull request #183 from awulkiew/feature/geographic
Feature/geographic
2014-12-15 12:47:50 +01:00
Adam Wulkiewicz
824715a7ce Merge branch 'develop' into feature/geographic 2014-12-15 03:06:33 +01:00
Adam Wulkiewicz
102f66d32c [algorithms] Fix unused parameter warning in is_valid for MultiPoint. 2014-12-15 03:06:15 +01:00
Adam Wulkiewicz
b4356a57fc [strategy] In mapping_ssf instantiate mapper::apply<>() explicitly passing calculation_type. 2014-12-13 16:54:16 +01:00
Adam Wulkiewicz
8fa9a25270 [strategies] In mapping_ssf create mapper object once and store it in the strategy.
This way the mapper musn't be created each time strategy apply() is called.

The fraction in the mapper is stored using Spheroid's radius type promoted
to double if necessary.
2014-12-13 16:37:00 +01:00
Adam Wulkiewicz
15a7a5639b [strategies][test] Fix mapping_ssf for integral types (rounding).
During the mapping FP was converted to INT again. To avoid explicit
rounding mapped coordinates are used directly in the SSF. For this purpose
the formula part was extracted from SSF strategy and placed in
side::detail namespace.

Furthermore slightly refactor SSF.
Reenable disabled test for int coordinates.
2014-12-13 16:17:20 +01:00
Adam Wulkiewicz
2e969553fc [strategies] In mapping_ssf properly map latitude using radians. 2014-12-13 15:55:51 +01:00
Adam Wulkiewicz
6f7d9878e3 [strategies] In mapping_ssf strategy use the Mapping correctly.
Use more meaningful types and variables names.
2014-12-13 13:49:21 +01:00
Adam Wulkiewicz
4811c641a9 Merge branch 'develop' into feature/geographic 2014-12-13 12:31:21 +01:00
Adam Wulkiewicz
7d89139b51 [strategy][test] Update copyright notes. 2014-12-13 12:30:47 +01:00
Adam Wulkiewicz
62ac3685ce [strategies] In side_by_cross_track use calc_t promoted in necessary instead of double. 2014-12-13 04:17:52 +01:00
Adam Wulkiewicz
d08c444fef [test] In vincenty strategy test use more robust angle checking. Support user-defined types. 2014-12-13 02:51:14 +01:00
Adam Wulkiewicz
75377a2741 [strategies] In haversine strategy add explicit conversion to calculation type (for user-defined types). 2014-12-13 02:48:08 +01:00
Adam Wulkiewicz
53b4feadfd [algorithms] In vincenty_direct add explicit number conversion to calculation type (for user-defined types). 2014-12-13 02:43:51 +01:00
Barend Gehrels
bef3d6c869 Merge branch 'develop' of github.com:boostorg/geometry into develop 2014-12-12 19:19:03 +01:00
Barend Gehrels
073d157dd6 [partition] enhance performance of partition where substantial part of one
or both collections are exceeding the separation line. Formerly they were
always handled quadraticly. Now they are partitioned as well.
2014-12-12 19:18:07 +01:00
Barend Gehrels
bd6852a89e [partition] add condition in handle-functions for future improvements (next commits) 2014-12-12 18:20:14 +01:00
Barend Gehrels
0c5ca25444 [partition] remove unused types, make level size_t 2014-12-12 18:14:32 +01:00
Barend Gehrels
f857930f18 [partition] fix divide_box free function which was not inline... 2014-12-12 11:29:25 +01:00
Adam Wulkiewicz
b234a023c6 [doc] Update 1.58 release notes (ticket 10861). 2014-12-11 23:05:24 +01:00
Adam Wulkiewicz
518e94913d Merge branch 'develop' of github.com:boostorg/geometry into develop 2014-12-11 23:01:38 +01:00
Adam Wulkiewicz
936d52db27 [index][test] Fix storing of pairs and tuples containing pointers to Geometries. 2014-12-11 22:59:52 +01:00
Adam Wulkiewicz
e399a6bfc8 [test] Fix/tweak test of vincenty direct formula. 2014-12-11 17:28:30 +01:00
Adam Wulkiewicz
0d8c46efe7 [algorithms][test] Add vincenty_direct formula algorithm. 2014-12-11 15:40:15 +01:00
Adam Wulkiewicz
52bb4e36bc [strategies] In mapping_ssf remove :: to allow ADL for math functions. 2014-12-11 01:41:32 +01:00
Adam Wulkiewicz
9169673d90 [algorithms] Add description of azimuth. 2014-12-11 01:38:13 +01:00
Adam Wulkiewicz
de3187f180 [strategies][test] Add distance_ prefix to andoyer and vincenty file names. 2014-12-10 00:22:05 +01:00
Adam Wulkiewicz
a8f7e294fd Merge pull request #182 from mkaravel/feature/new_cross_track_strategy
Feature/new cross track strategy
2014-12-09 23:49:42 +01:00
Adam Wulkiewicz
8807128d2a [test] Add test for geographic/mapping_ssf strategy. 2014-12-09 16:05:53 +01:00
Adam Wulkiewicz
24e71bd8c5 [algorithms] Fix unused parameter warning in flattening for sphere. 2014-12-08 23:35:42 +01:00
Adam Wulkiewicz
e6d58d9463 [strategies] Fix GCC errors and warnings in mapping_ssf strategy. 2014-12-08 23:33:18 +01:00
Adam Wulkiewicz
0802c21421 [strategies] Fix unused variable warning in mapping_ssf strategy and add default ctors. 2014-12-08 21:51:18 +01:00
Adam Wulkiewicz
d4435fe4ac [strategies] Add mapping_ssf geographic strategy. 2014-12-08 21:39:47 +01:00
Adam Wulkiewicz
8529293db2 [strategies] Use new select_calculation_type in side_by_azimuth strategy. 2014-12-08 21:39:09 +01:00