Menelaos Karavelas
e5ff16ddb7
[views][boundary view] change the type of the index in polygon_rings_iterator to that of the
...
size type of the interior rings range; refactor code for polygon and multipolygon boundary view
into a single class; make the initialization method for areal boundary safe against exceptions
thrown by constructors used inside std::uninitialized_copy;
2015-06-08 10:28:44 +03:00
Adam Wulkiewicz
158271682c
[test][distance] Specify/change the test names.
2015-06-07 16:48:15 +02:00
Menelaos Karavelas
a331405d55
[test][algorithms][intersection] add one more test case
2015-06-07 17:35:07 +03:00
Menelaos Karavelas
0bdee12041
[views][boundary view] use std::uninitialized_copy instead of placement new;
...
explicitly call destructors of elements of dynamically allocated array;
2015-06-07 17:34:15 +03:00
Adam Wulkiewicz
e9d0fe0ec6
[algorithms][detail] Improve single_geometry() and sub_range().
...
Support single geometries which are returned by non-true-reference.
Make the interface of sub_range() complete (Geometry const)
2015-06-07 12:20:41 +02:00
Menelaos Karavelas
c02761808d
[views][boundary view] replace vector with dynamically allocated array and placement new
2015-06-06 12:30:40 +03:00
Menelaos Karavelas
6aa5d27754
[views][identity view][closeable view] restore them to the state previously to modifications
...
to make then copyable
2015-06-06 12:17:12 +03:00
Adam Wulkiewicz
c72eaf7ffb
[test][algorithms] Name/rename the tests.
2015-06-06 00:40:34 +02:00
Adam Wulkiewicz
c54fff8b1a
[test] Disable the support for std::auto_ptr in SmartPtr to suppress the warnings on GCC>=5++11.
2015-06-06 00:03:54 +02:00
Menelaos Karavelas
3a658549d7
[test][algorithms][intersection] simplify unit test by replacing the meta-programming approach by a simpler one
2015-06-05 23:35:00 +03:00
Menelaos Karavelas
25cc004243
[algorithms][envelope] add missing doxygen macros; fix namespace closing comments;
2015-06-05 23:15:24 +03:00
Menelaos Karavelas
4199a92afe
[test][algorithms][envelope] add test cases involving empty and invalid geometries
2015-06-05 23:10:08 +03:00
Menelaos Karavelas
76d7f7316b
[algorithms][envelope] modify implementation logic so as to always initialize the MBR
2015-06-05 23:09:30 +03:00
Adam Wulkiewicz
8bd6a692bb
[test][algorithms] Use bg::abs() in assemble test to avoid truncation.
2015-06-05 15:32:08 +02:00
Adam Wulkiewicz
e23746594a
[test][concepts] Suppress signed/unsigned comparison warnings by passing unsigned constant into the BOOST_CHECK_EQUAL macro.
2015-06-05 15:17:12 +02:00
Adam Wulkiewicz
72eb1c7218
[test][buffer] Suppress msvc warning by using the correct type.
2015-06-05 14:58:27 +02:00
Adam Wulkiewicz
a6e1265bd6
[test][concepts] Suppress msvc warnings (const automatic object created with implicitly generated default ctor).
2015-06-05 14:51:54 +02:00
Adam Wulkiewicz
06c06dab25
[buffer] Replace int with signed_index_type.
2015-06-05 13:44:37 +02:00
Menelaos Karavelas
b3906f56a2
Merge branch 'develop' of github.com:boostorg/geometry into feature/envelope_and_expand_for_spherical_cs
...
Conflicts:
include/boost/geometry/algorithms/detail/envelope/linestring.hpp
2015-06-03 19:55:28 +03:00
Menelaos Karavelas
3cc4ef17ca
Merge pull request #304 from mkaravel/fix/replace_use_of_num_points_by_is_empty
...
Replace use of num_points by is_empty
2015-06-03 17:33:28 +03:00
Menelaos Karavelas
32cf691860
[policies][get_rescale_policy] replace use of num_points() by is_empty()
2015-06-03 17:31:45 +03:00
Menelaos Karavelas
5dbc792d0c
Merge branch 'develop' of github.com:boostorg/geometry into fix/bounding_box_computation_in_get_rescale_policy
2015-06-03 17:24:57 +03:00
Menelaos Karavelas
2de36a37df
[test][geometry] replace instances of "num_point() == 0" by "is_empty()";
...
replace instances of "num_points() > 0" by "! is_empty()";
2015-06-03 17:18:55 +03:00
Menelaos Karavelas
45d27e9878
[geometry] replace instances of "num_points() == 0" with "is_empty()"
2015-06-03 17:07:34 +03:00
barendgehrels
d7814c160d
[buffer] avoid MSVC warnings about size_t/int
2015-06-03 14:58:58 +02:00
barendgehrels
2b1dfaddb6
[buffer] use the new is_empty
2015-06-03 14:50:37 +02:00
Barend Gehrels
687997a35f
Merge pull request #303 from mkaravel/feature/is_empty
...
New algorithm: is_empty
2015-06-03 14:46:55 +02:00
Menelaos Karavelas
f7a4546be2
[algorithms][is_empty] simplify implementation of polygon_is_empty::apply()
...
into a single statement
2015-06-03 15:43:50 +03:00
barendgehrels
ecf6343def
[projections][test] use names
2015-06-03 14:41:15 +02:00
barendgehrels
dc576f3d32
[projections] add names
2015-06-03 14:40:36 +02:00
Menelaos Karavelas
d80b3510f3
[test][algorithms][is_empty] update test cases' result following the changes
...
in polygon_is_empty class (checking of interior rings); explicitly check that
the result of "is_empty()" is the same as the result of "num_points() == 0";
2015-06-03 15:18:32 +03:00
Menelaos Karavelas
8ce6727b89
[algorithms][is_empty] update polygon_is_empty class to check interior rings as well
2015-06-03 15:17:43 +03:00
barendgehrels
74f60c3fc0
[projections] add original function/macro plus comments, and extra comment
2015-06-03 13:22:46 +02:00
barendgehrels
bde1a3d1cd
Add mpl where used and not yet included,
2015-06-03 12:11:03 +02:00
barendgehrels
0c0a870e3d
Add range.hpp where used and not yet included,
2015-06-03 12:04:16 +02:00
barendgehrels
68648da969
[test][buffer] Don't leave envelope uninitialized if input geometry is empty
...
(this is a result of new envelope calculation)
2015-06-03 11:54:48 +02:00
barendgehrels
3b0529d8d9
[test][buffer] Add new test testing boost::geometry::buffer
...
(the detailed tests do test buffer_inserter)
2015-06-03 11:54:03 +02:00
barendgehrels
5a1255d677
[buffer] fix, if input geometry is empty, don't calculate envelope nor rescale
...
strategy. Just return.
2015-06-03 11:49:39 +02:00
Adam Wulkiewicz
1ef54bb437
Merge pull request #287 from awulkiew/fix/area_huiller
...
Fix/area huiller
2015-06-03 09:27:05 +02:00
Adam Wulkiewicz
66e27188c1
Merge pull request #201 from awulkiew/feature/geographic
...
Feature: New geographic distance and side strategies
2015-06-03 09:12:07 +02:00
Menelaos Karavelas
573aa372d6
[algorithms][is_empty] replace uses of boost::size() by boost::empty()
2015-06-03 01:27:25 +03:00
Menelaos Karavelas
9186549449
[doc][release notes] update release notes to include the new algorithms is_empty
2015-06-03 01:16:47 +03:00
Menelaos Karavelas
bd6cc0e5d3
[doc][algorithms][is_empty] add documentation for is_empty algorithm
2015-06-03 01:08:33 +03:00
Menelaos Karavelas
1e576d3a30
[test][algorithms][is_empty] add unit test for algorithm is_empty
2015-06-03 01:06:01 +03:00
Menelaos Karavelas
bcf9d63568
[algorithms][is_empty] add new algorithm is_empty, which returns true if the
...
geometry is the empty set
2015-06-03 01:04:24 +03:00
Menelaos Karavelas
dbc1b5af21
[doc][envelope][expand] fix doxyegen path for envelope and expand
2015-06-02 14:30:56 +03:00
Menelaos Karavelas
9c248b82b1
[algorithms][check_iterator_range] apply coding rules
2015-06-02 10:17:03 +03:00
Menelaos Karavelas
d117ade1f7
[test][algorithms][envelope][expand] move common code to separate file; add test cases involving
...
geometries with height; add test cases for geometries in the geographic coordinate system;
2015-06-02 00:16:37 +03:00
Menelaos Karavelas
5b370fdeb5
[algorithms][buffer] update use of envelope_range<> (needs more template parameters)
2015-06-02 00:07:40 +03:00
Menelaos Karavelas
a8c1eeaab3
[algorithms][envelope] add range of dimensions as template parameters to dispatch::envelope<>;
...
update implementation to follow the design of implementing envelope wrt a range of dimensions;
2015-06-02 00:07:04 +03:00