Commit Graph

2257 Commits

Author SHA1 Message Date
Menelaos Karavelas
ef6598e7d5 [algorithms][assign] move assign_values free functions from
detail/assign_values.hpp to assign.hpp; done in order to have the
documentation for assign_values in the assign.hpp file;
2014-07-25 12:59:35 +03:00
Barend Gehrels
f4203db687 [buffer][fix] syntax of defines 2014-07-23 17:41:38 +02:00
Barend Gehrels
1fa87bcbba [buffer][fix] to get a proper rescale policy, the buffer distance must be added 2014-07-23 15:13:16 +02:00
Barend Gehrels
f09387fabb [buffer][fix] Fixed detection of difference spike/continue 2014-07-23 13:32:24 +02:00
Barend Gehrels
b83bd46243 [buffer] use promoted types in buffer_join_round 2014-07-23 13:16:40 +02:00
Barend Gehrels
c863a0dfca [buffer][fix] remove unintended minus signes uncatched earlier
(they come from a git gui copy/paste)
This is quite a difference (in the aimes_test case)
2014-07-23 12:52:37 +02:00
Menelaos Karavelas
8704854033 [algorithms][relate] add missing includes; qualify binary_search with std:: namespace 2014-07-22 15:16:42 +03:00
Barend Gehrels
5e99fb4987 [point_in_geometry] remove todo item - it should stay -1, 0, 1, these
numbers can be used in calculations
2014-07-20 16:55:57 +02:00
Barend Gehrels
d66b7a0ee1 [buffer] remove obsolete todo items 2014-07-20 16:55:09 +02:00
Barend Gehrels
2cd7615435 [buffer] side_straight strategy, promote type 2014-07-20 16:52:26 +02:00
Barend Gehrels
77b2723935 [buffer] make miter_limit flexibel and correct IP to exactly that limit 2014-07-20 16:38:32 +02:00
Barend Gehrels
804fea10e3 [buffer][fix] avoid warning 2014-07-20 15:58:20 +02:00
Barend Gehrels
384632c572 [buffer] change default constructors for round strategies and
changed corresponding samples (often omitting the number for non relevant
strategies)
2014-07-20 15:51:49 +02:00
Barend Gehrels
487609b233 [buffer][doc] Enhance doc 2014-07-20 13:45:58 +02:00
Barend Gehrels
d945001bbf [buffer][doc] Add documentation for side_straight, extended doc for buffer with strategies 2014-07-20 13:29:07 +02:00
Barend Gehrels
6100b695be [buffer][doc] Enhancements, cross-links, doc-fixes 2014-07-20 11:32:02 +02:00
Barend Gehrels
0e77ef5342 [buffer] rename buffer_side to side_straight to make it consistent with other buffer strategies
and buffer is already part of the namespace
2014-07-20 10:52:48 +02:00
Barend Gehrels
0b635e342d [buffer] rename buffer_circle to point_circle to have it consistent with other strategies,
and buffer is already in the namespace. same for buffer_square -> point_square
2014-07-20 10:38:40 +02:00
Barend Gehrels
62c821297e [buffer][doc] Avoid having apply and other buffer-strategy members in the doc
They are not relevant for the user. They should only be relevant for users developing
their own strategies, but that should be documented in the (upcoming) strategy concepts
2014-07-20 10:13:32 +02:00
Barend Gehrels
c12701bb40 [buffer] documentation of 6 distance strategies 2014-07-19 23:05:45 +02:00
Barend Gehrels
46068123b9 [buffer] create documentation about PointStrategy (buffer_circle)
add buffer_square as alternative
2014-07-19 14:36:39 +02:00
Barend Gehrels
bfa80944ec [buffer] avoid compiler warnings 2014-07-18 21:56:11 +02:00
Barend Gehrels
e4d40a2287 [buffer] rename CircleStrategy template argument to PointStrategy because
it might also generate squares etc.
2014-07-18 21:29:59 +02:00
Barend Gehrels
d3b135a939 [buffer] use promoted type and made variables const 2014-07-18 20:57:56 +02:00
Adam Wulkiewicz
6ea0517b38 Merge pull request #96 from mkaravel/feature/distance
Optimize distance computations for multi-to-multi and single-to-multi
2014-07-17 02:38:57 +02:00
Menelaos Karavelas
fa203789db [algorithms][distance] check distance against 0 only when the minimum
distance is updated
2014-07-17 02:30:21 +03:00
Adam Wulkiewicz
9dfc90f151 Merge branch 'develop' of github.com:boostorg/geometry into develop 2014-07-16 20:50:12 +02:00
Adam Wulkiewicz
36da684609 [winding] Add winding_side_equal optimized for cartesian CS. 2014-07-16 20:44:07 +02:00
Barend Gehrels
5df31ddd0e [buffer] add documentation for buffer with 5 strategies 2014-07-16 17:01:50 +02:00
Barend Gehrels
97fd8f5332 [buffer] move buffer_inserter to namespace detail::buffer, add overload using 5 strategies 2014-07-16 16:58:02 +02:00
Barend Gehrels
038253e8f5 [buffer] remove end_skip strategy 2014-07-16 15:21:11 +02:00
Barend Gehrels
61ed918240 [buffer] add side/circle strategies to include 2014-07-16 15:12:52 +02:00
Barend Gehrels
bac1ac66af [buffer] avoid having point types in strategies which can be deferred 2014-07-16 15:11:55 +02:00
Barend Gehrels
4966ff5359 [buffer] removed many unnecessary includes from buffer_side 2014-07-16 11:39:13 +02:00
Barend Gehrels
fc0819b8ae [buffer] removed non-used phase parameter 2014-07-16 11:36:06 +02:00
Barend Gehrels
2bdca94e52 [buffer] changed comments 2014-07-16 11:35:29 +02:00
Barend Gehrels
0f027b5ff9 [buffer] add buffer_circle strategy for points and multi-points, and pass
it all the way through the dispatches
2014-07-16 11:31:35 +02:00
Barend Gehrels
57854c2765 [buffer] optionally simplify using ax strategy 2014-07-16 10:45:14 +02:00
Barend Gehrels
dc46575175 Merge branch 'develop' of github.com:boostorg/geometry into develop 2014-07-15 22:37:41 +02:00
Adam Wulkiewicz
e3f778511b Merge pull request #95 from awulkiew/feature/point_in_geometry
Fix for within() - ticket https://svn.boost.org/trac/boost/ticket/9628
2014-07-14 23:20:16 +02:00
Adam Wulkiewicz
2ba3e9a95b [strategies][winding] Replace Points creation using copy-ctors with default-ctors + set<>()
Also add some comments about what's going on in the code.
2014-07-14 23:17:09 +02:00
Barend Gehrels
9ed4d83441 [extensions][offset] Let offset compile again.
Note: it does not generate correct offsets!
2014-07-14 22:00:57 +02:00
Barend Gehrels
c5241dd8ee [distance] added missing include file 2014-07-14 21:54:01 +02:00
Adam Wulkiewicz
edf2c00db6 [within][winding] Add more robust calculation of sides in winding strategy.
This commit fixes the ticket https://svn.boost.org/trac/boost/ticket/9628.
The side is calculated always WRT the vertical segment if the p<1> is "equal" to one of the segment endpoint's <1>.
For more information see the comment in the code.
2014-07-14 16:05:26 +02:00
Menelaos Karavelas
9164a5bc0c [multi][algorithms][num_points] add include for std::size_t;
qualify with std:: an occurrence of unqualified size_t;
2014-07-14 14:44:22 +03:00
Adam Wulkiewicz
3e9f1296c5 [relate] Add 'const' keyword to declarations of not modified variables. 2014-07-13 01:16:19 +02:00
Marcel Raad
ca96640521 Fix MSVC compiler warnings
This removes unused variables and redundant re-declarations to silence
warnings about variable shadowing. Tested on MSVC 14 CTP2.
2014-07-12 13:18:47 +02:00
Barend Gehrels
96d8f53fbc [buffer] Avoid accessing pieces if no pieces were added 2014-07-12 11:42:27 +02:00
Menelaos Karavelas
350ca25ccd [algorithms][distance] add dispatch for the three multigeometry-to-ring combinations 2014-07-11 17:10:14 +03:00
Menelaos Karavelas
8df21c677e [algorithms][distance] add dispatch for the ring/ring combination 2014-07-11 17:09:15 +03:00