Commit Graph

59293 Commits

Author SHA1 Message Date
Panagiotis Cheilaris c07ae4ba42 general oriented_side to also accomodate Linf
The oriented_side predicate is used with a face corresponding to
the interior of a segment that is split by a vertex contained in
the segment. For an infinite such face the code has to become more
general in order to accomodate the Linf case. For example, in L2
the number of such infinite faces is 0, 2, or 4, whereas in Linf,
it can be any even non-negative integer.

Moreover, the existing code for infinite faces is L2 specific and
ignores the interior of the segment for its decision. In Linf the
interior of the segment is important. For this reason, there is a
new case of the predicate that is general enough to also
accomodate Linf:

// computes the oriented side of the Voronoi vertex of s1, s2, inf
// wrt the line that passes through the point p and its direction
// is the direction of the supporting line of s, rotated by 90
// degrees counterclockwise.
Oriented_side operator()(const Site_2& s1, const Site_2& s2,
                         const Site_2& s, const Site_2& p) const

The Oriented_side_C2 class is also adapted for L2 to use the new
form of the predicate, which internally calls the old form.
2015-04-29 11:58:00 +02:00
Panagiotis Cheilaris 88bc8d9458 change of n_inf assertion to support Linf case
In Linf, there can be many Linf-parabolae contained in the region
of the interior of a non-axis parallel segment.
2015-04-29 11:58:00 +02:00
Panagiotis Cheilaris 18532c962a make Voronoi edge primal agnostic to L2 2015-04-29 11:58:00 +02:00
Panagiotis Cheilaris 1a9b0dc079 vertex conflict for insert_third
Use vertex conflict instead of orientation in insert_third for
the case of three points. This change is to make SDG more L2
agnostic.

Given are three point sites s1, s2, s3.

The orientation of (s1,s2,s3) is not collinear if and only if the
two vertex conflict quadruples (s1,s2,inf,s3) and (s2,s1,inf,s3)
are of opposite signs.

The orientation of (s1,s2,s3) is right turn if and only if the
vertex conflict quadruple (s2,s1,inf,s3) is NEGATIVE.
2015-04-29 11:58:00 +02:00
Laurent Rineau 120bd950cd updated crontab (automated commit) 2015-04-27 15:33:18 +02:00
Laurent Rineau 12050df969 updated crontab (automated commit) 2015-04-27 13:18:03 +02:00
Sebastien Loriot 53d52b4287 Merge pull request #62 from afabri/CGAL-fix_Index_links-GF
Escape the word Index with '%'
2015-04-27 09:26:39 +02:00
Andreas Fabri 52382276a8 Escape the word Index with '%' 2015-04-23 12:04:35 +02:00
Sébastien Loriot b0d5a2eac7 fix changes 2015-04-22 18:07:10 +02:00
Sebastien Loriot faee08becd Merge pull request #56 from efifogel/Aos-Polycurve_tests-wkhan
Aos polycurve tests wkhan
2015-04-22 18:00:03 +02:00
Sébastien Loriot 847e42429b Merge branch 'sloriot-Spatial_sorting-spatial_sorting_on_sphere-pmachado' 2015-04-22 17:42:36 +02:00
Sébastien Loriot a0fcac7d94 Merge branch 'Spatial_sorting-spatial_sorting_on_sphere-pmachado' of git://github.com/sloriot/cgal into sloriot-Spatial_sorting-spatial_sorting_on_sphere-pmachado 2015-04-22 17:41:53 +02:00
Laurent Rineau 76414c55e7 Allow to use git-hub, if availlable 2015-04-21 17:38:08 +02:00
Laurent Rineau 3e04db0f6d Prepare the NSIS script for 4.7 2015-04-21 17:28:03 +02:00
Laurent Rineau fb60be1bfa Merge remote-tracking branch 'cgal/releases/CGAL-4.6-branch' 2015-04-21 17:27:03 +02:00
Laurent Rineau e0f94c42ac Merge pull request #52 from sloriot/CGAL_ipelets-use_to_double-sloriot
using the free function to_double instead of the member function

Tested in CGAL-4.7-Ic-11.
2015-04-21 17:25:44 +02:00
Laurent Rineau b4df68d081 Merge pull request #53 from sloriot/QP_solver-fix_convertion_to_ET-sloriot
force convertion to exact number type (avoid ambiguous call to cmp operators)

Tested in CGAL-4.7-Ic-11.
2015-04-21 17:24:46 +02:00
Laurent Rineau 9628ad92d2 Merge pull request #54 from bo0ts/Fix_boost_includes-pmoeller
Fix some Boost includes

Tested in CGAL-4.7-Ic-11.
2015-04-21 17:17:34 +02:00
Efi Fogel 18350450b8 renamed polyline.cpp test_polyline.cpp 2015-04-20 16:13:53 +03:00
Sébastien Loriot de0e79d7aa add missing include 2015-04-20 15:13:13 +02:00
Sébastien Loriot e928b1e45c move spatial sorting on sphere into dedicated headers 2015-04-20 13:13:58 +02:00
Sébastien Loriot ae9da903ea update changes.html 2015-04-17 11:50:06 +02:00
Sébastien Loriot af8e2a2633 int -> size_t to avoid warning 2015-04-17 09:08:11 +02:00
Sébastien Loriot e185efc2dc update license to GPL 2015-04-16 10:55:53 +02:00
Sébastien Loriot 69a0937e9f fix initialization of static const variable of non-integral type 2015-04-16 09:17:56 +02:00
Sébastien Loriot 756fb88c6d Merge branch 'sloriot-Generator-more_point_generators-pmachado' 2015-04-15 16:25:51 +02:00
Sébastien Loriot 3f6c6b3369 Merge branch 'Generator-more_point_generators-pmachado' of git://github.com/sloriot/cgal into sloriot-Generator-more_point_generators-pmachado
Conflicts:
	Generator/doc/Generator/Generator.txt
	Generator/doc/Generator/PackageDescription.txt
	Generator/doc/Generator/examples.txt
	Installation/changes.html
2015-04-15 16:25:34 +02:00
Sébastien Loriot fe203e8f78 update changes 2015-04-15 16:21:43 +02:00
Sebastien Loriot fd4473bf44 Merge pull request #57 from sloriot/Surface_modeling-remove_deprecated_class
Surface modeling remove deprecated class
2015-04-15 10:47:39 +02:00
Sébastien Loriot 3c66842b77 fix compilation issues and warnings 2015-04-15 09:03:14 +02:00
Efi Fogel a7c602449b Commenting out unnecessary code (which some compilers barf on) 2015-04-15 09:51:22 +03:00
Sébastien Loriot bf988b0e68 NewKernel_d package doc is in Kernel_d 2015-04-14 13:56:16 +02:00
Sébastien Loriot ea96055ba9 use examples.txt at the root of the doc package dir 2015-04-14 11:52:22 +02:00
Sébastien Loriot ffaf5f93a9 remove test from cmake script 2015-04-14 09:34:55 +02:00
Philipp Möller 49a56c5a79 Fine grained range includes 2015-04-13 17:26:36 +02:00
Philipp Möller 74e71f41e2 Remove uses of Boost.Lambda
Replace Boost.Lambda with simple loops. The library is not maintained
and no one is going to ever invest in it again. It adds to compile and
preprocessing times without providing safer or shorter code and we can
sacrifice a little bit of readability.
2015-04-13 17:24:08 +02:00
Philipp Möller baac7e673a Instead of a BOOST_STATIC_WARNING use a deprecated attribute 2015-04-13 16:58:00 +02:00
Philipp Möller 4f8e76b074 Boost.Lambda is not used here anymore 2015-04-13 16:47:00 +02:00
Sébastien Loriot 269c83e8a5 force convertion to exact number type (avoid ambiguous call to cmp operators) 2015-04-13 15:39:35 +02:00
Sébastien Loriot 9e68f232ac using the free function to_double instead of the member function
the member function is specific to a few number types
2015-04-13 14:25:57 +02:00
Sébastien Loriot 50ae111378 remove deprecated class 2015-04-13 11:53:56 +02:00
Laurent Rineau 2c451490e3 Merge pull request #40 from drewish/eigen_2-sqrt
Switch eigen_2 from std::sqrt to CGAL::sqrt
2015-04-13 11:02:00 +02:00
Laurent Rineau bf8f42b972 For next announcements I should be careful!
I do not know if it is too late for the announcement of CGAL-4.6 (the
messages are under review my moderators), but for CGAL-4.7 I should be
careful to use my "CGAL email address" while sending the announcement
mails.
2015-04-10 17:58:57 +02:00
Laurent Rineau 4db540c6c8 Update the NSIS script for 4.6
This should have been done before 4.6 is tagged. Sorry.
2015-04-10 17:45:34 +02:00
Philipp Möller 236ae3f9d3 Remove two unused includes of pool_allocator 2015-04-10 14:48:33 +02:00
Philipp Möller f0f4b42079 Neither vector nor boost/assign are used, but iostream is 2015-04-10 14:41:53 +02:00
Philipp Möller 370a7da94b Use boost::shared_ptr instead of tr1::shared_ptr 2015-04-10 14:35:20 +02:00
Philipp Moeller ee412c3f24 Remove unused static_warning include
Static warning is undocumented and the include has changed before. It is
also not used anywhere so removing the code increases stability.
2015-04-10 14:12:35 +02:00
Philipp Möller 76a4f0da85 Replace detail/algorithm.hpp with type_traits/is_same.hpp
Also remove the superfluous map include
2015-04-10 13:46:13 +02:00
Philipp Möller ae72a9f616 Replace detail/algorithm.hpp with type_traits/is_same.hpp
is_same is the only part of boost used in this file
2015-04-10 13:45:47 +02:00