Adam Wulkiewicz
f2a0231574
Merge branch 'develop' into bg-prepare
...
Conflicts due to moving projections from extensions and changes in
dissolve.
2018-02-23 22:05:16 +01:00
Barend Gehrels
f4bf11b8bb
[simplify] use equals_point_point instead of plain equals
2018-02-19 18:41:36 +01:00
Barend Gehrels
d561e2c6cb
[simplify] process review remarks, mainly in using geometry::range instead
...
of the bare traits
2018-02-19 18:38:30 +01:00
Barend Gehrels
da16ae8e79
[simplify] revise solution to get opposite instead of closing area
...
(which fixes some issues) and do more tries (to get more output)
2018-02-18 16:54:30 +01:00
Barend Gehrels
3e53d4d456
[simplify] during review, change implementation using rotate instead of clise
2018-02-17 13:50:07 +01:00
Adam Wulkiewicz
63376f5bb6
Merge commit '224797ce6c39f8289ee3c1fa18ea7259594340bc' into bg-prepare
2018-02-14 23:39:01 +01:00
Barend Gehrels
00389227b2
[simplify] rename iterators (because iterator for out is gone)
2018-02-14 17:05:29 +01:00
Barend Gehrels
7bf4d35616
[simplify] Also remove duplicate point in inserter
2018-02-14 17:05:07 +01:00
Barend Gehrels
a5a43b155c
[buffer] Remove part now responsibility of simplify
2018-02-14 15:02:22 +01:00
Barend Gehrels
2d0ba126d9
[simplify] now some bugs were solved we can relax the fraction and
...
omit starting point earlier
2018-02-14 15:01:05 +01:00
Barend Gehrels
8586ebf6b6
[simplify] Remove duplicate points for lines having 2 points
2018-02-14 15:00:23 +01:00
Barend Gehrels
e0c8651af8
[simplify] do not create empty polygons or interior rings when they are
...
simplified away
2018-02-14 15:00:07 +01:00
Barend Gehrels
51077f7003
[simplify] simplifying small polygons (e.g. triangles), get rid of the minimum
...
to get consistent behaviour in omitting output (otherwise triangles stay,
while larger structures can be simplified away)
2018-02-14 14:52:48 +01:00
Barend Gehrels
1ce9583b17
[simplify] fix new behaviour, if sliced it should be closed explicitly
...
(also to calculate correct areas). Area check with sign instead of boolean.
2018-02-14 11:55:57 +01:00
Barend Gehrels
85b6675954
Merge branch 'develop' into feature/simplify
2018-02-14 09:50:52 +01:00
Adam Wulkiewicz
696e03532f
[strategy] Fix QVM matrix access in matrix_transformer.
2018-02-05 23:45:14 +01:00
Adam Wulkiewicz
f874467abd
[doc][geometries] Remove std::list from bg::model::polygon's example container types.
2018-02-05 22:35:25 +01:00
Adam Wulkiewicz
16e725533f
Merge branch 'develop' of github.com:boostorg/geometry into develop
2018-02-01 03:08:20 +01:00
Adam Wulkiewicz
cf49b534c2
[strategies] Fix unused parameter warning.
2018-02-01 03:08:05 +01:00
Barend Gehrels
41ca8baee7
Merge branch 'develop' into feature/remove_rescaling
2018-01-31 09:56:48 +01:00
Barend Gehrels
53ab7ced45
[simplify] update algorithm for region around closure
2018-01-31 09:55:34 +01:00
Adam Wulkiewicz
1f23119690
[srs] Implement generic is_[param] differently.
...
The intention is to have generic metafunctions for finding parameters that
works with all compilers. Unlike previous implementation which doesn't
work with mingw-gcc-4.1.
Replace one-per-each-parameter is_[param] metafunctions with new generic
ones.
2018-01-29 22:14:49 +01:00
Adam Wulkiewicz
0b01086d20
[srs] Fix unused parameter warnings.
2018-01-29 02:43:19 +01:00
Adam Wulkiewicz
0ce325e422
[srs] Fix extra ';' warnings.
2018-01-29 01:55:17 +01:00
Adam Wulkiewicz
f8140b1ec0
[srs] Fix fallthrough warnings with BOOST_FALLTHROUGH;
2018-01-28 13:57:23 +01:00
Adam Wulkiewicz
856e8a4f11
[srs] Fix unused parameter warnings in projections.
2018-01-28 03:28:16 +01:00
Adam Wulkiewicz
64b0472c06
[srs] Implement is_[param] metafunctions differently.
...
Implement one metafunction for each parameter.
Previous implementation with template template parameters and member
struct partial specializations is not compiled properly with
mingw-gcc-4.1.2.
2018-01-28 02:17:18 +01:00
Barend Gehrels
327f654623
[simplify] avoid to aggressive simplification at closing area
2018-01-27 16:14:27 +01:00
Barend Gehrels
f485fb7ebb
[simplify] do not change closing area for buffer
2018-01-27 16:14:07 +01:00
Barend Gehrels
e533f624b0
[simplify] split class into two parts
2018-01-27 14:51:04 +01:00
Barend Gehrels
194f182acc
[simplify] process closing area at end backwards, which results
...
in simpler and more efficient code
2018-01-27 14:38:17 +01:00
Barend Gehrels
5534818e0f
[simplify] simplify around closing point of ring/polygons
...
Including unit test.
2018-01-26 17:46:14 +01:00
Barend Gehrels
8ef2eb41d0
[buffer] add necessary include for testing with no-rescale
2018-01-26 13:05:19 +01:00
Barend Gehrels
b3a6034e70
[spike] remove redundant static and fix layout
2018-01-26 13:04:56 +01:00
Barend Gehrels
d0ca69a058
[dissolve/overlay] when adding intersection point, check on collinearity
...
to avoid adding three points in a row. If these points were already part
of the input, then they are just added as is.
2018-01-26 12:40:35 +01:00
Barend Gehrels
e7491e76ee
[dissolve] fix area_result_type which is changed in the library
2018-01-26 09:54:22 +01:00
Adam Wulkiewicz
d98640dbc5
[srs] Fix unreachable code msvc warnings in isea projection.
2018-01-25 21:08:49 +01:00
Barend Gehrels
e3cdb08a17
[segment_intersection] move preference of one segment to another to
...
cartesian intersection, because it was actually not used in spherical/
geographic, and because the new first version won't use it either.
2018-01-24 18:05:24 +01:00
Adam Wulkiewicz
8d2f00ae7b
Merge pull request #455 from awulkiew/feature/spherical_strategies
...
Support both RadiusType and Sphere as template parameter in spherial strategies.
2018-01-24 13:42:01 +01:00
Adam Wulkiewicz
719fe851bf
[strategy] Fix strategy passing in helper function of geographic distance P/B strategy.
2018-01-23 21:12:32 +01:00
Adam Wulkiewicz
47da3da67c
[srs] Fix function modifier (relace static with inline).
2018-01-23 21:11:42 +01:00
Adam Wulkiewicz
88aeb64fe5
[strategy] Take RadiusTypeOrSphere tparam in spherial strategies.
2018-01-23 18:43:56 +01:00
Adam Wulkiewicz
43a054ca99
[srs] Prefix get/set function calls with geometry:: (mingw-gcc-4.4 workaround).
2018-01-23 18:39:41 +01:00
Adam Wulkiewicz
b6c1e88378
[strategy] Fix min/max function calls with MSVC and use abs from math namespace.
2018-01-23 18:34:56 +01:00
Adam Wulkiewicz
efc9d4ac3d
Merge pull request #441 from awulkiew/feature/area_strategies
...
Change area strategies interface.
2018-01-22 23:05:17 +01:00
Vissarion Fysikopoulos
3d9cbd87a4
[strategies] Move generic distance pt/box and box/box strategies
2018-01-22 16:48:37 +02:00
Vissarion Fysikopoulos
edf07697e8
Merge remote-tracking branch 'origin/develop' into feature/distance_box
2018-01-22 12:59:25 +02:00
Adam Wulkiewicz
e67bf40b35
Merge branch 'develop' into feature/area_strategies
2018-01-21 02:48:29 +01:00
Adam Wulkiewicz
7d2026dd84
Merge branch 'develop' into feature/projections
...
Conflicts:
include/boost/geometry/geometry.hpp
test/Jamfile.v2
2018-01-21 01:51:04 +01:00
Adam Wulkiewicz
84675e253f
[projections] Remove unused paramters and types.
2018-01-21 00:06:35 +01:00