Commit Graph

3401 Commits

Author SHA1 Message Date
Adam Wulkiewicz
fbe09296fb Merge pull request #86 from mkaravel/feature/length_perimeter_result
Feature/length perimeter result
2014-07-10 23:35:26 +02:00
Adam Wulkiewicz
76c394bd28 [dox] Fix table definition in quickref.xml 2014-07-10 19:26:29 +02:00
Adam Wulkiewicz
b9fecf0887 Merge branch 'develop' of github.com:boostorg/geometry into develop 2014-07-10 16:41:50 +02:00
Adam Wulkiewicz
02cfd55510 [centroid][doc] Add description for centroid_exception member functions. 2014-07-10 16:40:45 +02:00
Adam Wulkiewicz
e04cc53c6d [doc] Fix doxygen_xml2qbk member function output.
Invalid number of columns was generated for a member function if return description was empty.
2014-07-10 16:26:19 +02:00
Menelaos Karavelas
5640586f39 [algorithms][perimeter] replace result_of::length by default_length_result 2014-07-10 10:10:19 +03:00
Menelaos Karavelas
dacff470ee [algorithms][length] replace result_of::length by default_length_result 2014-07-10 10:09:46 +03:00
Menelaos Karavelas
927cbc9f01 [strategies][length (result)] eliminate result_of namespaces 2014-07-10 10:09:07 +03:00
Adam Wulkiewicz
2912e1b199 [strategies] Add more robust check in projected_point_ax_less 2014-07-09 17:30:38 +02:00
Adam Wulkiewicz
a6ed7d86ea Merge branch 'develop' into feature/projected_point 2014-07-09 13:59:23 +02:00
Barend Gehrels
5a3cfd62d5 [simplify] add zigzag testcase for testing adt/xdt 2014-07-09 13:39:07 +02:00
Adam Wulkiewicz
8c20242948 [strategies] Modify handling of 0-length segments in projected_point_ax.
For 0-length segments assume that the segment is perpendicular to the Pt->ProjPt vector.
In other words ATD = 0.
2014-07-09 13:37:29 +02:00
Adam Wulkiewicz
c55cee5dd3 [strategies] Fix projected_point_ax+douglass_peucker compilation errors.
Add again operator< for projected_point_ax_result needed to compare the distance with 0 (explicitly converted into the same type).
Remove template parameter from projected_point_ax_less::operator().
Add tests for simplify() and detail::simplify_insert().
2014-07-09 12:58:02 +02:00
Barend Gehrels
64f0380591 [buffer] move simplify call to separate function to apply using ax-strategy 2014-07-09 12:26:32 +02:00
Barend Gehrels
e9ac6476aa [simplify] prepare for Adam's enhanced douglas_peucker with pull request #89 2014-07-09 12:01:07 +02:00
Barend Gehrels
0c8f953ee9 [simplify][test] splitted tests such that test with strategy does not
test the version without strategy, to avoid mixing strategy types
2014-07-09 12:00:20 +02:00
Barend Gehrels
64303076dc [simplify][test] added test with strategy 2014-07-09 11:29:30 +02:00
Barend Gehrels
de7ae5dd65 [simplify] prepare for other simplify strategy: added testcase 2014-07-09 11:25:17 +02:00
Barend Gehrels
999ba36e06 [simplify] prepare test for distance object instead of always value, and
added overload accepting a strategy
2014-07-09 11:24:50 +02:00
Barend Gehrels
0315125492 [simplify] fix double, replaced by template parameter 2014-07-09 11:21:40 +02:00
Adam Wulkiewicz
e49434ec6c [strategies] Add less-comparator for projected_point_ax result in detail::douglas_peucker 2014-07-08 21:16:18 +02:00
Adam Wulkiewicz
282a2536a3 [strategies] Add douglas_peucker version taking LessCompare 2014-07-08 20:52:11 +02:00
Adam Wulkiewicz
f20303af2f [buffer][test] Fix bugs in get_left_turns and some in the robustness test 2014-07-08 02:57:29 +02:00
Adam Wulkiewicz
9cfee81a09 [geometry] Replace tabs with spaces 2014-07-08 02:27:17 +02:00
Adam Wulkiewicz
99b27c611a [example] Replace assert with BOOST_ASSERT 2014-07-08 02:04:19 +02:00
Adam Wulkiewicz
869cff7004 [is_simple][is_valid] Remove non-ASCII characters 2014-07-08 02:01:46 +02:00
Adam Wulkiewicz
78ac419c2a [extensions][gis] Replace assert with BOOST_ASSERT 2014-07-08 01:49:30 +02:00
Adam Wulkiewicz
5ffe29f82a [extensions][example] Add newline at EOF 2014-07-08 01:40:23 +02:00
Adam Wulkiewicz
560533e378 [doc][index] Add license info to examples results 2014-07-08 01:38:24 +02:00
Barend Gehrels
3ac6442393 Merge branch 'develop' of github.com:boostorg/geometry into develop 2014-07-06 20:22:48 +02:00
Barend Gehrels
b6b49f5308 [buffer] fix check of buffer_flat_end for inside 2014-07-06 20:22:04 +02:00
Adam Wulkiewicz
004e4e465f [test][range] Shield part of a test with macro (storing NonMovable is std::vector<>) 2014-07-06 12:19:30 +02:00
Adam Wulkiewicz
0b677ae1aa [strategies] projected_point_ax strategy relocated to separate file 2014-07-05 19:57:41 +02:00
Adam Wulkiewicz
0170ebe9ca [strategies] Remove inconsistent (and for now not needed) operators in projected_point_ax_result 2014-07-04 19:04:04 +02:00
Adam Wulkiewicz
3855610e05 Add projected_point_ax cartesian distance strategy. 2014-07-04 17:14:15 +02:00
Barend Gehrels
da1323716a [buffer] Pass side strategy 2014-07-03 19:59:28 +02:00
Adam Wulkiewicz
4c2e23611e Merge pull request #87 from mkaravel/feature/is_simple
[algorithms][is_valid] declare debug_complement_graph as inline
2014-07-03 14:54:38 +02:00
Adam Wulkiewicz
922c61e24b Merge pull request #88 from mkaravel/feature/setops
Feature/setops
2014-07-03 14:54:06 +02:00
Menelaos Karavelas
64bec1846e [doc][algorithms][union] addd behavior when output is a collection
of points or linestrings
2014-07-03 14:07:55 +03:00
Menelaos Karavelas
661279ff6e [doc][algorithms][intersection] change/update behavior when output
is a collection of (multi)linestrings; update copyright header
2014-07-03 14:06:22 +03:00
Menelaos Karavelas
be9a9ea8f5 [algorithms][is_valid] declare debug_complement_graph as inline
(should fix clang-darwin-{asan,asan11,tot,tot11} errors in
develop regression matrix)
2014-07-03 13:03:17 +03:00
Adam Wulkiewicz
fe362a706f Merge pull request #85 from mkaravel/fix/typos
[util][compress variant] fix a typo in the comments
2014-07-03 01:52:02 +02:00
Adam Wulkiewicz
2ec122324c Merge pull request #83 from mkaravel/feature/is_simple
Feature/is simple
2014-07-03 01:51:33 +02:00
Menelaos Karavelas
4b013a12d3 [algorithms][perimeter] change perimeter return type to default_length_result<...>::type 2014-07-03 01:41:19 +03:00
Menelaos Karavelas
28806c9095 [algorithms][length] change length return type to default_length_result<...>::type 2014-07-03 01:40:08 +03:00
Menelaos Karavelas
244d11da3f [strategies][length] make the default length result variant aware 2014-07-03 01:39:36 +03:00
Menelaos Karavelas
79b4dd94d4 [util][compress variant] fix a typo in the comments 2014-07-03 00:34:27 +03:00
Menelaos Karavelas
179ffcc899 [doc][examples][is_simple] remove inclusion of wkt.hpp 2014-07-02 23:50:05 +03:00
Menelaos Karavelas
6907f69148 [doc][examples][is_valid] remove inclusion of wkt.hpp 2014-07-02 23:49:42 +03:00
Barend Gehrels
7727ce921e Merge branch 'develop' of github.com:boostorg/geometry into develop 2014-07-02 14:21:12 +02:00