Commit Graph

72542 Commits

Author SHA1 Message Date
Mael Rouxel-Labbé 4434b50407 Modified the parameters of a call to init_C3T3 2017-03-17 12:51:43 +01:00
Mael Rouxel-Labbé d2fb6cf273 Disable CGAL_MESH_3_SIZING_FIELD_INEXACT_LOCATE in P3M3
Structural filtering cannot, at the moment, be handled when remove traits
are being used.
2017-03-17 12:48:25 +01:00
Mael Rouxel-Labbé dad3916c24 Cleaned medit output functions 2017-03-17 12:44:14 +01:00
Mael Rouxel-Labbé f6252569da Fixed the Periodic mesh triangulation class
Added new functions that (up-to-date)  Mesh_3 requires, cleaned some obsolete
assert(), used the new functions available in P3RT3, added some comments, etc.
2017-03-17 12:40:32 +01:00
Mael Rouxel-Labbé 26fe13ba26 Fixed the traits of the Periodic mesh triangulation 2017-03-17 12:37:28 +01:00
Mael Rouxel-Labbé 08d8e16d50 Modified Mesh_3 to work with P3M3
These are new changes compared to the previous commit (7b3314a). They are
required because Mesh_3 has also evolved since it was forked.
2017-03-17 12:28:35 +01:00
Mael Rouxel-Labbé e2a8aede8b Applied the (old) changes of the P3M3 Mesh_3 fork into Mesh_3 2017-03-17 12:26:33 +01:00
Mael Rouxel-Labbé 3c645878b4 Added license file for P3M3 2017-03-17 12:22:31 +01:00
Mael Rouxel-Labbé 8a11f510b1 Removed the Mesh_3 fork from P3M3
Changes will be directly incorporated into Mesh_3. Mesh_3's examples and tests
will consequently be temporarily broken in this branch.
2017-03-17 12:21:23 +01:00
Mael Rouxel-Labbé 993346cb26 Merge branch 'Periodic_3_mesh_3-Feature-MBogdanov-old' into Periodic_3_mesh_3-Feature-MBogdanov
Using Periodic_3_Regular_triangulation_3-APelle @ 8ce1446
2017-03-17 10:52:24 +01:00
Mael Rouxel-Labbé 7a10d7b290 Cosmetic changes in P3T3.h
(indentation, whitespace, etc.)
2017-03-16 21:34:21 +01:00
Mael Rouxel-Labbé 28f56984d5 Cosmetic changes in P3RT3.h
(indentation, whitespace, etc.)
2017-03-16 21:34:20 +01:00
Mael Rouxel-Labbé 5bff1f3de4 Updated P3T3's test CMakeLists 2017-03-16 21:34:20 +01:00
Mael Rouxel-Labbé 86f374e6da Added some new operators to the traits_with_offset adaptor
Required for P3M3
2017-03-16 21:34:11 +01:00
Mael Rouxel-Labbé 111cc39d28 Do not copy the cuboid 2017-03-16 18:24:07 +01:00
Mael Rouxel-Labbé 09e2ed00f8 Cosmetic changes in P3T3 traits classes 2017-03-16 18:21:59 +01:00
Mael Rouxel-Labbé 486967a003 Added periodic_point(const Point&) 2017-03-16 18:19:46 +01:00
Mael Rouxel-Labbé de98b5f1d3 Renamed the macro CGAL_PT3_STRUCTURAL_FILTERING_MAX_VISITED_CELLS 2017-03-16 18:08:07 +01:00
Mael Rouxel-Labbé 444d7b626e Added namespaces to 'array' 2017-03-16 18:04:07 +01:00
Mael Rouxel-Labbé a98c7d447d Added number_of_finite_* functions
Required for P3M3
2017-03-16 17:42:25 +01:00
Mael Rouxel-Labbé 055c4a928b Restructured the hierarchy of traits in Periodic triangulations
BEFORE:
A template mecanism allows to determine wether the kernel offers filtered, or
even statistically filtered operations. The highest level is chosen and includes
the sub-levels. For example, if the kernel offers filtered but _not_ statistically
filtered operations, using the traits class `Periodic_3_triangulation_traits_3`
is equivalent to using the class `Periodic_3_triangulation_filtered_traits_3`,
which inherits the operations of `Periodic_3_triangulation_traits_3` (implemented
in `Periodic_3_triangulation_traits_base_3`) and overwrites some of them.

A similar mecanism is done for Delaunay and regular traits; e.g. if the kernel
offers statistically filtered traits, then using `Periodic_3_Delaunay_triangulation_traits_3`
is similar to using `Periodic_3_Delaunay_triangulation_statistically_filtered_traits_3`,
which inherits from `Periodic_3_Delaunay_triangulation_filtered_traits_3`, which itself
inherits from `Periodic_3_Delaunay_triangulation_traits_3`.

PROBLEM:
The base class of Delaunay and regular traits, respectively
`Periodic_3_Delaunay_triangulation_traits_base_3` and
`Periodic_3_regular_triangulation_traits_base_3` inherit the class
`Periodic_3_triangulation_traits_base_3`. Thus, if the kernel is filtered
or statistically filtered, then the filtered operations that should
"belong" at the level of triangulation traits (for example, orientation_3)
must be duplicated in the Delaunay and regular traits file otherwise
they are not filtered.

AFTER:
With this commit, the Delaunay and regular bases traits inherit
from `Periodic_3_triangulation_traits_3` (no "_base"). This means
that the base class will also select its highest possible level of
filtration and there is no need to duplicate code 3 times anymore.
2017-03-16 17:25:53 +01:00
Mael Rouxel-Labbé c38ab09bde Accelerate 3D version of inexact_locate as we do it for 2D
see commit 4c477c853c
2017-03-16 17:18:40 +01:00
Mael Rouxel-Labbé 9d04f427dc Revert "Fixed periodic nearest power vertex"
This reverts commit 6caf42979f905958b0e147291433097987daa713.

P3M3 crashes without this. To be investigated.
2017-03-16 17:13:06 +01:00
Mael Rouxel-Labbé 54bf09cdef Ignored some input-output tests when using CGAL::MP_Float
There are problems with the IO of exact number types in binary mode.
2017-03-16 17:08:08 +01:00
Mael Rouxel-Labbé 2f875abb30 Fixed FT --> double conversion compilation error 2017-03-16 17:06:31 +01:00
Mael Rouxel-Labbé 88585844e7 Removed unnecessary usage of Robust weighted circumcenter traits
Since P3RT3 now does orthoball size checks through the predicate
compare_weighted_squared_radius_3, there is no need to compute any weighted
circumcenter and therefore these traits are not needed.
2017-03-16 16:56:48 +01:00
Mael Rouxel-Labbé 2b3de6ee29 Added missing operation to the periodic regular triangulation traits 2017-03-16 16:55:00 +01:00
Mael Rouxel-Labbé 9dedcae60c Merge branch 'Periodic_3_Regular_triangulation_3-APelle-old' into Periodic_3_Regular_triangulation_3-APelle
Using cgal/master @ cce6932
2017-03-16 16:39:20 +01:00
Sebastien Loriot cce6932af9 Merge pull request #1947 from janetournois/Mesh_3-add_lipschitz_sizing-example-jtournois
Mesh_3 - add an example for `Lipschitz_sizing`
2017-03-16 11:03:33 +01:00
Sébastien Loriot c360e025a1 Merge remote-tracking branch 'cgal/releases/CGAL-4.9-branch' into HEAD 2017-03-16 10:41:40 +01:00
Sebastien Loriot d615e610c1 Merge pull request #1952 from sgiraudot/Point_set_shape_detection-Fix_incomplete_clear-GF
Point set shape detection: Fix incomplete clear
2017-03-16 10:39:29 +01:00
Jane Tournois 882893c9d9 remove empty file description 2017-03-16 10:37:58 +01:00
Simon Giraudot 12e032c9e4 Bugfix in test: shape factory must be added when input is reset 2017-03-16 10:37:22 +01:00
Simon Giraudot 24ff167b72 Fix incomplete clear 2017-03-16 10:37:21 +01:00
Sebastien Loriot 8662845f35 Merge pull request #1973 from janetournois/PMP-improve_tests-jtournois
PMP : Improve the tests
2017-03-16 09:58:53 +01:00
Sébastien Loriot 6d3d570239 Merge remote-tracking branch 'cgal/releases/CGAL-4.9-branch' into HEAD 2017-03-16 09:57:17 +01:00
Sebastien Loriot 35beb1a4e2 Merge pull request #1959 from afabri/BGL-bugfix_Dual-GF
BGL bugfix in the class Dual
2017-03-16 09:56:24 +01:00
Sebastien Loriot ccf620e3ad Merge pull request #1964 from sgiraudot/STL_Extension-Fix_iterator_range_size_type-GF
Fix iterator range size type
2017-03-16 09:54:06 +01:00
Sébastien Loriot 889307a486 Merge remote-tracking branch 'cgal/releases/CGAL-4.9-branch' into HEAD 2017-03-16 09:44:58 +01:00
Sébastien Loriot 6075c8fbcb fix unused variable warning 2017-03-16 09:44:17 +01:00
Sébastien Loriot b64cca5fdf Merge remote-tracking branch 'cgal/releases/CGAL-4.9-branch' into HEAD 2017-03-14 17:10:19 +01:00
Sébastien Loriot 731bb17827 add missing off file 2017-03-14 17:06:35 +01:00
Sebastien Loriot e3b6f20ac8 Merge pull request #1962 from sloriot/AOS_2-fix_precond_trap_decomp
Fix precondition in Trapezoidal_decomposition_2
2017-03-14 16:30:29 +01:00
Sebastien Loriot 26c6dac6fa Merge pull request #1919 from maxGimeno/Polyhedron_demo-Reduce_memory_consumption-GF
Polyhedron demo: OFF_plugin optimizations
2017-03-14 16:29:16 +01:00
Jane Tournois b6d88274fb deactivate output to files in the testsuite
it takes long and is not really useful for the tests
2017-03-14 16:20:28 +01:00
Jane Tournois f9fe9a5e6a add assertions to the PMP testsuite 2017-03-14 15:46:48 +01:00
Jane Tournois a88efb4144 rename header protection macros, and include license headers 2017-03-14 10:58:46 +01:00
Jane Tournois 8a8827add0 remove useless file description 2017-03-14 10:35:00 +01:00
Simon Giraudot d35c50577d Fix warning in point set shape detection 2017-03-14 07:20:50 +01:00
Andreas Fabri 58b4b81ccd fix in_edges() and out_edges() 2017-03-13 17:12:37 +01:00