Menelaos Karavelas
ef1a257242
[util][math] fix return type for math::sqrt; fix implementation
...
for sqrt for non-fundamental types (use the using mechanism);
2014-06-10 09:18:28 +03:00
Menelaos Karavelas
8d542abeeb
Merge branch 'feature/math-sqrt' of github.com:mkaravel/geometry into feature/math-sqrt
2014-06-06 01:47:35 +03:00
Menelaos Karavelas
4f32a51cfa
Merge branch 'develop' of https://github.com/boostorg/geometry into feature/math-sqrt
2014-06-06 01:47:07 +03:00
Adam Wulkiewicz
f6ba62a43a
[comparable_distance][test][extensions] Break comparable_distance into interface and implementation.
...
Also remove geometry.hpp header include from comparable_distance test and nsphere header included in all tests.
2014-06-06 00:29:31 +02:00
Adam Wulkiewicz
7cdbcf5fee
[extensions/nsphere] Enable commented-out tests and change point_in_nsphere strategy WRT areal_tag removal workaround
2014-06-05 19:25:45 +02:00
Adam Wulkiewicz
55a8ad35f8
[extensions] Fix NSphere compilation issues.
...
The fixes are rather temporary workarounds (see comments in the code).
2014-06-05 19:06:06 +02:00
Adam Wulkiewicz
51fc37e43b
[extensions][offset] Fix compilation errors
2014-06-05 18:03:14 +02:00
Menelaos Karavelas
aa5a37277a
[util][math] fix return type of sqrt for fundamental number types
2014-06-05 18:04:51 +03:00
Adam Wulkiewicz
46b46ee080
Merge pull request #55 from awulkiew/refactor_multi
...
Moving geometry/multi/ into geometry/
2014-06-05 16:16:08 +02:00
Adam Wulkiewicz
d8baba40bd
[multi] Remove multi-geometries concepts from multi/multi.hpp since they are included in geometries/concepts/check.hpp
2014-06-05 15:24:01 +02:00
Adam Wulkiewicz
5903c5a292
[extensions] Replace includes of headers moved from multi/ directory.
2014-06-04 19:39:26 +02:00
Adam Wulkiewicz
2a86cf0c20
[geometry] Replace includes of headers from algorithms/detail moved from multi/ directory.
2014-06-04 18:43:42 +02:00
Adam Wulkiewicz
1d4a73cc89
[algorithms/detail] Fix for_each_range backward compatibility.
...
In the specialization for Box remove_const before creating box_view<> and passing the object of this type into the Actor::apply().
2014-06-04 18:15:05 +02:00
Adam Wulkiewicz
3f872f1621
[algorithms/detail] Refactor for_each_range and move it from multi/directory.
2014-06-04 17:10:17 +02:00
Adam Wulkiewicz
2c7da5eb1f
[multi] Move algorithms details used only by multi/algorithm from multi/ directory.
2014-06-04 16:06:21 +02:00
Barend Gehrels
89b2fb4d6a
[buffer] use intersection_side for checking side on convex range
...
This fixes many of the issues (in multi_polygon_buffer). However, some
new cases now fail because of this and should be fixed later
2014-06-04 15:58:53 +02:00
Adam Wulkiewicz
55e684c64c
[multi][algorithm/detail] Move most of the code of details from multi/ directory.
...
This commit doesn't move for_each_range.
Details used only by multi/algorithms aren't moved as well.
2014-06-04 15:53:46 +02:00
Adam Wulkiewicz
320f796b9d
[geometry] Replace headers of parts moved from multi/ directory.
2014-06-04 14:52:28 +02:00
Menelaos Karavelas
e81c0b9e23
[extensions][algorithms][offset] remove obsolete include (file no
...
longer exists)
2014-06-04 14:32:48 +03:00
Barend Gehrels
77969d4194
[buffer] merged implementations of side_on_convex_range
2014-06-04 13:30:45 +02:00
Menelaos Karavelas
86991b358d
[extensions] replace calls to ::sqrt by calls to bg::math::sqrt;
...
change has not been applied to projections and ttmath;
2014-06-04 14:27:47 +03:00
Barend Gehrels
1a2a2f4de1
[buffer] remove RobustPolicy from side_on_convex_range
...
because side of a point w.r.t. a segment cannot be done with rescaling,
due to rounding the point can be located on the other side of the segment
This adds 4 more failing testcases, but it has to be done first because
the solution is not reliable
2014-06-04 13:26:26 +02:00
Adam Wulkiewicz
0bec8e26c3
[multi] Include headers of moved parts from geometry/ directory.
2014-06-04 13:24:29 +02:00
Menelaos Karavelas
d125c79586
[algorithms][equals] fix copyright years; replace call to ::sqrt
...
by call to bg::math::sqrt
2014-06-04 14:16:41 +03:00
Menelaos Karavelas
3453d2ec5c
[strategies] fix unused typedef warningy
2014-06-04 14:13:41 +03:00
Menelaos Karavelas
48bb75137d
[strategies] replace calls to ::sqrt by calls to bg::math::sqrt
2014-06-04 14:13:11 +03:00
Menelaos Karavelas
058ea9624f
[util][math] update copyright header
2014-06-04 12:56:46 +03:00
Menelaos Karavelas
b8f0c9de94
[util][math] add sqrt function in bg::math namespace; this function
...
calls std::sqrt for fundamental number types and ::sqrt for everything
else; it helps avoiding implicit conversions for fundamental number
types when ::sqrt is called (in particular, we avoid the conversion
from long double to double when ::sqrt is called);
2014-06-04 12:53:59 +03:00
Adam Wulkiewicz
b0a1704779
[multi][io] Move wkt and dsv implementation for Multi Geometries from multi/ directory
2014-06-04 03:25:07 +02:00
Adam Wulkiewicz
f63fabcbb7
[multi][geometries] Move models, concepts and register macros from multi/ directory
2014-06-04 02:20:23 +02:00
Adam Wulkiewicz
82a2b50b0c
[multi][strategies] Move centroid_average from multi/ directory
2014-06-03 22:17:56 +02:00
Adam Wulkiewicz
676090691f
[multi][views] Move range_type<> from multi/ directory.
...
Also tweak the parameters of the dispatched implementation - reverse the order and add default Tag.
2014-06-03 21:54:01 +02:00
Adam Wulkiewicz
da20d7c409
[multi][core] Move functionalities of multi/core into core
2014-06-03 21:21:03 +02:00
Adam Wulkiewicz
948208a485
[strategies] Fix unused typedefs warnings.
2014-06-03 12:55:49 +02:00
Barend Gehrels
dfd38081bc
[extensions][distance] fix default_strategy extra tag
2014-06-02 23:04:29 +02:00
Barend Gehrels
d10a487bec
Merge pull request #51 from mkaravel/feature/distance-default-strategy
...
Feature/distance default strategy
2014-06-02 22:40:09 +02:00
Adam Wulkiewicz
b48748a3d3
[remove_spikes] Fix unused typedef warning
2014-05-30 15:20:36 +02:00
Adam Wulkiewicz
cbb408b7d5
[transform] Fix unused typedef warnings
2014-05-30 15:19:12 +02:00
Adam Wulkiewicz
9f814ae1ba
[simplify] Fix unused typedef warning
2014-05-30 15:17:46 +02:00
Adam Wulkiewicz
c9b975f556
[overlay] Fix unused typedef warning
2014-05-30 14:29:11 +02:00
Adam Wulkiewicz
8d4a61d496
[index/rtree] Fix unused typedef warnings
2014-05-30 14:26:44 +02:00
Adam Wulkiewicz
01a34d6b71
[index/varray] Fix unused typedef warnings
2014-05-30 14:23:47 +02:00
Adam Wulkiewicz
cda70f4326
[touches] Fix unused typedef warning
2014-05-30 14:21:19 +02:00
Adam Wulkiewicz
f614512cfa
[reverse] Fix unused typedef warning
2014-05-30 14:19:16 +02:00
Adam Wulkiewicz
81e0d3fac4
[overlay] Fix unused typedef warnings
2014-05-30 14:16:17 +02:00
Adam Wulkiewicz
694fbffdeb
[relate] Fix unused typedef warnings
2014-05-30 14:12:14 +02:00
Menelaos Karavelas
779e05c292
[strategies][distance] fix names of template parameters to better
...
reflect the corresponding objects
2014-05-30 15:09:20 +03:00
Menelaos Karavelas
4d16a2112a
Merge branch 'develop' of https://github.com/boostorg/geometry into feature/distance-default-strategy
2014-05-30 15:06:52 +03:00
Adam Wulkiewicz
a40a86b532
[intersects] Fix unused typedef warning
2014-05-30 14:04:42 +02:00
Adam Wulkiewicz
2265430625
[disjoint] Fix unused typedef warnings
2014-05-30 13:55:51 +02:00