Commit Graph

  • 3d17b42a12 [algorithms][distance] eliminate result_of namespaces; replace result_of::distance by distance_result; Menelaos Karavelas 2014-07-08 12:26:29 +03:00
  • f20303af2f [buffer][test] Fix bugs in get_left_turns and some in the robustness test Adam Wulkiewicz 2014-07-08 02:57:29 +02:00
  • 9cfee81a09 [geometry] Replace tabs with spaces Adam Wulkiewicz 2014-07-08 02:27:17 +02:00
  • 99b27c611a [example] Replace assert with BOOST_ASSERT Adam Wulkiewicz 2014-07-08 02:04:19 +02:00
  • 869cff7004 [is_simple][is_valid] Remove non-ASCII characters Adam Wulkiewicz 2014-07-08 02:01:46 +02:00
  • 78ac419c2a [extensions][gis] Replace assert with BOOST_ASSERT Adam Wulkiewicz 2014-07-08 01:49:30 +02:00
  • 5ffe29f82a [extensions][example] Add newline at EOF Adam Wulkiewicz 2014-07-08 01:40:23 +02:00
  • 560533e378 [doc][index] Add license info to examples results Adam Wulkiewicz 2014-07-08 01:38:24 +02:00
  • 3ac6442393 Merge branch 'develop' of github.com:boostorg/geometry into develop Barend Gehrels 2014-07-06 20:22:48 +02:00
  • b6b49f5308 [buffer] fix check of buffer_flat_end for inside Barend Gehrels 2014-07-06 20:22:04 +02:00
  • 004e4e465f [test][range] Shield part of a test with macro (storing NonMovable is std::vector<>) Adam Wulkiewicz 2014-07-06 12:19:30 +02:00
  • 0b677ae1aa [strategies] projected_point_ax strategy relocated to separate file Adam Wulkiewicz 2014-07-05 19:57:41 +02:00
  • 0170ebe9ca [strategies] Remove inconsistent (and for now not needed) operators in projected_point_ax_result Adam Wulkiewicz 2014-07-04 19:04:04 +02:00
  • 3855610e05 Add projected_point_ax cartesian distance strategy. Adam Wulkiewicz 2014-07-04 17:14:15 +02:00
  • da1323716a [buffer] Pass side strategy Barend Gehrels 2014-07-03 19:59:28 +02:00
  • 4c2e23611e Merge pull request #87 from mkaravel/feature/is_simple Adam Wulkiewicz 2014-07-03 14:54:38 +02:00
  • 922c61e24b Merge pull request #88 from mkaravel/feature/setops Adam Wulkiewicz 2014-07-03 14:54:06 +02:00
  • 64bec1846e [doc][algorithms][union] addd behavior when output is a collection of points or linestrings Menelaos Karavelas 2014-07-03 14:07:55 +03:00
  • 661279ff6e [doc][algorithms][intersection] change/update behavior when output is a collection of (multi)linestrings; update copyright header Menelaos Karavelas 2014-07-03 14:06:22 +03:00
  • be9a9ea8f5 [algorithms][is_valid] declare debug_complement_graph as inline (should fix clang-darwin-{asan,asan11,tot,tot11} errors in develop regression matrix) Menelaos Karavelas 2014-07-03 13:03:17 +03:00
  • fe362a706f Merge pull request #85 from mkaravel/fix/typos Adam Wulkiewicz 2014-07-03 01:52:02 +02:00
  • 2ec122324c Merge pull request #83 from mkaravel/feature/is_simple Adam Wulkiewicz 2014-07-03 01:51:33 +02:00
  • 4b013a12d3 [algorithms][perimeter] change perimeter return type to default_length_result<...>::type Menelaos Karavelas 2014-07-03 01:41:19 +03:00
  • 28806c9095 [algorithms][length] change length return type to default_length_result<...>::type Menelaos Karavelas 2014-07-03 01:40:08 +03:00
  • 244d11da3f [strategies][length] make the default length result variant aware Menelaos Karavelas 2014-07-03 01:39:36 +03:00
  • 2a16d6a554 [strategies][distance] replace variant.hpp include by variant_fwd.hpp Menelaos Karavelas 2014-07-03 01:12:10 +03:00
  • 730213814c [strategies][distance] simplify implementation of distance_result Menelaos Karavelas 2014-07-03 00:51:20 +03:00
  • 79b4dd94d4 [util][compress variant] fix a typo in the comments Menelaos Karavelas 2014-07-03 00:34:27 +03:00
  • 179ffcc899 [doc][examples][is_simple] remove inclusion of wkt.hpp Menelaos Karavelas 2014-07-02 23:50:05 +03:00
  • 6907f69148 [doc][examples][is_valid] remove inclusion of wkt.hpp Menelaos Karavelas 2014-07-02 23:49:42 +03:00
  • 8f4de21822 Merge branch 'develop' of https://github.com/boostorg/geometry into feature/distance Menelaos Karavelas 2014-07-02 23:44:23 +03:00
  • 55a7922e1a [algorithms][distance] polish includes; move code in resolve_strategy::result_of and resolve_variant::result_of namespaces to strategies/distance_result.hpp; change return type for the distance free function to distance_result<...>::type or default_distance_result<...>::type (depending on whether a strategy is passed or not, respectively) Menelaos Karavelas 2014-07-02 23:32:22 +03:00
  • efd21367ab [algorithms][comparable distance] change the return type of comparable_distance to comparable_distance_result<...>::type Menelaos Karavelas 2014-07-02 23:30:20 +03:00
  • baf0be47da [strategies][comparable distance] re-implement default_comparable_distance_result using comparable_distance_result Menelaos Karavelas 2014-07-02 23:29:04 +03:00
  • 8e22379623 [strategies][distance] re-implement default_distance_result using distance_result Menelaos Karavelas 2014-07-02 23:28:34 +03:00
  • f7cfb6a259 [strategies][comparable distance] implement the class comparable_distance_result Menelaos Karavelas 2014-07-02 23:28:03 +03:00
  • 86c96deaaf [strategies][distance] implement the class distance_result Menelaos Karavelas 2014-07-02 23:26:56 +03:00
  • 7727ce921e Merge branch 'develop' of github.com:boostorg/geometry into develop Barend Gehrels 2014-07-02 14:21:12 +02:00
  • 5a008767ae [buffer] restructure buffer_range such that tag is not necessary and behaviour per geometry-type is done in the dispatch itself. This also avoids generating side on perpendicular side for linestrings once (the second one cannot easily be avoided in the current structure) Barend Gehrels 2014-07-02 14:20:02 +02:00
  • c9880fbdff [buffer] use range instead of two points as output for buffer_side strategy Barend Gehrels 2014-07-02 13:04:16 +02:00
  • c94d6d469d [buffer] use strategy buffer_side instead of generate_side Barend Gehrels 2014-07-02 12:45:57 +02:00
  • f933be730d [buffer] move buffer_side to strategies Barend Gehrels 2014-07-02 12:33:04 +02:00
  • 01151cacf5 [buffer] copy inserter to buffer_side Barend Gehrels 2014-07-02 12:29:34 +02:00
  • 6e673af06f Merge pull request #81 from mkaravel/feature/is_simple Adam Wulkiewicz 2014-07-02 11:50:58 +02:00
  • 0081d080f5 Merge pull request #82 from mkaravel/feature/distance Adam Wulkiewicz 2014-07-02 11:48:26 +02:00
  • a87c68b62f [algorithms][is_valid] remove obsolete comment Menelaos Karavelas 2014-07-02 11:53:49 +03:00
  • a1710c2bd3 [doc][algorithms] add documentation for the comparable_distance free function that takes a strategy Menelaos Karavelas 2014-07-02 11:50:04 +03:00
  • 5373c32fc9 [doc][images] add PNG images for is_valid and is_simple documentation Menelaos Karavelas 2014-07-02 11:32:17 +03:00
  • cc90fde7df [doc][examples][is_valid] add image; slightly modify the example geometry (one of the interior rings was having CW orientation instead of CCW) Menelaos Karavelas 2014-07-02 11:30:55 +03:00
  • 1357c9cc35 [doc][examples][is_simple] add image Menelaos Karavelas 2014-07-02 11:30:35 +03:00
  • 46da1da916 [doc][examples] change the color used for drawing the geometry Menelaos Karavelas 2014-07-02 11:29:43 +03:00
  • f2c8ccefca [test][is_valid] add as test case the polygon used in the documentation example for is_valid Menelaos Karavelas 2014-07-02 11:28:40 +03:00
  • 512b07e85d Merge pull request #80 from mkaravel/feature/is_simple Adam Wulkiewicz 2014-07-02 01:41:14 +02:00
  • bda78a8153 [algorithms][is_valid] fix bug in initialization of DFS data for detecting cycles Menelaos Karavelas 2014-07-02 02:30:24 +03:00
  • 6490d2db4a [test][is_valid] add one more test case: add a polygon with many holes (important note here: many means more than the number of turns) Menelaos Karavelas 2014-07-02 02:29:06 +03:00
  • e9178b6a80 Merge pull request #75 from mkaravel/feature/is_simple Adam Wulkiewicz 2014-07-01 17:27:01 +02:00
  • fc14209d5f [algorithms][is_valid] replace TurnPoint const& by TurnPoint const* in complement graph vertex Menelaos Karavelas 2014-07-01 17:50:25 +03:00
  • 104aafd05d [algorithms][is_valid] make the complement graph vertex id an unsigned integer (to avoid conversion warnings) Menelaos Karavelas 2014-07-01 09:57:55 +03:00
  • df3da8aa66 [algorithms][is_valid] re-design the complement graph: store neighbors in the graph instead of at each vertex; store DFS data for detecting cycles outside the vertices; Menelaos Karavelas 2014-07-01 00:05:02 +03:00
  • d6af7438e2 Merge branch 'prepare' Barend Gehrels 2014-06-30 21:09:20 +02:00
  • bc2edc4eea Merge branch 'develop' into prepare Barend Gehrels 2014-06-30 21:08:59 +02:00
  • 9fc3b36d25 Merge pull request #77 from mkaravel/feature/doc-strategies Barend Gehrels 2014-06-30 21:04:44 +02:00
  • 277db1d3ce Merge branch 'prepare' Barend Gehrels 2014-06-30 20:57:51 +02:00
  • 000979883d Merge branch 'develop' into prepare Barend Gehrels 2014-06-30 20:55:45 +02:00
  • a1bde8e927 Merge pull request #72 from mkaravel/fix/graham_andrew Barend Gehrels 2014-06-30 20:51:11 +02:00
  • 8965fad5f3 Merge branch 'prepare' Barend Gehrels 2014-06-30 20:14:57 +02:00
  • 0b2cc3a1ae Merge branch 'develop' into prepare Barend Gehrels 2014-06-30 19:31:26 +02:00
  • 9c974a11f1 Merge pull request #79 from mkaravel/feature/remove_points_front_back Adam Wulkiewicz 2014-06-30 14:20:59 +02:00
  • fcc5d26877 [test][iterators] remove tests for points_front and points_back Menelaos Karavelas 2014-06-30 12:18:45 +03:00
  • 5e94f07ec0 [iterators][point_iterator] remove free functions points_front and points_back Menelaos Karavelas 2014-06-30 12:18:03 +03:00
  • b637012bf3 [test] add bigobj flag for union/buffer Barend Gehrels 2014-06-28 13:22:32 +02:00
  • 31361135dc [algorithms][is_valid] re-structure and polish code a bit; check relative containment of rings only for rings that are not associated with turns Menelaos Karavelas 2014-06-27 13:36:48 +03:00
  • a156ba17dc [test][is_valid] add test cases for polygons and multi-polygons inspired by email exchanges with Barend Gehrels Menelaos Karavelas 2014-06-27 13:02:39 +03:00
  • 1465ada4ba [doc][stratiegies][distance] add pythagoras point-box and box-box strategies Menelaos Karavelas 2014-06-27 03:37:00 +03:00
  • 9930615207 [strategies][distance] update doxygen documentation for pythagoras point-box and box-box strategies Menelaos Karavelas 2014-06-27 03:35:31 +03:00
  • 57a97b19cb [doc][algorithms][examples] update copyright header Menelaos Karavelas 2014-06-27 02:42:13 +03:00
  • ac17fdcbdc [algorithms][is_simple,is_valid] add doxygen documentation for is_simple and is_valid Menelaos Karavelas 2014-06-27 02:37:13 +03:00
  • ff8d26e3e9 [doc][is_simple, is_valid] add doxygen and qbk support for documentation of is_simple and is_valid; add qbk doc for is_simple and is_valid; add example for is_simple and is_valid; Menelaos Karavelas 2014-06-27 02:35:33 +03:00
  • 7ec752d5ea [geometry] add is_simple and is_valid algorithms in geometry.hpp Menelaos Karavelas 2014-06-27 02:28:17 +03:00
  • 274c64c5d8 [algorithms][is_simple] add missing include Menelaos Karavelas 2014-06-27 02:27:28 +03:00
  • dcb5420935 Merge branch 'develop' of https://github.com/boostorg/geometry into feature/is_simple Menelaos Karavelas 2014-06-27 01:23:18 +03:00
  • 471c267652 Merge pull request #76 from mkaravel/feature/doc Adam Wulkiewicz 2014-06-26 23:45:49 +02:00
  • 4ddbe46ec4 Merge branch 'feature/doc' into feature/is_simple Menelaos Karavelas 2014-06-26 23:05:27 +03:00
  • 6ad8760295 [doc] add documentation support for is_valid and is_simple Menelaos Karavelas 2014-06-26 22:56:29 +03:00
  • f0f037df2b Merge branch 'develop' of https://github.com/boostorg/geometry into feature/is_simple Menelaos Karavelas 2014-06-26 22:52:43 +03:00
  • f9f1387efa [doc] add algorithms/detail/comparable_distance to the doxygen input path Menelaos Karavelas 2014-06-26 22:40:21 +03:00
  • fcebb52f0a [doc][index] doxygen 1.8.4 complains that SYMBOL_CACHE_SIZE is obsolete and suggests to remove the entry Menelaos Karavelas 2014-06-26 22:38:44 +03:00
  • 7baf1a29e5 [buffer] We have to simplify the ring before to avoid very small-scaled features in the original (convex/concave/convex) being enlarged in a very large scale and causing issues (IP's within pieces). This might be reconsidered later. Simplifying with a very small distance will never be visible in the result, if it is using round joins. For miter joins they are even more sensitive to small scale input features, however the result will look better. Barend Gehrels 2014-06-25 13:32:42 +02:00
  • 15773cbf93 [algorithms][is_valid] fix some wrong usages of std::size_t (should have been int) Menelaos Karavelas 2014-06-25 09:34:53 +03:00
  • bcaf4a374a Merge branch 'develop' of https://github.com/boostorg/geometry into feature/is_simple Menelaos Karavelas 2014-06-25 01:54:15 +03:00
  • 7f3b509fb5 [buffer] use endcap strategy for spikes. Check jointype also (again) for line-line intersection because it is based on buffered segments. Barend Gehrels 2014-06-24 22:48:04 +02:00
  • 9059f73d54 [algorithms][is_valid] remove USE_INTERRUPT_POLICY macro Menelaos Karavelas 2014-06-24 19:43:32 +03:00
  • a9526bbbc5 [test][is_valid] add multi-polygon test cases where one polygon is inside a hole of another Menelaos Karavelas 2014-06-24 14:47:53 +03:00
  • ec2417f701 Merge branch 'develop' of https://github.com/boostorg/geometry into feature/is_simple Menelaos Karavelas 2014-06-24 14:08:06 +03:00
  • 346784d5e5 [test][is_valid] move validity check functions/classes and related code to file test_is_valid.hpp; make testing more elaborate: for rings, convert them to polygons and multi-polygons and test them as such; for polygons, convert them to multi-polygons and test them as such; Menelaos Karavelas 2014-06-24 13:43:52 +03:00
  • e3d0b1e6e4 [algorithm][is_valid] Re-design complement graph implementation: * complement graph is now templated by turn points rather than vertices * vertices get the vertex_handle type from the graph now * simplify DFS algorithm to use only parent vertex id instead of parent vertex (only the parent id is really needed) The last change also solves incomplete type compilation errors on darwin/linux clang++, when -stdlib=libc++ is set. Menelaos Karavelas 2014-06-24 12:29:04 +03:00
  • 5a316f6c7e [algorithms][is_valid] include is_valid for multi-polygons (coming from a separate file now) Menelaos Karavelas 2014-06-24 12:19:42 +03:00
  • 69594408ad [algorithms][is_valid] move multi-polygon implementation to separate file Menelaos Karavelas 2014-06-24 12:19:04 +03:00
  • 59ffebd794 [algorithms][is_valid] re-structure polygon's is_valid algorithm (for readability and possible usage by is_valid for multi-polygons); move code to sepatate files (to be used for multi-polygons as well); move multi-polygon implementation to separate file; Menelaos Karavelas 2014-06-24 12:17:28 +03:00
  • e25fb28d71 [algorithms][is_valid] implement predicate class that determines whether a polygon or multi-polygon turn is acceptable (code partially moved from algorithms/detail/is_valid/polygon.hpp) Menelaos Karavelas 2014-06-24 12:15:38 +03:00