Sébastien Loriot
cbd50574e4
clean up comments, include and copyright
2014-05-21 12:08:12 +02:00
Laurent Rineau
bcdfdf5335
Cleanup trailing spaces
2014-04-16 15:42:46 +02:00
Laurent Rineau
aeb1d17cf6
"fix" the test
...
It seems that 700 was not a correct lower bound for the number of
protecting balls.
2014-04-16 14:59:54 +02:00
Laurent Rineau
cf3eee72ae
Add comments
2014-04-16 12:22:49 +02:00
Laurent Rineau
75c61a687d
New implementation of Has_timestamp
2014-04-15 18:07:23 +02:00
Laurent Rineau
3c69735dde
Fix the deletion of p_rng_
2014-04-15 18:00:18 +02:00
Jane Tournois
16d8494018
fix the use of namespaces in previous commits
...
in particular, fix commit 490a79566f
2014-04-15 16:24:31 +02:00
Jane Tournois
97b6fc5dcf
fix include
2014-04-15 16:20:58 +02:00
Jane Tournois
490a79566f
add Has_timestamp partial specialization for primitives in Mesh_polyhedron_3
...
they are needed to have determinism since commit
b7b1d297e9
2014-04-15 15:56:44 +02:00
Jane Tournois
b7b1d297e9
fix compilation of Polyhedron demo
...
and make use of any Polyhedron possible
(note that if you're not using Mesh_polyhedron_3, then Mesh_3 will not be
deterministic)
2014-04-15 14:14:38 +02:00
Jane Tournois
1b0323c8b8
Merge branch 'Mesh_3-add_random_generator_to_mesh_domain-GF' into Mesh_3-compare_index-GF
2014-03-28 11:01:40 +01:00
Jane Tournois
993541644c
move Has_timestamp to STL_extension/include/CGAL directory
...
to avoid that Compact_container depends on Mesh_3
2014-03-27 13:57:47 +01:00
Jane Tournois
533fa556d6
reorder parameters to keep old code valid (error_bound is documented)
2014-03-25 18:21:11 +01:00
Jane Tournois
215b463812
use CGAL::Random* as member variable
...
it avoids using temporary CGAL::Random(0) that would be deleted
as soon as we get out of the constructor
+ make examples deterministic and tests not (all but test_meshing_determinism)
2014-03-25 17:47:15 +01:00
Jane Tournois
98e8e85364
remove wrong 'const'
2014-03-25 15:16:02 +01:00
Jane Tournois
6521f8d474
Revert "replace CGAL::Random& by mutable CGAL::Random for member variable type"
...
This reverts commit 1c1b65ae39 .
The random generator member variable should be a CGAL::Random&, as in generators.h and
in the STL.
Also fix two constructors
2014-03-25 12:43:53 +01:00
Jane Tournois
1c1b65ae39
replace CGAL::Random& by mutable CGAL::Random for member variable type
...
and make use of const everywhere else
2014-03-25 11:39:12 +01:00
Jane Tournois
6792a899de
fix compilation of Polyhedral_mesh_domain_with_features_3
...
when a random generator which does not have the default value is chosen
2014-03-24 17:25:10 +01:00
Jane Tournois
6566c592c2
remove new template parameter RNG
...
using CGAL::Random everywhere is simpler and definitely enough
note we are using CGAL::Random& as in Random_generator_base
(see CGAL/generators.h)
2014-03-24 12:50:18 +01:00
Jane Tournois
61c245e0ea
add a random number generator (RNG) template parameter to mesh domains
...
a default value (CGAL::Random(0)) is given to avoid non-determinism
2014-03-21 10:35:01 +01:00
Jane Tournois
9f67ee99c7
Revert "sort facets and tetrahedra with indices, to get always the same file for the same mesh"
...
This reverts commit 2ab45a8514 .
It is not needed anymore because cells and vertices come in deterministic order
2014-03-18 16:45:23 +01:00
Jane Tournois
1fd86adab6
remove useless include
2014-03-18 15:37:47 +01:00
Jane Tournois
8e3bef2e87
remove useless sort (and useless diff with master)
2014-03-18 15:32:05 +01:00
Jane Tournois
c515a414e6
get verbose stuff back (it was a mistake to commit this)
2014-03-18 15:27:46 +01:00
Laurent Rineau
0554bfc6e8
Fix compilation on Linux
...
Template explicit specialization cannot be nested in a class.
http://stackoverflow.com/questions/3052579/explicit-specialization-in-non-namespace-scope
2014-03-14 14:46:14 +01:00
Jane Tournois
6b141cc848
replace hashing function when time_stamp is available
...
it used to be computed in the address of the Vertex_handle
--> not deterministic
2014-03-11 17:56:28 +01:00
Jane Tournois
11ecfe7943
these sorts are not needed anymore
...
because everything else is deterministic
2014-02-25 17:48:45 +01:00
Jane Tournois
6c0ee83719
remove more useless diffs with integration
2014-02-24 16:20:56 +01:00
Jane Tournois
bf03d6964d
remove useless diff with integration
2014-02-24 14:37:20 +01:00
Jane Tournois
4a83e56066
remove compare.h. It is not needed anymore
2014-02-21 17:29:55 +01:00
Jane Tournois
4212eb5cf7
fix warnings about ordering variables in constructor
2014-02-21 17:19:08 +01:00
Jane Tournois
d16f83ab97
output_to_medit : write in a ostream instead of ofstream (more general)
2014-02-21 16:40:39 +01:00
Jane Tournois
28f68bbfe9
add a default time_stamp_
...
to Mesh_vertex_base_3, Mesh_cell_base_3 and Compact_mesh_cell_base_3
2014-02-21 14:35:37 +01:00
Jane Tournois
22153ac273
make private the time_stamp_ variable
...
and add time_stamp() and set_time_stamp() methods everywhere
2014-02-20 16:18:49 +01:00
Jane Tournois
0740b3652f
add class Has_timestamp not to modify the API of Compact_container
...
- use the Has_timestamp operator in Compact_container
- add partial specialization to classes that need the time stamp (i.e.
Mesh_vertex_base, Compact_mesh_cell_base_3 and Mesh_cell_base_3)
- remove "ts" from classes where they were actually needed for compilation
purpose only (i.e. Kd_tree_node and Triangulation_ds_cell_base_3)
- rename "ts" to time_stamp_
2014-02-20 15:53:36 +01:00
Jane Tournois
c7eabc4f64
rename ts to time_stamp_
2014-02-20 15:46:10 +01:00
Jane Tournois
3ec781ccd2
remove useless cout's
2014-02-14 17:18:11 +01:00
Jane Tournois
2034529d10
remove useless cout
2014-02-14 17:16:50 +01:00
Jane Tournois
6f88ef05c0
get perturbers back
2014-02-14 17:16:18 +01:00
Jane Tournois
0e7ddc7fe7
make ts local
2014-02-14 13:12:59 +01:00
Jane Tournois
5d40dcfd4a
remove cout
2014-02-14 12:54:13 +01:00
Andreas Fabri
422c7b87f7
debug printouts
2014-02-13 19:46:40 +01:00
Andreas Fabri
1fb697f162
Add compare.h
2014-02-13 19:46:39 +01:00
Jane Tournois
723281d3ec
make facet dual segment orientation deterministic, to compute always exactly the same intersection with domain
2014-02-13 19:46:37 +01:00
Jane Tournois
44fa8f7a93
compute distances in a canonical order to make ODT deterministic
2014-02-13 19:46:36 +01:00
Jane Tournois
f4ae054d81
compute volume and centroid of cell by taking the points always in the same order to improve consistency
2014-02-13 19:46:35 +01:00
Andreas Fabri
83546c53b1
Add a time stamp in vertices and cells of triangulations and polyhedra
...
and use this for operator< of handles in order to make mesh generation
deterministic
2014-02-13 19:46:34 +01:00
Jane Tournois
2ab45a8514
sort facets and tetrahedra with indices, to get always the same file for the same mesh
2014-02-13 19:46:30 +01:00
Jane Tournois
4d47194a7b
Merge branch 'Mesh_3-fix_perturber_slivers_empty_bug-GF-rebased'
...
This branch fixes a bug in the sliver perturber.
It introduces some new data structures to backup the metadata
stored in cells before each perturbation. This allows to
recover these data without recomputing them in case the move
is reverted.
The bug fix comes from the fact that rec-omputed values might
have been different after the move from what they were before the
move, in a tetrahedron which is the same but for which the
Cell_handle is new.
Approved by the release manager.
2014-02-06 11:24:41 +01:00
Laurent Rineau
bfbe63275a
Define macros to 1 instead of empty values
...
In <CGAL/Mesh_3/config.h>, the macro are defined to 1, and no longer
defined to empty values.
2014-02-04 14:31:28 +01:00