barendgehrels
6c5d7a692a
[projections] fix mutable (change in generation)
2015-05-20 12:59:10 +02:00
barendgehrels
571561524a
[geometry] Avoid making methods which were static inline
2015-05-20 11:18:02 +02:00
barendgehrels
401b308a83
[projections] change in generation (white space only)
2015-05-20 11:14:33 +02:00
barendgehrels
d44e09f23e
[projections] extend documentation (changes in generation)
2015-05-20 11:09:44 +02:00
Menelaos Karavelas
02f6f04107
[util][math] remove convert_on_spheroid.hpp file; functionality is available
...
via the new algorithm detail::convert_units();
2015-05-20 11:50:06 +03:00
Menelaos Karavelas
1d5a1dd9dd
[algorithms][envelope][expand] polish code to follow coding rules;
...
make use of new detail::normalize() and detail::convert_units() algorithms;
re-implement algorithms so that they are geometry-centric rather that coordinate-centric;
2015-05-20 11:47:29 +03:00
barendgehrels
d1bb625a41
[projections] fix d2r / r2d to new approach
2015-05-20 10:45:18 +02:00
Menelaos Karavelas
b8644092c1
[util][math] deactivate normalization for latitude (it can be activated back if the
...
macro BOOST_GEOMETRY_NORMALIZE_LATITUDE is defined)
2015-05-20 11:29:50 +03:00
Menelaos Karavelas
ba93049547
[algorithms][disjoint] make use of detail::normalize() algorithm to normalize spherical
...
and geographic coordinates; also modify algorithm for points in the spherical equatorial
and geographic coordinate systems: check for disjointness also the coordinates with index 2 and above;
2015-05-20 11:27:14 +03:00
Menelaos Karavelas
896b67047d
[algorithms][convert_units] add new algorithm detail::convert_units() :
...
this alghorithm converts the units of points and boxes from degrees to radians
and from radians to degrees (if input and output units are the same the geometry
is not modified)
2015-05-20 11:24:57 +03:00
Menelaos Karavelas
5fa14f06bc
[algorithms][normalize] add algorithm detail::normalize() :
...
this algorithm normalizes the spherical equatorial and geographic coordinates
of points and boxes
2015-05-20 11:23:22 +03:00
Menelaos Karavelas
cc9717b9db
[test][algorithms][envelope][expand] deactivate/modify test cases where latitude needs to
...
be normalized; make use of math::r2d<>() and math::d2r<>() constants;
2015-05-20 11:17:09 +03:00
Menelaos Karavelas
5ecc576bf2
[test][algorithms][equals] deactivate test cases where latitude needs to be normalized as well;
...
add test cases with points on the spheroid that also have a third coordinate (possibly height);
2015-05-20 11:15:44 +03:00
Adam Wulkiewicz
b57def597f
[buffer] Suppress msvc warnings.
2015-05-20 01:00:01 +02:00
Adam Wulkiewicz
8d3e2b180f
[buffer] Replace Multiprecision with temporary solution.
2015-05-20 00:54:17 +02:00
Adam Wulkiewicz
395d7b89f9
[test][relate] Add additional tests for de9im::mask.
2015-05-18 19:11:35 +02:00
Adam Wulkiewicz
aff4443f06
[relate] Check masks characters, both compile-time and run-time.
...
Compile-time mask is checked using BOOST_MPL_ASSERT_MSG.
Run-time mask constructors may throw an invalid_input_exception.
2015-05-18 19:09:05 +02:00
Adam Wulkiewicz
8262ee652a
[core] Add invalid_input_exception.
2015-05-18 19:05:44 +02:00
Menelaos Karavelas
465fc75ece
[util][math] remove unused code
2015-05-18 15:25:22 +03:00
Barend Gehrels
7379fc5094
Merge branch 'develop' of github.com:boostorg/geometry into develop
2015-05-17 09:07:07 +02:00
Adam Wulkiewicz
bec216923f
[test][buffer] Fix compilation error - BOOST_MESSAGE unknown.
2015-05-15 13:25:52 +02:00
Menelaos Karavelas
e66f255acf
Merge branch 'develop' of https://github.com/boostorg/geometry into feature/envelope_and_expand_for_spherical_cs
2015-05-14 12:23:19 +03:00
Barend Gehrels
f9589da717
[projections] Parse more characteristics
2015-05-13 21:01:47 +02:00
Barend Gehrels
a00979eca0
[projections] fix hypot in generation
2015-05-13 20:57:14 +02:00
Barend Gehrels
efd1378f29
Merge pull request #296 from mkaravel/fix/add_missing_inline
...
[util][math] add missing inlines in r2d<>() and d2r<>()
2015-05-13 18:32:39 +02:00
Menelaos Karavelas
5a0ef46981
[util][math] add missing inlines in r2d<>() and d2r<>()
2015-05-13 19:30:20 +03:00
Barend Gehrels
04e1fec727
Merge branch 'feature/buffer' into develop
2015-05-13 18:03:35 +02:00
Barend Gehrels
9d9ee614a1
Merge branch 'develop' into feature/buffer
2015-05-13 18:01:32 +02:00
Adam Wulkiewicz
e338fa5f61
[doc] Improve indentation in Doxyfile.
2015-05-13 17:58:24 +02:00
Adam Wulkiewicz
855d5d9c2f
[test][relate] Rename test file relate_pointlike_xxx.cpp to relate_pointlike_geometry.cpp
2015-05-13 17:53:58 +02:00
Adam Wulkiewicz
605031528d
[relate] Fix style according to guidelines and remove unused code/comment.
2015-05-13 17:52:42 +02:00
Adam Wulkiewicz
2c3ad250e0
[doc] Small changes - indentation in Doxyfile and copyright in example.
2015-05-13 17:51:17 +02:00
Adam Wulkiewicz
dac2fe1d5f
[test][strategies] Fix compilation errors after merging - comment out unused lines.
2015-05-13 15:44:05 +02:00
Adam Wulkiewicz
f94e51ebe3
Merge branch 'develop' into feature/geographic
...
Conflicts:
test/strategies/vincenty.cpp
2015-05-13 15:33:46 +02:00
Adam Wulkiewicz
dd2ff33b52
Merge pull request #292 from mkaravel/fix/degree_radian_converter
...
Fix degree_radian_converter
2015-05-13 14:12:24 +02:00
Adam Wulkiewicz
6029a4cd1b
Merge pull request #271 from mkaravel/feature/disjoint_point_point_on_spheroid
...
New feature: disjoint(point, point) for points on a spheroid
2015-05-13 14:11:35 +02:00
Barend Gehrels
d881d5811d
[buffer][test] add comment
2015-05-13 13:16:40 +02:00
Barend Gehrels
6158064410
[buffer] performance optimization: set the center point for buffers around
...
(multi)points, calculate min/max radius
and (when checking turn w.r.t. piece) check turn distance to center,
in most cases leave early
Including unit test. For multipoint_b_500k this increases performance with
a factor 6 (340 seconds -> 55 seconds)
Note, this is done for buffers around points but could be done for other
geometry types too (using e.g. centroid)
2015-05-13 13:08:22 +02:00
Barend Gehrels
61d3ae6b78
[buffer] performance improvement for point-pieces:
...
first check if it is in range
Including adaption of unit tests
Performance goes from 24 seconds (with side_of_intersection)
or 14 seconds (without) to 10 seconds (with side_of_intersection)
2015-05-13 10:58:07 +02:00
Barend Gehrels
b546a6fa21
Merge branch 'develop' into feature/buffer
2015-05-13 10:14:10 +02:00
Barend Gehrels
784a6bcb17
Merge branch 'develop' of github.com:boostorg/geometry into develop
2015-05-13 10:10:44 +02:00
Barend Gehrels
0d97706ffa
[projections] fix isea (M_PI)
2015-05-13 10:10:09 +02:00
Adam Wulkiewicz
be0dde6f21
Merge pull request #293 from jeremy-murphy/develop
...
[projections] fix project_inverse_transformer::apply
2015-05-13 04:09:50 +02:00
Adam Wulkiewicz
e5a6e90280
[relate][strategies] Improve the consistency of implementation and style.
...
Rename relate_base to relate_impl.
Rename base_t to base_type.
Implement all predefined static masks as metafunction taking two
Geometries (consistency).
Add comments about reasons of commenting out some parts of the code.
2015-05-12 13:53:19 +02:00
Adam Wulkiewicz
e943771628
Merge pull request #295 from mkaravel/fix/ticket_11268
...
Fix for Boost Trac Ticket 11268
2015-05-11 15:44:09 +02:00
Menelaos Karavelas
31391fe166
[test][algorithms][intersection] add test cases for intersection(linestring, box)
...
and intersection(multi_linestring, box)
2015-05-11 13:38:26 +03:00
Menelaos Karavelas
99788fba57
[algorithms][intersection] update copyright header
2015-05-11 13:38:09 +03:00
Menelaos Karavelas
926bbb8005
[algorithms][intersection] propagate robust policy to
...
detail::intersection::clip_range_with_box; this fixes Boost Trac ticket #11268 ;
2015-05-11 13:37:57 +03:00
Jeremy W. Murphy
ab7a00442e
[projections] fix project_inverse_transformer::apply
...
The call to point_to_point was using the wrong namespace and function call.
2015-05-11 14:14:32 +10:00
Menelaos Karavelas
535a7049f9
[geometry] replace uses of constants math::d2r and math::r2d by corresponding free functions
2015-05-08 12:23:23 +03:00