Laurent Rineau
2766e1ff5d
Merge 'master' and fix conflicts
2018-05-28 16:40:09 +02:00
Andreas Fabri
c15306df4c
Put duplicated functors in an extra file
2018-05-23 11:48:58 +02:00
Andreas Fabri
8c41669fb7
move properties from Mesh_3 to BGL, Polyhedron_3 and Surface_mesh
2018-03-22 16:37:37 +01:00
Sébastien Loriot
483f69728e
Refresh branch
2018-02-12 22:21:38 +01:00
Laurent Rineau
66b19d9cb5
Merge pull request #2779 from lrineau/Mesh_3-fix_bugs-GF
...
Mesh_3: fix bugs in undocumented code
2018-02-02 16:07:53 +01:00
Laurent Rineau
f2bc9d6b62
Fix merge_duplicated_points
...
`Union_find` is required to merge correct patch ids.
2018-02-01 17:07:35 +01:00
Simon Giraudot
6269309d86
Use CGAL include for boost counting/transform iterators everywhere
2018-01-23 11:09:52 +01:00
Andreas Fabri
5efce459da
Mesh_3
2018-01-18 08:49:52 +00:00
Sébastien Loriot
ee57fc2d6c
add SPDX identifier for files under the GPL-3+ license
2017-11-12 10:17:51 +01:00
Jane Tournois
fb4f087317
fix conversion warning
2017-10-17 17:39:13 +02:00
Laurent Rineau
38548abc92
Fix the feature "several_vertices_on_patch"
...
For small bubbles, the set of 20 initial points was not at all
random (bad implementation).
2017-10-13 16:30:03 +02:00
Laurent Rineau
f3924fe8d6
curve segment -> curve
2017-10-13 15:59:48 +02:00
Laurent Rineau
4ff88c8220
Cosmetic
2017-10-13 15:57:02 +02:00
Laurent Rineau
8425cc01a9
Last fixes for BGL/Surface_mesh
2017-09-18 14:56:58 +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
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
9fa470c79f
(!) Version that compiles, but does not work with multiple surfaces
2017-09-18 14:56:48 +02:00
Maxime Gimeno
6f4b3c0c93
Fix travis error
2017-08-28 14:36:30 +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
Maxime Gimeno
43ff0d092c
Implementation review Jane and sebastien
2017-08-11 15:30:03 +02:00
Maxime Gimeno
1d497d09ff
Fix warnings and error
2017-08-10 09:37:37 +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
d826147256
remove TriangleAccessor from polyhedral_mesh_complex
2017-08-03 17:15:43 +02:00
Maxime Gimeno
95dfae314b
Rename file
2017-08-02 16:26:53 +02:00
Jane Tournois
0ca00822dc
fix warnings
...
about comparison signed/unsigned
2017-07-07 11:54:24 +02:00
Jane Tournois
433d154329
variable used only in verbose mode
2017-07-07 11:27:21 +02:00
Jane Tournois
b7597d90f7
rt.insert() takes a weighted point
...
fix compilation error
2017-07-07 10:56:17 +02:00
Jane Tournois
ca20cea4f2
fix compilation errors after rebase
2017-07-07 10:19:08 +02:00
Andreas Fabri
5dbe78d1ec
Remove typdef
2017-07-07 10:15:10 +02:00
Jane Tournois
63d793575d
typos in the doc
2017-07-07 10:15:10 +02:00
Jane Tournois
b47a4eec3e
Partially Revert "allow not to protect borders and sharp features in a polyhedral complex"
...
This reverts commit 087c6ab1f388febb8823c66eb9d05b9229a4af93.
We now use a const_cast to solve the problem of the reverted commit
2017-07-07 10:15:10 +02:00
Jane Tournois
8a36efa436
allow not to protect borders and sharp features in a polyhedral complex
...
we overload construct_initial_points_object() to fill internal data structures
of Polyhedral_complex_mesh_domain_3 in case they have not been initialized yet
there were a lot of constness issues to be solved, and most internal data
structures had to be made mutable.
It seems to be a better choice and exposing a non-const mesh domain in the
outer functions as init_c3t3() for example
2017-07-07 10:15:10 +02:00
Jane Tournois
b49bd34349
document the class, and set visible or not what should be
2017-07-07 10:15:10 +02:00
Jane Tournois
6692154562
doc : fix compilation, and add group
2017-07-07 10:15:10 +02:00
Jane Tournois
63cc93d15d
change some private to protected, and add a constructor
...
to be able to use the methods in a derived class
2017-07-07 10:15:10 +02:00
Jane Tournois
0a1f3ce326
use the typedef Polyhedron_type
2017-07-07 10:15:10 +02:00
Jane Tournois
db634d317e
deal with duplicated points
...
in some configurations where the input is non-manifold at a vertex,
there might be duplicated points.
When this happens, we want to merge the incident surface patches
to preserve meshing with the topology criterion from not terminating
2017-07-07 10:15:10 +02:00
Jane Tournois
06434bda1a
fix add_vertices_to_c3t3_on_patch_without_feature_edges(C3t3& c3t3)
...
the implementation was incomplete
2017-07-07 10:15:10 +02:00
Jane Tournois
8d54b6f970
remove functions that have become useless
...
because we do not restrict to cuboid-like domains,
we can use is_sharp, detect_sharp_edges, and detect_border_edges
from Detect_features_in_polyhedra instead of these specific implementations
2017-07-07 10:15:10 +02:00
Jane Tournois
9fc794ec14
add missing ref
2017-07-07 10:15:10 +02:00
Jane Tournois
82da7a8f61
write detect_borders() and detect_features()
...
as done in CGAL::Polyhedral_mesh_domain_with_features_3
2017-07-07 10:15:10 +02:00
Jane Tournois
80e3ce68dd
do not detect sharp features in constructor
...
and do not consider that sharp edges have to be on the bbox
2017-07-07 10:15:10 +02:00
Jane Tournois
675f54334b
add comments
2017-07-07 10:15:10 +02:00