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
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
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