Commit Graph

50820 Commits

Author SHA1 Message Date
Sébastien Loriot fc22a0380f add new line at end of file 2013-02-15 07:28:52 +01:00
Sébastien Loriot 0a0d1c1c5d fix conversion warning 2013-02-15 07:20:28 +01:00
Guillaume Damiand 7ff4e8f690 Bugfix is_sewable for dim>3 2013-02-14 21:58:18 +01:00
Guillaume Damiand 7cf8b4944c Bug fix in default traits parameter of LCC (already in master) 2013-02-14 17:40:14 +01:00
Guillaume Damiand 481908df1f * Re-add set_attribute method in CMap class (was removed by error).
* Make functors Is_removable_functor and Is_contractible_functor to avoid a warning.
2013-02-14 17:21:36 +01:00
Guillaume Damiand 450a07786b Ok for group/degroup and operations.
* clarify all the tests of group/ungroup cases for non void attributes
* create specialized functors allowing to consider all the different cases
  (group two edges along their two extremities, only the first or the second...)
* make many cleanup to move functors in different files, and to comment them
* add namespace before global functions

Still to do: sewable for dim>3 (build the isomorphism); try to improve onsplit
  test by testing only one out of two modified darts; add a parameter to
  operations to do not test group/ungroup; do a functor which updates the
  attributes of all the map (avoid do make many small tests, and do only one
  big test once).
2013-02-14 16:27:51 +01:00
Andreas Fabri abab3ad602 Suppress warnings in spatial_sort used with a QList.
The bug of Qt is that they have ptrdiff_t as difference type,
but they only provide   iterator + int  and not
iterator + difference_type
2013-02-14 15:38:05 +01:00
Andreas Fabri eacdff87b3 Merge branch 'CGAL-fix_warnings-gdamiand' of ssh://scm.cgal.org/var/git/cgal into CGAL-fix_warnings-gdamiand 2013-02-14 14:11:48 +01:00
Andreas Fabri 48c1490085 Add a static_cast 2013-02-14 14:05:22 +01:00
Andreas Fabri 278c1fe6d4 Add an 'f' to a float 2013-02-14 13:16:20 +01:00
Andreas Fabri be1e1738c2 static_casts and int -> size_t in Arrangement and Boolean Set Operations 2013-02-14 13:01:58 +01:00
Sébastien Loriot bdd68c5f5f fix Kernel concept documentation
some requirements from the Kernel were missing.
Also add some missing concepts in Kernel namespace
The rationale is geometric objects such as CGAL::Point_3
have member functions, and these member functions are
implemented using functor objects required by the Kernel concept.
2013-02-14 12:32:45 +01:00
Andreas Fabri ae3602cb5d Don't use BOOST_MULTI_INDEX_MEMBER 2013-02-14 12:09:18 +01:00
Sébastien Loriot b9a26cada3 add missing space 2013-02-14 10:31:19 +01:00
Sébastien Loriot c397161748 Revert "pacify msvc"
This reverts commit 395d0c1758.
There were some conflicts with the fixes in the branch
CGAL-fix_warnings-gdamiand, so we cherry-picked this commit
into the branch and resolved the conflicts.
2013-02-14 10:27:45 +01:00
Sébastien Loriot e1946e3e18 Revert "cleanup and removed warnings"
This reverts commit bef2c30c01.
There were some conflicts with the fixes in the branch
CGAL-fix_warnings-gdamiand, so we cherry-picked this commit
into the branch and resolved the conflicts.
2013-02-14 10:26:40 +01:00
Sébastien Loriot 32cd27f1d1 using coercions traits to determine a common type
in case FT is float, we need double as coercion_type
2013-02-14 10:20:35 +01:00
Efi Fogel 9d3755c11c Use size_t instead of int to get rid of VC++ warning
cleanup and removed warnings

Conflicts:

	Envelope_3/test/Envelope_3/Envelope_triangles_test_3.h
2013-02-14 10:17:30 +01:00
Efi Fogel 3bc7609717 Avoid if(boolean_variable == false) 2013-02-14 10:02:01 +01:00
Sébastien Loriot 83b4237403 Merge branch 'Eigen_matrix-fix_set_coeff-local'
bug-fix tested in CGAL-4.2-Ic-168 without errors
2013-02-14 07:37:49 +01:00
Guillaume Damiand 6035180c7a cont... 2013-02-13 22:17:09 +01:00
Andreas Fabri 1464e5e8fb Merge branch 'CGAL-fix_warnings-gdamiand' of ssh://scm.cgal.org/var/git/cgal into CGAL-fix_warnings-gdamiand 2013-02-13 19:48:55 +01:00
Luis Peñaranda 1cd16fccb6 warning in Gmpfr test
Changed Gmpfr::Precision_type -> size_t, the warning was about possible
loss of data in conversion.
2013-02-13 16:39:56 -02:00
Sébastien Loriot d64f988b7d bugfix of set_coef introduced by c84cc28d1c
The problem is that building the matrix from a set of triplets sums
the value provided in case several values at the same position are
provided. In order to overwrite a value, we have no other choice
than to build the matrix and set the value (with current Eigen API).
The following fix is as efficient if the matrix is assembled
in one pass. Using the boolean member of set_coef is very important now
as it can imply a premature building of the eigen matrix.
2013-02-13 18:24:26 +01:00
Sébastien Loriot c0fcf54002 the usefile is already included by find_packages(CGAL Component Eigen3) 2013-02-13 17:59:45 +01:00
Guillaume Damiand 173f8bc073 Continue on operations, group and degroup... 2013-02-13 17:57:49 +01:00
Andreas Fabri 2206224a7b quit MSVC about division by zero, which we do on purpose 2013-02-13 17:19:19 +01:00
Andreas Fabri 1675f4da1a /name -> \name 2013-02-13 16:53:09 +01:00
Andreas Fabri a73324b1e4 Removed srand, as I don't see where it is used.
Make remaining ugly code, even a bit uglier to avoid a warning.
2013-02-13 16:49:55 +01:00
Sébastien Loriot 24704d5d29 surface reconstruction examples do not need CORE neither MPFI 2013-02-13 16:31:07 +01:00
Andreas Fabri 5bd509bd70 constructor of boost::vector_property_map expects an unsigned int 2013-02-13 16:25:56 +01:00
Andreas Fabri 082848a0f3 unsigned int -> size_t in arrangement examples 2013-02-13 16:21:24 +01:00
Sébastien Loriot 06e2aee35f doc bugfix: missing nested type in CK2 2013-02-13 15:28:13 +01:00
Sébastien Loriot ce3420d639 document missing swap function in KDS 2013-02-13 14:23:32 +01:00
Andreas Fabri 5878b318c7 the boost property map adapter expects an int, not a size_t 2013-02-13 12:23:57 +01:00
Andreas Fabri f61b711b72 As the top level functions write int into an output iterator
we internally replace the unsigned int and size_t with int
in order to avoid warnings for VC++
2013-02-13 12:20:04 +01:00
Efi Fogel bef2c30c01 cleanup and removed warnings 2013-02-13 12:02:27 +02:00
Efi Fogel 395d0c1758 pacify msvc 2013-02-13 11:27:16 +02:00
Efi Fogel a54d020d40 Merge branch 'master' of ssh://scm.cgal.org/var/git/cgal 2013-02-13 11:04:58 +02:00
Sébastien Loriot 26da18d425 add a missing link library for a plugin
detected on MSVC10
2013-02-13 09:37:59 +01:00
Sébastien Loriot 9179aef5c8 remove a cmake target 2013-02-13 09:33:02 +01:00
Guillaume Damiand 550518a13f Cont degroup/group and operations 2013-02-12 22:21:57 +01:00
Andreas Fabri 858702433b the multiplicity is an int not a std::size_t 2013-02-12 22:13:16 +01:00
Andreas Fabri e3405423ff replace int with bool 2013-02-12 22:12:28 +01:00
Andreas Fabri a756bacff2 add static_cast / switch to size_t 2013-02-12 19:18:22 +01:00
Andreas Fabri 28b5b64347 no need for a variable for the exception 2013-02-12 19:17:36 +01:00
Andreas Fabri 64787d9b73 use bool instead of int 2013-02-12 19:16:01 +01:00
Sébastien Loriot ff5e5b5f19 add documentation page for CGAL_PI 2013-02-12 18:30:42 +01:00
Guillaume Damiand 599d700c65 Wip group/degroup and operations 2013-02-12 17:34:25 +01:00
Sébastien Loriot 381cc340c6 Merge branch 'Kernel_23-fix_extensible_kernel-sloriot'
approved by the release manager
2013-02-12 15:02:22 +01:00