Commit Graph

57195 Commits

Author SHA1 Message Date
Laurent Rineau 3dd4069bf0 Fix a bug with CMake 3.0
Actually, in my opinion that was also a bug with other versions of
CMake.

Before this commit, in Installation/src, CGAL_CONFIGURED_LIBRARIES was
set to the empty string "" *in the parent scope* (Installation),
then the variable is modified in the current scope Installation/src, and
then the variable value is copied to a cache variable of the same name.

In my opinion, that means that the parent scope (Installation) has a
non-cache variable CGAL_CONFIGURED_LIBRARIES that is empty (""), and a
cache variable that is not empty (that contains, for example
"CGAL_Core;CGAL_Qt4;CGAL_ImageIO"). The document of CMake-3.0 precisely says
that the semantic of variables is such that cache variables have the
lowest priority. See:
  http://www.cmake.org/cmake/help/v3.0/manual/cmake-language.7.html#variables
As far as I know, that was supposed to be the same for CMake 2.8, but I
cannot find out where it is described in the documentation. Anyway, the
bug was visible with CMake 2.8 and not with CMake 3.0.

The patch simply does not set the empty value of
CGAL_CONFIGURED_LIBRARIES in the parent scope, but only in the current
local scope.
2014-07-22 15:04:12 +02:00
Laurent Rineau 4d468d1881 Add compatibility with CMake 3.0
Trivial bug-fix for master
2014-07-22 12:47:59 +02:00
Laurent Rineau 90ec02f576 Prepare for CGAL-4.5 2014-07-22 12:47:50 +02:00
Sébastien Loriot 5c6b54257a the XXX_is_border properties are removed + add missing replacement functions 2014-07-22 12:00:15 +02:00
Sébastien Loriot 0b8314e28d the notion of border for a halfedge is not encoded using a property map 2014-07-21 22:30:14 +02:00
Laurent Rineau da77e0d819 Name of leda_numbers of Windows
Trivial fix for master

(cherry picked from commit 601d05d717edead7ea8396a0f723b715bbd9bdc6)
2014-07-21 14:00:59 +02:00
Mael Rouxel-Labbé 7cc8f59898 Small layout changes for Power_test_3's doc entry
(cherry picked from commit fdb4959b3e06c4c3fe4dd17d4420664a5d140486)
2014-07-21 12:15:57 +02:00
Laurent Rineau 26861f733d Merge branch 'Polyhedron-fix_demo_feature_A_B-lrineau'
Bug-fix for the polyhedron demo. The A/B selection was no longer working
for a while.

Tested in CGAL-4.5-Ic-100.
Approved by the Release Manager.
2014-07-21 12:02:24 +02:00
Laurent Rineau 8571477f92 Merge branch 'Mesh_3-fix_a_warning-GF'
Fix a warning.

Tested in CGAL-4.5-Ic-100.
Approved by the Release Manager.
2014-07-21 12:00:53 +02:00
Laurent Rineau 156a4b3f9b Merge branch 'Mesh_3-compare_index-GF'
Add determinism to the sequential version of Mesh_3.

Small feature:
  http://cgal.org/wiki/Features/Small_Features/Mesh_3_deterministic
Was pre-approved 14 May 2014.

Tested in CGAL-4.5-Ic-100.
Approved by the Release Manager.
2014-07-21 12:00:16 +02:00
Laurent Rineau 5dcdf48a27 Merge branch 'CGAL-Exact_integer_rational-GF'
Generalize the use of CGAL::Exact_integer and CGAL::Exact_rational.

Tested in CGAL-4.5-Ic-100.
Approved by the Release Manager.
2014-07-21 11:59:51 +02:00
Laurent Rineau 8ac225efa5 Trivial fix of a warning
Trivial bug-fix for master
2014-07-21 11:52:10 +02:00
Sébastien Loriot 3a202ce200 Merge branch 'Polyhedron_demo-fix_recenter_scene-local'
Tested in CGAL-4.5-Ic-100
Approved by the release manager
2014-07-21 08:24:05 +02:00
Sébastien Loriot 45f7298ce7 Merge branch 'Polyhedron_demo-import_splatting-GF'
Tested in CGAL-4.5-Ic-100
Approved by the release manager

Conflicts:
	Surface_reconstruction_points_3/demo/Surface_reconstruction_points_3/CMakeLists.txt
	Surface_reconstruction_points_3/demo/Surface_reconstruction_points_3/PS_demo_poisson_plugin.cpp
	Surface_reconstruction_points_3/demo/Surface_reconstruction_points_3/PS_demo_poisson_plugin_cgal_code.cpp
2014-07-21 08:23:36 +02:00
Laurent Rineau bea14d40cc Add the EOF 2014-07-21 08:21:16 +02:00
Sébastien Loriot 116528dfd6 Merge branch 'Polyhedron_demo-fix_orient_polygon_soup-local'
Tested in CGAL-4.5-Ic-100
Approved by the release manager
2014-07-21 08:18:52 +02:00
Sébastien Loriot bc8e1f399d workaround a bug in dijsktra algorithm in boost 1.54 affecting normal estimation 2014-07-19 12:20:29 +02:00
Sébastien Loriot 8b7af3a397 vector_property_map include is done by CGAL/property_map.h 2014-07-19 11:36:33 +02:00
Sébastien Loriot e6c8e84b26 fix operator>> for Number_type_checker
the previous version was hoping to have an = operator between the types
  which is unlikely to happen in practice. We use the read from string
  capabilities instead (which should be available for most NT)
2014-07-19 10:36:59 +02:00
Laurent Rineau 374ab8413c Here is another source of potential problem
The variable x/y/z/r can have different values in the two contexts.
2014-07-18 17:42:50 +02:00
Laurent Rineau f83486c5e3 Fix a warning when TBB is not used
test/Mesh_3/test_meshing_utilities.h:379:44: warning: typedef 'Concurrency_tag' locally defined but not used [-Wunused-local-typedefs]
     typedef typename C3t3::Concurrency_tag Concurrency_tag;
2014-07-18 17:29:27 +02:00
Laurent Rineau 9dbd57a608 Merge remote-tracking branch 'origin/Mesh_3-determinism_rebased-GF' into Mesh_3-compare_index-GF
A dummy merge, with `git merge --strategy ours`, to attach the history
of that old branch to the new one.
2014-07-18 16:46:17 +02:00
Laurent Rineau c25cdac10d Merge remote-tracking branch 'origin/Mesh_3-determinism-GF' into Mesh_3-compare_index-GF
A dummy merge, with `git merge --strategy ours`, to attach the history
of that old branch to the new one.
2014-07-18 16:45:01 +02:00
Laurent Rineau 7c29e97263 Fix a segfault
There was a bug when a Polyhedral_mesh_domain_with_features_3 was
constructed with the default `Random* = 0`.
2014-07-18 16:35:43 +02:00
Sébastien Loriot 25f74f2a74 LEDA library numbers has been renamed to leda_numbers
trivial bugfix for master
2014-07-18 16:04:27 +02:00
Laurent Rineau 3deb8e7910 Merge branch 'Mesh_3-compare_index-GF-old' into Mesh_3-compare_index-GF
Create an integration branch for 'Mesh_3-compare_index-GF': a new branch
created from 'master', where I merged the previous version of
'Mesh_3-compare_index-GF'.

There was a conflict with two features recently merged into 'master' for
CGAL-4.5:

- the move of two files from include/CGAL/Mesh_3/ to include/CGAL/. See
  the small feature:
    http://cgal.org/wiki/Features/Small_Features/New_constructor_in_Label_mesh_domain_3_and_new_function_wrapper

- parallelism for Triangulation_3 and Mesh_3:
    http://cgal.org/wiki/Features/Parallel_Mesh_3

Conflicts:
	Combinatorial_map/include/CGAL/Cell_attribute.h
	Mesh_3/include/CGAL/Implicit_mesh_domain_3.h
	Mesh_3/include/CGAL/Labeled_image_mesh_domain_3.h
	Mesh_3/include/CGAL/Mesh_3/Sliver_perturber.h
	Mesh_3/include/CGAL/Polyhedral_mesh_domain_3.h
	Mesh_3/test/Mesh_3/test_meshing_3D_image.cpp
	Mesh_3/test/Mesh_3/test_meshing_polyhedron.cpp
	Mesh_3/test/Mesh_3/test_meshing_polyhedron_with_features.cpp
	Polyhedron/demo/Polyhedron/Polyhedron_type.h
	STL_Extension/include/CGAL/Compact_container.h
	STL_Extension/test/STL_Extension/test_Compact_container.cpp

I also modified the following files during the conflict resolution:

	Linear_cell_complex/include/CGAL/Cell_attribute_with_point.h
	Mesh_3/include/CGAL/Labeled_mesh_domain_3.h
	Mesh_3/include/CGAL/Polyhedral_mesh_domain_with_features_3.h
2014-07-18 15:47:14 +02:00
Sébastien Loriot d56210297d add missing CGAL_assertion_code 2014-07-18 09:16:17 +02:00
Laurent Rineau a0da371e2a Fix a runtime bug
The dynamic type of my `model` object is no longer a `Scene`, but that
it a proxy model for the scene!
2014-07-17 19:53:12 +02:00
Laurent Rineau be31b7a334 Cosmetic change
Use this-> instead of the name of the base class.
2014-07-17 19:52:13 +02:00
Clement Jamin fbf824c711 Merge branch 'Mesh_3-parallel-cjamin'
This branch introduces parallel algorithms in Triangulation_3 and Mesh_3,
as well as a Concurrent_compact_container. The corresponding features are:
https://cgal.geometryfactory.com/CGAL/Members/wiki/Features/Parallel_triangulation_3
https://cgal.geometryfactory.com/CGAL/Members/wiki/Features/Parallel_Mesh_3

Tested in CGAL-4.5-Ic-98.
Approved by the Release Manager.
2014-07-17 19:08:24 +02:00
Clement Jamin 2ae815910e Switch to LGPL 2014-07-17 18:36:21 +02:00
Clement Jamin c8c7ed03a6 Relax the "number of facets/vertices" criteria 2014-07-17 17:46:37 +02:00
Sébastien Loriot 8019ed241e fix include directive and function call 2014-07-17 16:55:14 +02:00
Sébastien Loriot 788f8def91 add warning message 2014-07-17 16:54:38 +02:00
Sébastien Loriot b73ce551f7 add missing header 2014-07-17 16:43:58 +02:00
Sébastien Loriot e49813c5ef example takes input filenames as parameters 2014-07-17 16:43:37 +02:00
Sébastien Loriot 27d34d9e75 Merge branch 'Orient-Polyhedron_3-iyaz' into Polyhedron_demo-fix_orient_polygon_soup-local
Conflicts:
	Operations_on_polyhedra/include/CGAL/triangulate_polyhedron.h
2014-07-17 16:29:52 +02:00
Sébastien Loriot f02af68d48 recenter scene first update the bbox 2014-07-17 15:55:48 +02:00
Laurent Rineau d2bd75d8a6 Better solution
There was still 'double' variables that were not forced to 64 bits. I
opt for another solution: the result of myrand() itself is forced to
64 bits.
2014-07-17 14:32:10 +02:00
Sébastien Loriot 9684d475ab naive way to check a point set has normals used to set valid rendering modes 2014-07-17 13:53:01 +02:00
Sébastien Loriot e77ed71384 remove demo from the creation script 2014-07-17 13:41:43 +02:00
Sébastien Loriot fce46e5164 document the removal of the surface reconstruction demo 2014-07-17 13:41:43 +02:00
Sébastien Loriot b819d5024f scene texture item does not support splatting rendering mode 2014-07-17 12:02:09 +02:00
Sébastien Loriot a5eb8dc1c2 fix color issue for the point set and the splatting 2014-07-17 11:31:06 +02:00
Clement Jamin ca70dd0bde The parallel algorithms are experimental 2014-07-17 10:52:39 +02:00
Sébastien Loriot 6ed1ba826e Merge branch 'to-be-tested/Stop_testing_taucs-sloriot'
Taucs, Lapack and Blas supports are no longer tested

Approved by the Release Manager
Tested in CGAL-4.5-Ic-97

Conflicts:
	Polyhedron/demo/Polyhedron/CMakeLists.txt
2014-07-16 20:19:21 +02:00
Andreas Fabri 65200381d7 Arithmetic_kernel -> Exact_integer/rational 2014-07-16 18:55:30 +02:00
Laurent Rineau ca5e5b1bda "Fix" a license.txt file
There was an extra space.
2014-07-16 18:02:32 +02:00
Clement Jamin a7a654e207 Temporarily change Haussdorf distance threshold 2014-07-16 18:02:00 +02:00
Laurent Rineau 495ed0b6ab Merge remote-tracking branch 'origin/CGAL-Less_warnings-GF'
Fix various warnings.

Tested in CGAL-4.5-Ic-97. Approved by the Release Manager.
2014-07-16 17:48:56 +02:00