Sébastien Loriot
d6d8fbeb8b
the placement must store the triangles has the AABB-tree does not copy them
2020-04-27 16:06:43 +02:00
Sébastien Loriot
3e75af4fcd
remove useless calls to accelerate_distance_queries
2020-04-23 17:00:12 +02:00
Mael Rouxel-Labbé
618a72b739
Merge remote-tracking branch 'cgal/master' into PMP-soup_to_mesh_add_vpm
2020-03-17 20:00:31 +01:00
Mael Rouxel-Labbé
ad62f89a20
Use the new index map initializer functions and fix doc
2020-03-06 15:25:38 +01:00
Mael Rouxel-Labbé
26463ded7a
Update NPs using default constructed default values to new API
...
+ misc cleaning
2020-02-28 11:55:17 +01:00
Mael Rouxel-Labbé
80f1583fa8
Minor doc improvements
2020-01-28 12:45:29 +01:00
Mael Rouxel-Labbé
46e7a8f930
Make it optional to pass the AABB tree
2020-01-28 12:45:29 +01:00
Mael Rouxel-Labbé
5ab92fef26
Keep the squared value in memory instead of recomputing it on every call
2020-01-28 12:45:29 +01:00
Mael Rouxel-Labbé
d556bcc5d6
Fix compilation / test
2020-01-28 12:45:29 +01:00
Mael Rouxel-Labbé
32e78834eb
Clean header
2020-01-28 12:45:29 +01:00
Sébastien Loriot
fd43d44fa5
do an initial try with the closest point since do_intersect is with a sphere and not a ball
2020-01-28 12:45:29 +01:00
Maxime Gimeno
a17c5b1eb2
Update
2020-01-28 12:45:29 +01:00
Maxime Gimeno
5907ec9a18
Add Policy for bounded distance placement
2020-01-28 12:45:29 +01:00
Maxime Gimeno
4351ecfb5e
Add test for bench
2020-01-28 12:45:29 +01:00
Mael Rouxel-Labbé
9a7c98f26c
Minor code fixes
2019-11-29 11:42:18 +01:00
Mael Rouxel-Labbé
6cbb0d0712
Make the VertexCostMap a member of the policy
...
If the dynamic property map isn't attached to the mesh, this could not
work previously.
2019-11-29 09:30:54 +01:00
Mael Rouxel-Labbé
55bb46a383
Use DontAlign property for garland heckbert matrices
...
See discussion in: https://github.com/CGAL/cgal/pull/4279
Initial warning: https://cgal.geometryfactory.com/CGAL/testsuite/results-5.1-Ic-11.shtml#Surface_mesh_simplification_Examples
2019-11-29 09:29:48 +01:00
Mael Rouxel-Labbé
5057df5cb7
Properly forward a parameter
2019-11-20 09:09:05 +01:00
Mael Rouxel-Labbé
0813fd740b
Move partial specializations outside of the Edge_collapse.h class
2019-11-19 11:04:14 +01:00
Mael Rouxel-Labbé
ddf9be579b
Fix conversion warnings
2019-11-15 11:44:04 +01:00
Mael Rouxel-Labbé
a0db18b0bb
Fix code typo
2019-11-15 11:43:49 +01:00
Mael Rouxel-Labbé
a1763c8789
Mark expensive assertions as expensive
2019-11-15 11:43:32 +01:00
Mael Rouxel-Labbé
11e49e817c
Fix compilation of SMS trace code
2019-11-15 11:17:19 +01:00
Mael Rouxel-Labbé
ea3736ab20
Fix using full specialization of functions within non namespace scopes
2019-11-15 11:11:04 +01:00
Mael Rouxel-Labbé
6f96731156
Fix header license text
2019-10-28 09:41:51 +01:00
Mael Rouxel-Labbé
ff09c5d0c8
Merge branch 'SMS-Add_GH_simplification-GF-old' into SMS-Add_GH_simplification-GF
2019-10-25 16:35:53 +02:00
Mael Rouxel-Labbé
1fc58a433f
misc code cleaning
2019-10-21 15:31:07 +02:00
Mael Rouxel-Labbé
9b30a557f8
Remove incorrect comment about null placements
2019-10-21 15:21:27 +02:00
Mael Rouxel-Labbé
7be4775087
Fix old assertion that had not been updated when constraints were introduced
2019-10-21 00:22:09 +02:00
Mael
082732ee59
Fix missing include
2019-10-20 01:37:45 +02:00
Mael Rouxel-Labbé
19c02bdd0b
Fix missing include
2019-10-19 18:06:05 +02:00
Mael Rouxel-Labbé
c488a14d96
Regroup both GH policies within a single class
...
Simpler API (users don't have to explicit the vertex cost map) + clearer
that they must go together.
2019-10-19 18:03:01 +02:00
Sébastien Loriot
c4c1a0b317
Remove license notice in headers manually
2019-10-19 16:00:05 +02:00
Sébastien Loriot
254d60f642
First pass on removing license notice in header for GPL files
2019-10-19 15:23:19 +02:00
Sébastien Loriot
7356421d80
introduce Commercial license SPDX tag
2019-10-19 12:15:19 +02:00
Mael Rouxel-Labbé
09bd731ff9
Finish documentation
2019-10-18 23:09:21 +02:00
Sébastien Loriot
9bd9c68b83
update LGPL[23]+ and GPL[23]+ SPDX tags
...
ack -l --no-svg "SPDX-License-Identifier: GPL-3.0\+" | xargs sed -i "s/SPDX-License-Identifier: GPL-3.0+/SPDX-License-Identifier: GPL-3.0-or-later/"
ack -l --no-svg "SPDX-License-Identifier: LGPL-3.0\+" | xargs sed -i "s/SPDX-License-Identifier: LGPL-3.0+/SPDX-License-Identifier: LGPL-3.0-or-later/"
ack -l --no-svg "SPDX-License-Identifier: GPL-2.0\+" | xargs sed -i "s/SPDX-License-Identifier: GPL-2.0+/SPDX-License-Identifier: GPL-2.0-or-later/"
ack -l --no-svg "SPDX-License-Identifier: LGPL-2.0\+" | xargs sed -i "s/SPDX-License-Identifier: LGPL-2.0+/SPDX-License-Identifier: LGPL-2.0-or-later/"
2019-10-18 21:57:54 +02:00
Mael Rouxel-Labbé
eb2942bc37
No more lies about the concept EdgeProfile, it does not exist.
...
Users cannot actually set any model, it is hardcoded to be SMS::Edge_profile
2019-10-17 16:19:47 +02:00
Mael Rouxel-Labbé
4ec28cb79b
Add a traits class member to Surface_mesh_simplification
...
Can be passed via named parameters, must be compatible with the VPM
2019-10-17 15:35:56 +02:00
Mael Rouxel-Labbé
d7e26020f4
Minor cleaning (no real changes)
2019-10-17 12:53:04 +02:00
Mael Rouxel-Labbé
7b1547d1f0
Continue improving Surface_mesh_simplification
...
- Use BGL functions
- Simplify trivially simplifiable code
- Use proper nomenclature (no camel code, stop using capital
on members, etc.)
- Fix Edge and Halfedge being mixed (edge_index_map
being a halfedge index map, etc.)
- Get rid of package specific macros so that assertions are
actually doing something
- Minor indentation changes
2019-10-16 16:01:26 +02:00
Mael Rouxel-Labbé
a88382283b
Clean weird and useless converter shenanigans in OpenMesh-based simplification
...
Profile::Point is by definition equal to Profile::VPM::value_type,
so it is not converting anything.
Users are free to pass a custom VPM, and in that case things will break
because there is no proper geom traits being passed, but this is an
independent issue that must be fixed.
2019-10-16 15:32:45 +02:00
Mael Rouxel-Labbé
e4b2be3e4b
Merge branch 'SMS-Add_GH_simplification-GF-old' into SMS-Add_GH_simplification-GF
2019-10-16 12:32:30 +02:00
Mael Rouxel-Labbé
f121c194b4
Fixes for GH:
...
- Actually use the VPM
- Do not compute the planes needlessly: loop faces rather than vertices
- Some minor fixes
2019-10-16 11:06:12 +02:00
Mael Rouxel-Labbé
ae3f7d1e1a
Revert unpractical change (forces having to specify template parameters)
2019-10-15 14:00:55 +02:00
Mael Rouxel-Labbé
d5a05392b0
Fix type
2019-10-15 13:59:09 +02:00
Mael Rouxel-Labbé
c0b61fbace
Mirror commit c6fc4568fe
2019-10-15 13:59:09 +02:00
Mael Rouxel-Labbé
f026201511
Misc SMS cleaning
2019-10-15 13:59:09 +02:00
Mael Rouxel-Labbé
63e8bf841a
Fix wrong sign
2019-10-15 13:59:09 +02:00
Mael Rouxel-Labbé
cb3c68eca2
Rework the storing of cost marices for GH simplification
2019-10-15 13:59:09 +02:00