Commit Graph

8536 Commits

Author SHA1 Message Date
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
Menelaos Karavelas
ed956a4eaf Merge branch 'feature/is_simple' of github.com:mkaravel/geometry into feature/is_simple 2014-06-04 12:10:38 +03:00
Menelaos Karavelas
8e1f963e37 Merge branch 'feature/distance' of github.com:mkaravel/geometry into feature/distance 2014-06-04 12:03:53 +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
Menelaos Karavelas
795fdf82a7 [test][strategies] add entry for unit test for pythagoras point-box 2014-06-03 18:58:33 +03:00
Adam Wulkiewicz
188b1c3e48 [test] Fix unused typedef warnings 2014-06-03 16:20:11 +02:00
Adam Wulkiewicz
948208a485 [strategies] Fix unused typedefs warnings. 2014-06-03 12:55:49 +02:00
Menelaos Karavelas
8aadb31dc8 [test][strategies] add unit test for pythagoras point box strategy 2014-06-03 13:41:39 +03:00
Menelaos Karavelas
7e0652ef69 Merge branch 'develop' of https://github.com/boostorg/geometry into feature/is_simple 2014-06-03 08:54:02 +03: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
Menelaos Karavelas
b970646722 Merge branch 'develop' of https://github.com/boostorg/geometry into feature/is_simple 2014-05-30 15:12:51 +03: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
Adam Wulkiewicz
9881f4f56d [get_turns] Fix unused typedef warnings 2014-05-30 13:53:57 +02:00
Adam Wulkiewicz
b670b37643 [sectionalize] Fix unused typedef warnings 2014-05-30 13:52:43 +02:00
Adam Wulkiewicz
d8e46d3f85 [within] Use normalized_view in point_in_geometry and fix unused typedef warning 2014-05-30 13:45:18 +02:00
Adam Wulkiewicz
471fabab88 Merge pull request #52 from mkaravel/feature/distance
[strategies][distance] change template parameters' names to reflect the objects they represent
2014-05-30 12:57:44 +02:00
brunolalande
e3b10af808 Merge pull request #53 from smspillaz/geometry/10077
[geometry][test] Fix concept check failures.
2014-05-29 21:07:15 +01:00
Sam Spilsbury
be3ee10849 [geometry][test] Fix concept check failures.
The functions in arithmetic.hpp would check the concepts Point and ConstPoint
on Point2, instead of checking Point on Point1 and ConstPoint on Point2.

This would cause concept check failures when attempting to operate from
a ConstPoint.
2014-05-30 00:04:20 +08:00
Menelaos Karavelas
f3f131db35 [strategies][distance] change template parameters' names to reflect
the objects they represent
2014-05-29 15:05:56 +03:00
Menelaos Karavelas
916e9bb495 [test][strategies] add compile time check for the default strategy
where the geometry tags are reversed
2014-05-29 14:54:25 +03:00
Menelaos Karavelas
e15cbf41a4 [strategies] make default_strategy class commutative with respect
to the order of the geometry tags
2014-05-29 14:53:51 +03:00