Sebastien Loriot
66441af8c6
Merge pull request #5566 from afabri/PMP-accelerate_Envelope-GF
...
PMP - Polyhedral Envelope : Make it faster by making combinatorial tests
2021-04-17 10:53:22 +02:00
Dmitry Anisimov
81513fc860
face descriptor is now stored in the candidate triangle to remember the realizing triangle
2021-04-16 18:15:07 +02:00
Dmitry Anisimov
56b77cfd9f
fixed match faces + removed small optimization (not sure about it)
2021-04-16 17:43:26 +02:00
Sébastien Loriot
33a9553a13
rename variables
2021-04-14 11:09:14 +02:00
Sébastien Loriot
05e4b56c88
group intersecting segment of planar faces into a unique Node_set_id
...
This makes the unordered_map change working for autoref
2021-04-14 10:19:38 +02:00
Jane Tournois
d61cf58f2f
add ISOLATED_CONSTRAINT halfedge status
...
this type is needed for edges that are part of the input constrained
edges property map, and are incident to a face to be remeshed only by a
vertex.
These edges contribute to creating corner vertices (incident to >= 3
constrained edges), but should still not be considered as patch borders
without dealing with these "isolated constraints", the corner vertices that
are incident to 2 patch borders and 1 of these edges was not considered
as a corner but as a simple patch border vertex, hence it could be
moved/deleted by a collapse or relaxation steps
2021-04-13 15:20:21 +02:00
Sébastien Loriot
0e6754b15e
typos
2021-04-10 09:19:46 +02:00
Dmitry Anisimov
ddb8c6a9ff
fewer candidate triangles for distance > 0
2021-04-09 18:48:15 +02:00
Dmitry Anisimov
50fc1cabd9
faster queries for close meshes, now traversal traits initial bounds depend on error_bound
2021-04-09 18:19:54 +02:00
Dmitry Anisimov
95f124fd30
added missing ref
2021-04-09 16:50:34 +02:00
Dmitry Anisimov
4d107b3b8d
using std priority queue instead of boost heap
2021-04-09 16:34:03 +02:00
Dmitry Anisimov
63db510aef
epeck support, fixed bug with infinity value
2021-04-09 16:03:55 +02:00
Dmitry Anisimov
dc9e958503
removed some asserts and types, added const, make it compile with epeck, but epeck gives wrong results
2021-04-09 12:35:18 +02:00
Dmitry Anisimov
410b03bc1f
added z-shaped test
2021-04-09 10:46:01 +02:00
Dmitry Anisimov
a255f692dc
matching faces finished, still needs several more tests
2021-04-08 17:07:13 +02:00
Dmitry Anisimov
ffc8953a42
caching data
2021-04-08 16:25:38 +02:00
Dmitry Anisimov
0333778b96
added face matching, not finished
2021-04-08 16:22:32 +02:00
Andreas Fabri
e0985c4daf
PMP Corefinement: Replace containters to make it faster
2021-04-08 11:40:19 +01:00
Jane Tournois
371706e92a
Merge remote-tracking branch 'cgal/master' into PMP-isotropic_remeshing_collapse_step-jtournois
...
# Conflicts:
# Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/Isotropic_remeshing/remesh_impl.h
2021-04-08 11:11:51 +02:00
Sebastien Loriot
dfe70d17e7
Fix typo
2021-04-08 08:56:54 +02:00
Sébastien Loriot
d8cdbbdc28
avoid an extra is-degenerate test
2021-04-07 15:10:32 +02:00
Sébastien Loriot
5b554abce8
add named parameter for triangle soup
2021-04-07 14:52:51 +02:00
Dmitry Anisimov
dfd2e15066
Merge remote-tracking branch 'maxGimeno/PMP-compare_faces_from_meshes-maxGimeno' into gsoc2019-PMPHDist-martinskrodzki
2021-04-07 13:54:02 +02:00
Dmitry Anisimov
841ad3b8b1
fixed bug introduced in 2d4c254
2021-04-07 13:53:10 +02:00
Dmitry Anisimov
f8f37393f3
fixed warnings
2021-04-07 12:44:17 +02:00
Laurent Rineau
1b54449dc5
Merge pull request #4878 from danston/Kernels-decltypes-danston
...
Improve decltype/result_of/invoke_result
2021-04-06 15:13:21 +02:00
Laurent Rineau
58ddf16295
Merge pull request #5507 from afabri/PMP-vtune_isotropic_remeshing-GF
...
PMP: Accelerate isotropic remeshing
2021-04-06 15:13:11 +02:00
Laurent Rineau
791d4abfec
Merge pull request #5555 from sloriot/PMP-exception_inheritance
...
Inherit from a std exception
2021-04-06 15:12:55 +02:00
Laurent Rineau
9b442d1595
Merge pull request #5570 from MaelRL/PMP-Repair_PS_invalid_polygons_speed_up-GF
...
Speed up invalid polygon removal in repair_PS
2021-04-06 15:12:47 +02:00
Laurent Rineau
a11a7578f6
Merge pull request #5570 from MaelRL/PMP-Repair_PS_invalid_polygons_speed_up-GF
...
Speed up invalid polygon removal in repair_PS
2021-04-06 15:11:41 +02:00
Sébastien Loriot
b7bafa1a34
do not build vector if not needed
2021-04-03 11:22:14 +02:00
Sébastien Loriot
dd19b506ed
first version to add epsilon per face
2021-04-03 11:14:15 +02:00
Andreas Fabri
c97d3ffb65
Take into account that obtuse vertices are not clipped.
2021-04-01 16:47:07 +01:00
Andreas Fabri
6c4835f8db
Introduce a struct for Prism so that we can also store which corner is obtuse
2021-04-01 15:35:16 +01:00
Maxime Gimeno
34e2180b22
rename match_faces
2021-04-01 13:50:41 +02:00
Mael Rouxel-Labbé
dc854d8088
Use std::remove_if to speed-up invalid polygon removal
2021-03-31 11:54:38 +02:00
Andreas Fabri
ebbe978291
Do not test combinations of planes where we know that there is no intersection point
2021-03-30 13:56:28 +01:00
Sébastien Loriot
e3b0302b2b
inherit from a std exception
2021-03-26 09:53:29 +01:00
Maxime Gimeno
ca5867f172
Changes after review
2021-03-25 13:27:16 +01:00
Laurent Rineau
79ba1af61f
Merge pull request #5492 from sloriot/PMP-coref_full_edge_visitor
...
Add missing visitor calls for the output_builder part
2021-03-24 15:05:24 +01:00
Maxime Gimeno
9e6eaa504a
Orientation requirements always on, as it won't work without it on non triangle meshes
2021-03-23 13:43:49 +01:00
Maxime Gimeno
5f4437bef1
Fix missing inline and doc
2021-03-23 12:43:53 +01:00
Maxime Gimeno
c3036b1e3e
clean-up
2021-03-23 12:12:45 +01:00
Maxime Gimeno
cc4d274399
Clarify np
2021-03-23 12:10:34 +01:00
Maxime Gimeno
277117613b
Add a NP for orientation requirement
2021-03-23 11:49:47 +01:00
Maxime Gimeno
aa2b527156
Fix holes situation
2021-03-23 11:13:47 +01:00
Maxime Gimeno
8f92a01b12
clean-up
2021-03-23 10:38:19 +01:00
Maxime Gimeno
dd90a3ce84
OutputIterators
2021-03-23 10:17:39 +01:00
Maxime Gimeno
8c5fcd9209
Replace by bitset
2021-03-23 09:45:48 +01:00
Maxime Gimeno
27701711e7
Only 2 loops for faces
2021-03-23 09:25:06 +01:00
Jane Tournois
f9eb2439bd
Merge branch 'PMP-isotropic_remeshing_collapse_step-jtournois' of github.com:janetournois/cgal into PMP-isotropic_remeshing_collapse_step-jtournois
2021-03-22 16:50:00 +01:00
Jane Tournois
a79fe08fcf
Merge remote-tracking branch 'cgal/master' into PMP-isotropic_remeshing_collapse_step-jtournois
2021-03-22 16:46:08 +01:00
Maxime Gimeno
22e13faee9
1st pass after review
2021-03-22 16:28:10 +01:00
Maxime Gimeno
c1895e74b6
mutbale ranges in doc
2021-03-22 14:59:40 +01:00
Maxime Gimeno
7d4a661671
Overloads, plugin and data sets
2021-03-22 14:59:01 +01:00
Maxime Gimeno
67aaf04a0a
doc + example + tests
2021-03-22 14:02:18 +01:00
Sébastien Loriot
f5a6ff424e
collect face incident to edges too
2021-03-19 14:47:54 +01:00
Maxime Gimeno
d33a3622c8
Fix namespace error in Triangulate_hole_polyline.h
2021-03-19 13:51:27 +01:00
Maxime Gimeno
735567531b
RENAME
2021-03-19 12:00:08 +01:00
Jane Tournois
109a893657
remove #ifdef that should be defined
2021-03-19 11:30:05 +01:00
Dmitry Anisimov
00c185b028
Merge branch 'master' into Kernels-decltypes-danston
2021-03-12 12:06:20 +01:00
Andreas Fabri
da17681a06
Avoid computing degree several times
2021-03-10 15:28:56 +00:00
Laurent Rineau
b2ed4e5f7e
Merge pull request #5423 from afabri/PMP-corefine_OM-GF
...
PMP:: Use operator< instead of operator> as OM only implements the former
Conflicts:
Polygon_mesh_processing/examples/Polygon_mesh_processing/corefinement_consecutive_bool_op.cpp
Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/Corefinement/intersection_impl.h
2021-03-10 11:33:30 +01:00
Laurent Rineau
4dc8a341f9
Merge pull request #5423 from afabri/PMP-corefine_OM-GF
...
PMP:: Use operator< instead of operator> as OM only implements the former
2021-03-10 10:33:17 +01:00
Andreas Fabri
cea8cca6af
WIP: less computations of degree
2021-03-09 15:45:18 +00:00
Andreas Fabri
45265a7e34
Replace vector with optional by two vectors. No idea what is better yet
2021-03-04 10:46:46 +00:00
Andreas Fabri
2e3bfa8743
Reduce calls to target @sloriot please double check the correctness
2021-03-04 09:27:05 +00:00
Sébastien Loriot
0710924d3b
accomodate is_badly_shape API update
2021-03-04 09:34:40 +01:00
Sébastien Loriot
a4669bc39f
Merge remote-tracking branch 'cgal/master' into HEAD
2021-03-04 09:34:26 +01:00
Laurent Rineau
fb00e173d6
Merge pull request #5405 from maxGimeno/PMP-Move_operations_for_collision_detector-maxGimeno
...
PMP Move assign for Rigid_triangle_mesh_collision_detection
2021-03-03 17:33:12 +01:00
Laurent Rineau
83244deabb
Merge pull request #5429 from sloriot/PMP-coref_face_patch_init
...
Corefine: always init faces of patches
2021-03-03 17:33:02 +01:00
Laurent Rineau
dcf9dfd0fe
Merge pull request #5435 from afabri/Intersect_3-fix_isocuboid_plane-GF
...
Intersect_3: Fix Iso_cuboid_3/Plane_3 and Tetrahedon_/Plane_3 intersection using PMP::clip internal function
# Conflicts:
# Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/clip.h
2021-03-03 17:30:04 +01:00
Laurent Rineau
adc8d9b686
Merge pull request #5442 from MaelRL/PMP-stitch_borders_reintroduce_zipping-GF
...
Re-introduce some kind of zipping as a first step to boundary cycle stitching
2021-03-03 17:29:45 +01:00
Laurent Rineau
8f9009e793
Merge pull request #5476 from sloriot/PMP-needle_caps_ecm_bug
...
PMP: Remove needles&caps fixes
2021-03-03 17:21:38 +01:00
Laurent Rineau
ea7fa2dada
Merge pull request #5480 from afabri/Filtered_kernel-Document_functor_for_Envelope-GF
...
Kernel_23: Rename internal function and functor
2021-03-03 17:21:35 +01:00
Laurent Rineau
15263250a4
Merge pull request #5485 from danston/PMP-tbb_exception_fix-danston
...
Use TBB captured exception in PMP
2021-03-03 17:21:31 +01:00
Laurent Rineau
fd353e84e9
Merge pull request #5509 from sloriot/PMP-coref_robust_side_of
...
Robustify internal side-of-triangle-mesh calls
2021-03-03 17:18:11 +01:00
Laurent Rineau
325436540f
Merge pull request #5429 from sloriot/PMP-coref_face_patch_init
...
Corefine: always init faces of patches
2021-03-03 17:10:16 +01:00
Laurent Rineau
3c3dad3243
Merge pull request #5435 from afabri/Intersect_3-fix_isocuboid_plane-GF
...
Intersect_3: Fix Iso_cuboid_3/Plane_3 and Tetrahedon_/Plane_3 intersection
2021-03-03 16:56:31 +01:00
Laurent Rineau
b5e6ef261f
Merge pull request #5442 from MaelRL/PMP-stitch_borders_reintroduce_zipping-GF
...
Re-introduce some kind of zipping as a first step to boundary cycle stitching
2021-03-03 16:39:54 +01:00
Laurent Rineau
e522630610
Merge pull request #5476 from sloriot/PMP-needle_caps_ecm_bug
...
PMP: Remove needles&caps fixes
2021-03-03 16:34:46 +01:00
Laurent Rineau
7e61495ef5
Merge pull request #5429 from sloriot/PMP-coref_face_patch_init
...
Corefine: always init faces of patches
2021-03-03 16:31:17 +01:00
Laurent Rineau
2800c8c587
Merge pull request #5435 from afabri/Intersect_3-fix_isocuboid_plane-GF
...
Intersect_3: Fix Iso_cuboid_3/Plane_3 and Tetrahedon_/Plane_3 intersection
2021-03-03 16:31:15 +01:00
Andreas Fabri
dad0287b69
Remove trailing whitespace
2021-03-03 14:34:56 +00:00
Andreas Fabri
82e5b3a02d
Do not collect in a vector per patch, but do the tests directly (@janetournois please double-check this commit)
2021-03-03 14:23:56 +00:00
Sébastien Loriot
fa47c35271
remove unused variable
2021-03-03 08:28:28 +01:00
Andreas Fabri
22789f6f6b
Replace geometric by combinatorial test
2021-03-02 21:56:54 +00:00
Sébastien Loriot
c1dcaac020
remove TODOs
2021-03-02 16:21:06 +01:00
Sébastien Loriot
313f682b8c
use custom functor for bbox and split primitives
...
aabb tree build runtime is similar to using EPICK
2021-03-02 16:16:07 +01:00
Andreas Fabri
5e2a580551
map -> unordered_map
2021-03-02 13:17:53 +00:00
Andreas Fabri
10f454d983
reserve(8) for incident faces to a vertex
2021-03-02 13:09:45 +00:00
Andreas Fabri
19e5e4a16e
Use flaat_set and put it outside the loop
2021-03-02 12:25:28 +00:00
Sébastien Loriot
20865d2544
robustify side_of test
2021-02-26 15:46:01 +01:00
Dmitry Anisimov
a1edfa76db
fixed tbb warning
2021-02-25 12:05:56 +01:00
Dmitry Anisimov
4e911a4be0
fixed syntax error
2021-02-25 10:22:17 +01:00
Sébastien Loriot
c0a90c101b
doc update + missing renaming
2021-02-24 17:05:58 +01:00
Sébastien Loriot
e2a80611ce
complete the visitor for edge creation/copies
2021-02-24 16:53:20 +01:00
Dmitry Anisimov
9db3cdb22f
use tbb captured_exception only on the x86_64 platforms
2021-02-24 11:08:44 +01:00
Dmitry Anisimov
688e76f70a
Update Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/self_intersections.h
...
Co-authored-by: Laurent Rineau <Laurent.Rineau@cgal.org>
2021-02-23 14:05:29 +01:00
Dmitry Anisimov
c63741dbb6
better tbb exception
2021-02-23 12:40:18 +01:00
Dmitry Anisimov
e16e773fb8
fixed exception handling
2021-02-22 17:37:57 +01:00
Mael Rouxel-Labbé
abe1f6e577
Misc cleaning
2021-02-22 16:51:35 +01:00
Mael Rouxel-Labbé
b3d7977fac
Fix boundary cycle zipping not updating its representative
2021-02-22 16:50:52 +01:00
Dmitry Anisimov
c0627fc05f
cleaner solution using std exception
2021-02-22 16:45:10 +01:00
Dmitry Anisimov
99f8843197
in case tbb is on, we use tbb captured execption in pmp
2021-02-22 15:19:58 +01:00
Sébastien Loriot
85a9962892
2 fixes:
...
- an edge cannot be collapsed if both its endpoints are constrained -> allow cap classification
- an edge with two constrained endpoints can be flipped (if not constrained)
2021-02-22 14:50:41 +01:00
Andreas Fabri
d5a5b20ce8
Make it clear that the functor is not part of the Kernel concept
2021-02-19 20:23:20 +00:00
Mael Rouxel-Labbé
68f53bc518
Clean preconditions of is_needle/cap
2021-02-19 18:04:58 +01:00
Mael Rouxel-Labbé
8afeab71e7
Various fixes for PMP::remove_almost_degenerate_faces
...
See https://github.com/CGAL/cgal/pull/5476
2021-02-19 18:02:15 +01:00
Mael Rouxel-Labbé
aacd453965
Do not stitch two halfedges if both are incident to the same degenerate face
2021-02-19 17:38:34 +01:00
Sébastien Loriot
a75ad50a31
allow to handle a triangle as a cap if the collapse_length_threshold is not met
2021-02-19 16:53:01 +01:00
Sébastien Loriot
b5277495e2
remove no longer needed variables
2021-02-19 16:10:32 +01:00
Sébastien Loriot
7ab4a8f6a2
handle constrained edges removed upon collapse
2021-02-19 14:38:20 +01:00
Sébastien Loriot
6e4b5ead81
use new macros
2021-02-19 13:44:51 +01:00
Sébastien Loriot
35387df806
do not document all overloads
2021-02-19 13:37:28 +01:00
Sébastien Loriot
0d698f1bfc
update header
2021-02-19 13:13:42 +01:00
Sébastien Loriot
5d0d98f35e
add missing parameter not added in 2d4c254362 ?
2021-02-19 11:24:41 +01:00
Sébastien Loriot
8abb285302
post merge/cgal update fixes
2021-02-19 11:13:16 +01:00
Sébastien Loriot
20661527bd
Merge branch 'martinskrodzki/gsoc2019-PMPHDist-martinskrodzki' into master
2021-02-19 10:58:11 +01:00
Laurent Rineau
1a040c8552
Merge pull request #4749 from danston/Polygon_mesh_processing-triangulate_hole_with_cdt2-danston
2021-02-19 07:59:59 +01:00
Laurent Rineau
c70da09776
Merge pull request #5049 from sloriot/PMP-corefine_non_manifold
...
corefine with non manifold edges
2021-02-18 15:26:56 +01:00
Laurent Rineau
77466bc60e
Merge pull request #5295 from barcode/Side_of_triangle_mesh_move_ctor_move_assign
...
Add move ctor and move assign to Side_of_triangle_mesh
2021-02-18 15:26:46 +01:00
Sébastien Loriot
692f35a62d
fix warnings
2021-02-15 17:17:20 +01:00
Dmitry Anisimov
c970c4a758
removed unused Point_3 type in PMP
2021-02-11 09:48:27 +01:00
Dmitry Anisimov
81d9556707
Merge remote-tracking branch 'upstream/master' into Kernels-decltypes-danston
2021-02-10 10:06:45 +01:00
Sébastien Loriot
a595e529c5
remove edge map and inter pt set
2021-02-09 18:43:05 +01:00
Mael Rouxel-Labbé
f55d586d9d
Re-introduce some kind of zipping as a first step to boundary cycle stitching
...
Zipping was removed when local stitching was introduced, and a common interface
between stitching-within-a-cycle and normal-stitching was introduced.
However, that common interface does not handle any non-manifold configuration,
even if it's a folded cycle with obvious stitching (consecutive equal edges).
So, some kind of zipping is re-added. It is cheap anyway
(compared to e.g. calling PMP::connected_components on the whole mesh).
2021-02-08 15:50:48 +01:00
Maxime Gimeno
564e4a1d9f
Fix
2021-02-08 10:24:40 +01:00
Laurent Rineau
41765b6a26
Merge pull request #5377 from sloriot/PMP-typo
...
Remove extra p
2021-02-05 16:10:22 +01:00
Laurent Rineau
9986b1c151
Merge pull request #5424 from sloriot/PMP-hole_filling_no_warnings
...
Do not emit warning as hole filling can fail
2021-02-05 16:09:51 +01:00
Laurent Rineau
8c86a6a858
Merge pull request #5377 from sloriot/PMP-typo
...
Remove extra p
2021-02-05 16:07:20 +01:00
Laurent Rineau
a4bbce7f7a
Merge pull request #5424 from sloriot/PMP-hole_filling_no_warnings
...
Do not emit warning as hole filling can fail
2021-02-05 16:07:09 +01:00
Laurent Rineau
11939d830f
Merge pull request #5377 from sloriot/PMP-typo
...
Remove extra p
2021-02-05 16:05:48 +01:00
Dmitry Anisimov
8914b2fc82
Update Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/triangulate_hole.h
...
Co-authored-by: Sebastien Loriot <sloriot.ml@gmail.com>
2021-02-05 14:43:29 +01:00
Sebastien Loriot
c30056b126
use move assignment
2021-02-05 13:51:21 +01:00
Sébastien Loriot
2510571448
always init faces of patches
2021-02-04 17:00:48 +01:00
Andreas Fabri
96769b2873
Use 2 template parameters so that it matches for a handle and a smart handle
2021-02-03 12:38:25 +00:00
Sébastien Loriot
22724728e7
do not emit warning as hole filling can fail
2021-02-03 12:48:50 +01:00
Andreas Fabri
cd70b9b172
Use operator< instead of operator> as OM only implements the former
2021-02-03 10:46:28 +00:00
Maxime Gimeno
a0686c10ec
use *this = std::move(other);
2021-01-28 12:21:57 +01:00
Maxime Gimeno
63fe0dc17a
clean-up
2021-01-28 12:00:40 +01:00
Maxime Gimeno
5039f813ae
Add move assign to Rigid_triangle_mesh_collision_detection
2021-01-28 11:21:32 +01:00
Dmitry Anisimov
b2861aefa3
fixed warning with Vector 3 type
2021-01-28 10:57:01 +01:00
Sébastien Loriot
71ae816bfa
Merge remote-tracking branch 'cgal/master' into PMP-corefine_non_manifold
2021-01-27 13:46:09 +01:00
Dmitry Anisimov
56a0cb15e4
added missing type
2021-01-26 10:48:17 +01:00
Dmitry Anisimov
3551d0224b
fixed IO interface + the bug with misplaced assertions
2021-01-26 10:38:03 +01:00
Laurent Rineau
9ef6fc3182
Merge pull request #5330 from sloriot/PMP-hard_coded_EK
...
remove hardcoded kernel
2021-01-21 16:23:19 +01:00
Laurent Rineau
1fbc6ec52b
Merge pull request #5330 from sloriot/PMP-hard_coded_EK
...
remove hardcoded kernel
2021-01-21 16:19:06 +01:00
Sébastien Loriot
4ef0295891
typo
2021-01-20 15:53:52 +01:00
Sébastien Loriot
ad911271a9
Merge commit '6594e7549bd70923990d86c31e2aa267a79bb629' into HEAD
2021-01-15 10:12:17 +01:00
Sébastien Loriot
bdd4efe3b3
Merge commit 'efc0c525e8b' into HEAD
2021-01-15 10:06:56 +01:00
Sébastien Loriot
efc0c525e8
include non-deprecated header
2021-01-15 10:02:00 +01:00
Dmitry Anisimov
f7abb6c343
Merge branch 'master' into Polygon_mesh_processing-triangulate_hole_with_cdt2-danston
2021-01-14 17:23:24 +01:00
Dmitry Anisimov
c657451934
Merge branch 'master' into Polygon_mesh_processing-triangulate_hole_with_cdt2-danston
2021-01-14 10:38:51 +01:00
Sébastien Loriot
ffc16da931
close stream
2021-01-13 13:50:32 +01:00
Maxime Gimeno
cf19fb2df9
Fixes
2021-01-08 09:35:35 +01:00
Maxime Gimeno
3d1c41fd14
Merge remote-tracking branch 'cgal/master' into CGAL_IO-maxGimeno
2021-01-07 15:05:28 +01:00
Laurent Rineau
85325d789f
Merge pull request #5090 from afabri/FastEnvelope-GF
...
Polygon Mesh Processing: Add envelope test
2021-01-06 16:11:56 +01:00
Laurent Rineau
f33f3f5d7c
Merge pull request #5256 from sloriot/PMP-improve_isotropic_remeshing
...
TIny improvement of surface isotropic remeshing
2021-01-06 16:11:40 +01:00
Sébastien Loriot
925abf284d
expose type
2021-01-06 14:26:11 +01:00
Sébastien Loriot
e63b032979
remove hardcoded kernel
2021-01-06 13:26:58 +01:00
Sébastien Loriot
02db50ae4f
fix warnings
2021-01-04 10:36:14 +01:00
Andreas Fabri
404ee465df
Address VC++ warnings
2021-01-04 09:16:30 +00:00
Andreas Fabri
8ae9070e5d
Fix warnings
2020-12-30 09:06:19 +00:00
Raphael Grimm
c395a5d3f7
Add std::move to all members
2020-12-18 10:54:42 +01:00
Raphael Grimm
7bd2923bc3
Remove BOOST_NO_CXX11_RVALUE_REFERENCES
2020-12-18 10:31:18 +01:00
Raphael Grimm
f3330b91d6
Add move ctor and move assign to Side_of_triangle_mesh
2020-12-18 08:59:24 +01:00
Laurent Rineau
4b42d4b555
Merge pull request #5286 from janetournois/PMP-isotropic_remeshing_fix_is_corner-jtournois
...
PMP::isotropic_remeshing - fix is_corner(v)
2020-12-17 17:03:13 +01:00
Laurent Rineau
1357ebc0c1
Merge pull request #5286 from janetournois/PMP-isotropic_remeshing_fix_is_corner-jtournois
...
PMP::isotropic_remeshing - fix is_corner(v)
2020-12-17 17:02:46 +01:00
Laurent Rineau
6f8f790ae9
Merge pull request #5286 from janetournois/PMP-isotropic_remeshing_fix_is_corner-jtournois
...
PMP::isotropic_remeshing - fix is_corner(v)
2020-12-17 17:02:29 +01:00
Jane Tournois
0be31d5440
Revert "skip the null face when checking for self-intersections in a face range"
...
This reverts commit 9ba6ac4929 .
2020-12-17 10:15:59 +01:00
Laurent Rineau
ec4768468f
Merge pull request #5263 from MaelRL/PMP-Fix_remove_degenerate_edges_mutated_loop-GF
...
Fix multiples calls to degenerate_edges() with an invalid input range
2020-12-16 17:49:12 +01:00
Laurent Rineau
f612716d34
Merge pull request #5263 from MaelRL/PMP-Fix_remove_degenerate_edges_mutated_loop-GF
...
Fix multiples calls to degenerate_edges() with an invalid input range
2020-12-16 17:47:50 +01:00
Jane Tournois
1afacb1d0b
is_corner(v) should count both incoming and outgoing halfedges around v
2020-12-15 17:39:10 +01:00
Mael Rouxel-Labbé
136ddee8da
Do not use the iterator after its deletion
2020-12-15 16:13:00 +01:00
Jane Tournois
fab3f8a55b
move pid to where it is actually needed
2020-12-11 15:24:52 +01:00
Jane Tournois
9ba6ac4929
skip the null face when checking for self-intersections in a face range
2020-12-11 15:23:41 +01:00
Jane Tournois
d984905e2e
rename function for code readability
2020-12-11 15:00:27 +01:00
Jane Tournois
a42b4326a9
improve flipping step
...
add another criterion to decide whether to flip or not
is_badly_shaped detects caps and needles
2020-12-11 14:51:46 +01:00
Mael Rouxel-Labbé
818037a0ce
Fix multiples calls to degenerate_edges() with an invalid input range
2020-12-10 17:34:55 +01:00
Sébastien Loriot
7c7d9c0755
add missing requirement
2020-12-10 12:23:26 +01:00
Sébastien Loriot
bd05e06b48
use patch_id_to_index_map
2020-12-10 12:19:43 +01:00
Sébastien Loriot
876a40afe5
do not test faces outside of the patches considered
2020-12-10 12:07:06 +01:00
Maxime Gimeno
1d98f0f71d
Merge remote-tracking branch 'cgal/master' into CGAL_IO-maxGimeno
2020-12-09 14:40:02 +01:00
Sébastien Loriot
ba0b215335
replace multimap by vector of vector
2020-12-08 17:14:05 +01:00
Sébastien Loriot
6e782ef0ee
call reserve
2020-12-08 16:26:13 +01:00
Sébastien Loriot
06ac504bec
fix indentation
2020-12-08 16:21:01 +01:00
Sébastien Loriot
a31ccc4a2d
remove property map
2020-12-08 16:19:07 +01:00
Sébastien Loriot
0d480ca612
use vectors instead of maps
2020-12-08 16:07:08 +01:00
Sébastien Loriot
08eeacca8b
Merge remote-tracking branch 'cgal/master' into FastEnvelope-GF
2020-12-07 16:40:34 +01:00
Dmitry Anisimov
c2085ea36c
Merge branch 'master' into Polygon_mesh_processing-triangulate_hole_with_cdt2-danston
2020-12-04 18:32:25 +01:00
Laurent Rineau
81336ab612
Merge pull request #5225 from albert-github/feature/bug_missing_End
...
Missing \cgalParamEnd
2020-12-04 17:15:52 +01:00
Laurent Rineau
3eed365417
Merge pull request #5228 from MaelRL/PMP-Add_missing_include_pm2ps-GF
...
PMP: Add missing header include (PM to PS)
2020-12-04 17:15:43 +01:00
Laurent Rineau
a2140d8263
Merge pull request #5228 from MaelRL/PMP-Add_missing_include_pm2ps-GF
...
PMP: Add missing header include (PM to PS)
2020-12-04 17:08:22 +01:00
Sébastien Loriot
2e56e8d298
dump all debug prims in a single file (easier to load)
2020-12-03 19:29:42 +01:00
Sébastien Loriot
294b9cf1e3
empty() -> is_empty()
2020-12-03 18:55:05 +01:00
Sébastien Loriot
698eca8698
use std + make it work with EPECK
2020-12-03 18:54:38 +01:00
Sébastien Loriot
1aed8bad83
add soup as query
2020-12-03 15:37:38 +01:00
Sébastien Loriot
5b3c3eaeba
remove old copy/paste
2020-12-03 10:54:23 +01:00
Sébastien Loriot
5f6dca4738
add an option to refuse a repair that is too far from the input
...
using Polyhedral_envelope
2020-12-03 10:43:03 +01:00
Sébastien Loriot
37218729f4
add move assignment and move constructor
2020-12-03 10:23:49 +01:00
Andreas Fabri
6046432534
Add a mesh in envelope test
2020-12-03 07:58:33 +00:00
Sébastien Loriot
3463501b4d
add more operator()
2020-12-02 18:21:11 +01:00
Sébastien Loriot
e8b68a3de8
dump prims at the end of init
2020-12-02 18:16:38 +01:00
Sébastien Loriot
fd8d9eed31
fix copy-paste error: do not copy all vertices
2020-12-02 18:14:56 +01:00
Sébastien Loriot
3778b0c3c3
add default constructor
2020-12-02 18:14:18 +01:00
Sébastien Loriot
1f5a1cb314
link to user manual
2020-12-02 09:49:53 +01:00
Sébastien Loriot
f76c5f9595
doc that triangle soup can be used too as input
2020-12-02 09:40:05 +01:00
Sébastien Loriot
87f0b49b11
remove extra template parameter
2020-12-01 18:17:03 +01:00
Mael Rouxel-Labbé
47df5dc4df
Add missing header include
2020-11-30 18:00:41 +01:00
albert-github
44fdd8bda6
Missing \cgalParamEnd
...
A missing `\cgalParamEnd` results in incorrect HTML code (i.e. `</div>` is missing, but which is still shown correctly)
2020-11-30 14:45:14 +01:00
Sébastien Loriot
118b904429
document triangle soup constructor
2020-11-27 16:02:22 +01:00
Sébastien Loriot
dbaf546a2f
vector -> range
2020-11-27 16:02:06 +01:00
Sébastien Loriot
3e51ef97d6
use Oriented_side
2020-11-27 15:24:48 +01:00
Sébastien Loriot
2677630c84
remove experimental code
2020-11-27 15:13:35 +01:00
Sébastien Loriot
1d7c778b17
avoid signed vs unsigned int warnings
2020-11-27 15:10:43 +01:00
Sébastien Loriot
4a0b162b95
handle unused variable warnings
2020-11-27 14:53:22 +01:00
Sébastien Loriot
8c69ced9fb
fix misleading braces
2020-11-27 14:34:36 +01:00
Sébastien Loriot
41a9ac9f26
use unsigned int in loops to avoid conversion warnings
2020-11-27 14:29:17 +01:00
Sébastien Loriot
2625934503
add constructor with a range of faces
2020-11-27 14:08:55 +01:00
Sébastien Loriot
5fa89e2fd2
fix constructor in case the mesh contains garbarge vertices
...
remove the need for a vertex index map
2020-11-27 14:08:05 +01:00
Sébastien Loriot
cde45d2405
Merge remote-tracking branch 'cgal/master' into PMP-corefine_non_manifold
2020-11-27 10:22:24 +01:00
Sébastien Loriot
feb5ed87fd
export the handling of extra terminal node in a class template (with specialization for autoref)
2020-11-26 18:31:24 +01:00
Sébastien Loriot
172b16bf09
really split the intersection graph at node where the intersection polylines ...
...
... goes from the interior of a mesh onto its boundary
The patch is not yet valid for autorefinement
2020-11-26 14:10:53 +01:00
Andreas Fabri
9b794b2fa4
Update Polygon_mesh_processing/include/CGAL/Polyhedral_envelope.h
...
Co-authored-by: Sebastien Loriot <sloriot.ml@gmail.com>
2020-11-26 10:38:30 +01:00
Andreas Fabri
2f9de520b3
Update Polygon_mesh_processing/include/CGAL/Polyhedral_envelope.h
...
Co-authored-by: Sebastien Loriot <sloriot.ml@gmail.com>
2020-11-26 10:10:15 +01:00
Andreas Fabri
80bfe829ca
Update Polygon_mesh_processing/include/CGAL/Polyhedral_envelope.h
...
Co-authored-by: Sebastien Loriot <sloriot.ml@gmail.com>
2020-11-26 10:10:02 +01:00
Andreas Fabri
e36f34ad52
Update Polygon_mesh_processing/include/CGAL/Polyhedral_envelope.h
...
Co-authored-by: Sebastien Loriot <sloriot.ml@gmail.com>
2020-11-26 10:09:53 +01:00
Andreas Fabri
4722ed66db
Update Polygon_mesh_processing/include/CGAL/Polyhedral_envelope.h
...
Co-authored-by: Sebastien Loriot <sloriot.ml@gmail.com>
2020-11-26 10:09:36 +01:00
Andreas Fabri
b7a5dd9193
Update Polygon_mesh_processing/include/CGAL/Polyhedral_envelope.h
...
Co-authored-by: Sebastien Loriot <sloriot.ml@gmail.com>
2020-11-26 10:09:24 +01:00
Sébastien Loriot
4b26935ff5
fix boundary cases (regular and coplanar)
...
tests are updated as results were somehow invalid
2020-11-24 18:11:27 +01:00
Sébastien Loriot
f56cbecce9
add missing resize for autoref case
2020-11-23 16:36:05 +01:00
Andreas Fabri
56886962ce
typos
2020-11-20 10:43:14 +00:00
Maxime Gimeno
d80d2eebc8
put expensive tests in weight calculation in expensive_assertions
2020-11-19 16:57:34 +01:00
Andreas Fabri
6080b92f12
Favor earlier exit by reordering planes
2020-11-19 08:44:28 +00:00
Sébastien Loriot
cbc4360b43
better handling of setting of coplanar flag for patches
...
especially for connected components being entirely a coplanar patch
2020-11-17 15:01:24 +01:00
Maxime Gimeno
3b70343590
Merge remote-tracking branch 'cgal/master' into CGAL_IO-maxGimeno
2020-11-16 16:19:43 +01:00
Andreas Fabri
f246c4abf8
merge
2020-11-13 16:26:57 +00:00
Andreas Fabri
1b55b2823b
Fix license check
2020-11-13 16:12:38 +00:00
Sébastien Loriot
63ad707c02
correctly handle orientation of coplanar patches
2020-11-13 15:20:54 +01:00
Sébastien Loriot
aecc7c7ee7
improve debug
2020-11-10 14:44:32 +01:00
Sébastien Loriot
e86b24e2c4
add an np to filter some self-intersections
2020-11-10 13:46:22 +01:00
Andreas Fabri
ac1200fe28
Cleanup of GetFilter
2020-11-10 10:52:53 +00:00
Sébastien Loriot
06fbadbd10
add extra code to handle boundary conditions
2020-11-10 11:28:41 +01:00
Andreas Fabri
c510a89ea0
Improve doc
2020-11-10 09:59:01 +00:00
Sébastien Loriot
21f64efbdc
add non-documented visitor function calls
2020-11-09 18:25:13 +01:00
Laurent Rineau
b248867e91
Merge pull request #5141 from maxGimeno/Demo-Fix-clipping_plugin-maxGimeno
2020-11-09 17:10:24 +01:00
Andreas Fabri
40283b618d
Ignore degenerate faces
2020-11-09 08:42:19 +00:00
Andreas Fabri
5731813c19
Define polyhedral envelope
2020-11-06 12:44:53 +00:00
Andreas Fabri
45a24c2308
Duplicate a helper file in order to remove a dependency
2020-11-06 08:28:58 +00:00