Commit Graph

2589 Commits

Author SHA1 Message Date
Laurent Rineau 0681ac6dbc Fix the TBB_USE_FILE warnings 2017-11-15 17:00:02 +01:00
Laurent Rineau 86fb40832a Merge pull request #2580 from lrineau/CGAL-Support_CMake_3.10-GF
Renew the handle of policies, for CMake-3.10
2017-11-13 12:01:39 +01:00
Laurent Rineau ce6e3a121f Merge branch 'releases/CGAL-4.10-branch' into releases/CGAL-4.11-branch 2017-10-23 16:55:54 +02:00
Laurent Rineau 6be9fcab9d Forbid the use of CGAL_MESH_3_USE_RELAXED_HEAP
That code using a Boost relaxed heap is buggy. Let's warn the developer
that he/she must not use it.
2017-10-19 15:14:01 +02:00
Laurent Rineau 6178c04cf1 Fix also restore_infinite_cell
Thanks @MaelRL for the suggestion.

https://github.com/CGAL/cgal/pull/2541#issuecomment-337278638
2017-10-18 17:00:25 +02:00
Laurent Rineau 9a7b48d693 Fix a perturber bug
The `facet_surface_center` of facet was not always restored correctly,
after an aborted move, and that eventually led to use of uninitialized
memory... and a crash.
2017-10-17 09:48:45 +02:00
Laurent Rineau 107cdccd6d Merge pull request #2438 from lrineau/Mesh_3-test_polyhedral_complex_with_surface_mesh-GF
Mesh_3: make it work with Surface_mesh
2017-10-11 19:14:49 +02:00
Laurent Rineau 7e9f756935 Replace all std::unary_function by CGAL::unary_function 2017-10-04 15:57:09 +02:00
Laurent Rineau 19519adeed Fix warnings 2017-09-26 16:12:45 +02:00
Laurent Rineau c33d1b6dd9 Merge branch 'releases/CGAL-4.11-branch' 2017-09-25 16:48:41 +02:00
Laurent Rineau 412927917b Bug-fix for Mesher::one_step()
In issue #2453:
> I am trying to mesh in the demo a given Polyhedron (the problem is the same with Surface_mesh with a very small tetrahedron size, and the output mesh is always more or less the same, with very few simplices compared to what I expect.

Actually, the demo uses a loop:
```C++
while( !mesher->is_algorithm_done() )
  mesher->one_step();
```

Because of that bug in `one_step()`, `is_algorithm_done()` could return
`true` even before the cells mesher level has scanned the triangulation
for bad cells. That will be fixed, now.
2017-09-22 16:27:46 +02:00
Laurent Rineau ef9dfe5a94 Revert changes to this file 2017-09-18 15:22:37 +02:00
Laurent Rineau aead611299 Revert "add cin to cut process into major operations for memory measuring"
This reverts commit 3a854cef72.
2017-09-18 15:20:37 +02:00
Laurent Rineau 8425cc01a9 Last fixes for BGL/Surface_mesh 2017-09-18 14:56:58 +02:00
Laurent Rineau f5a0f3a587 Add operator== to Primitive 2017-09-18 14:56:57 +02:00
Laurent Rineau 799666ca7a Duplicate the examples
Now we have a `Polyhedron_3` and a `Surface_mesh` version of the
following examples:

  - `examples/Mesh_3/mesh_polyhedral_complex.cpp`
  - `examples/Mesh_3/mesh_polyhedral_domain.cpp`
2017-09-18 14:56:57 +02:00
Laurent Rineau 578889e801 Fix compilation of mesh_polyhedral_domain.cpp with Polyhedron_3 2017-09-18 14:56:57 +02:00
Laurent Rineau ebf8db64e9 More BGL 2017-09-18 14:56:57 +02:00
Laurent Rineau 151be29572 No longer use Graph_with_descriptor_with_graph<SM>
The `Polyhedral_mesh_domain` template class, now uses a specific
`AABBPrimitive` type, when used with a `FaceGraph`.
2017-09-18 14:56:57 +02:00
Laurent Rineau d929e90423 add properties for `const Surface_mesh<P>`
For a const `Surface_mesh<P>`, one can call `property_map()` instead of
`add_property_map()`.
2017-09-18 14:56:56 +02:00
Laurent Rineau d666cfa011 Fix: initialize the vertex_feature_degree property map
This version of the code now compiles and runs correctly, but it still
uses a `Graph_with_descriptor_with_graph`.
2017-09-18 14:56:56 +02:00
Laurent Rineau 42ef37d773 Change the AABB tree of Side_of_triangle_mesh
That allows to use multiple face graph in the same AABB tree.
2017-09-18 14:56:56 +02:00
Laurent Rineau 9fa470c79f (!) Version that compiles, but does not work with multiple surfaces 2017-09-18 14:56:48 +02:00
Jane Tournois 3a854cef72 add cin to cut process into major operations for memory measuring 2017-09-18 14:48:51 +02:00
Jane Tournois ee7eb0ed5f attempt to use Surface_mesh in polyhedral complex example 2017-09-18 14:48:51 +02:00
Laurent Rineau 037cba3fae Merge pull request #2336 from maxGimeno/Detect_features-GF
PMP: Detect features
2017-09-18 14:29:55 +02:00
Maxime Gimeno 6f4b3c0c93 Fix travis error 2017-08-28 14:36:30 +02:00
Jane Tournois 1c7e171940 call get(property map) outside of function 2017-08-22 17:05:33 +02:00
Jane Tournois 1ce7ea7211 fix compilation error 2017-08-21 13:00:18 +02:00
Sebastien Loriot 97b8782a27 Merge branch 'master' into Detect_features-GF 2017-08-18 16:34:29 +02:00
Jane Tournois 126a85d863 use the fact that vertex_incident_pmap is an LValuePropertyMap
and add a missing 'const'
2017-08-18 16:14:22 +02:00
Jane Tournois 9eb349b472 minor indentation issues 2017-08-17 17:22:19 +02:00
Maxime Gimeno 43ff0d092c Implementation review Jane and sebastien 2017-08-11 15:30:03 +02:00
Maxime Gimeno 723492def1 Use existing named_parameters and vertex_incident_patches becomes lvaluepmap, 2017-08-10 15:16:27 +02:00
Maxime Gimeno 7d5226bba3 Another review pass. 2017-08-10 11:22:21 +02:00
Maxime Gimeno 1d497d09ff Fix warnings and error 2017-08-10 09:37:37 +02:00
Maxime Gimeno ffd95ac3a0 Add a line in the TriangleMesh definition of facets_in_complex_3_to_triangle_mesh() 2017-08-09 10:31:04 +02:00
Maxime Gimeno 56cb0a66a3 Changes after review 2017-08-09 10:31:04 +02:00
Maxime Gimeno 088934730b changes in the doc. 2017-08-09 10:31:04 +02:00
Maxime Gimeno 603ae0d9c6 Rename file to match doc 2017-08-09 10:31:04 +02:00
Maxime Gimeno bd425f35e6 Move doc file to subdir IO 2017-08-09 10:31:04 +02:00
Maxime Gimeno 593d7f6691 Use PMP::polygon_soup_to_polygon_mesh() in output_c3t3_to_facegraph() and adapt doc. 2017-08-09 10:31:04 +02:00
Maxime Gimeno d57be1d856 Add documentation and update changes.html 2017-08-09 10:31:04 +02:00
Maxime Gimeno fa598b70ab Add a file and a test to export a c3t3 to a facegraph. 2017-08-09 10:30:19 +02:00
Maxime Gimeno f670ffe4e2 detect_surface_patches uses connected_components 2017-08-09 10:24:48 +02:00
Maxime Gimeno 1fe1e21bb6 Replace maximum_surface_patch by first_index. 2017-08-07 13:32:02 +02:00
Maxime Gimeno 1bad0e7202 Use edges instead of halfedges for edge_is_feature_t and map 2017-08-07 11:39:07 +02:00
Maxime Gimeno d588c55bbb Make functions free functions and wright doc 2017-08-04 15:06:41 +02:00
Jane Tournois 3592718470 remove TriangleAccessor_3 from the doc of Polyhedral_mesh_domain_3 2017-08-03 17:16:57 +02:00
Jane Tournois d826147256 remove TriangleAccessor from polyhedral_mesh_complex 2017-08-03 17:15:43 +02:00