Commit Graph

103239 Commits

Author SHA1 Message Date
Efi Fogel ecb2c7d279 xed get_point_in_face() 2023-01-05 14:24:53 +02:00
Mael Rouxel-Labbé aa1cb4b664 Add missing include 2023-01-05 12:39:58 +01:00
Mael Rouxel-Labbé 11f0902573 Add new test 2023-01-05 11:52:56 +01:00
Mael Rouxel-Labbé fd23450d58 Link issue7149 with Qt5 2023-01-05 10:15:06 +01:00
Mael Rouxel-Labbé 6b5954d2cf Remove another unused function which isn't part of the concept 2023-01-04 22:11:13 +01:00
Mael Rouxel-Labbé b2d562e582 Store trisegments within SLS vertices
This violates the concept, but it replaces storage of triedges, which
was also violating the concept...
2023-01-04 20:41:03 +01:00
Mael Rouxel-Labbé 2410d8e304 Reduce the (large) delta between SLS HDS concepts and models... 2023-01-04 16:36:34 +01:00
Mael Rouxel-Labbé c38ff2b4e2 Move Segment_2_with_ID to aux 2023-01-04 16:26:31 +01:00
Mael Rouxel-Labbé b1b7cacf42 Minor debug improvements 2023-01-04 16:26:09 +01:00
Mael Rouxel-Labbé e2f1940747 Fix spelling 2023-01-04 16:17:15 +01:00
Andreas Fabri 4afd1d247f 3D Demo: Clamp as acos operates on [-1,1] 2023-01-04 11:34:40 +00:00
Mael 4d22c90474
Merge branch 'master' into feature/bug_documentation_spell_20221113 2023-01-04 10:06:45 +01:00
Mael 07646a4140
Fix warning 2023-01-03 16:38:27 +01:00
Andreas Fabri 793801cd8b Fix conversion warning 2023-01-03 07:36:46 +00:00
Andreas Fabri c6fe1586c1 Convex_hull_2: Use of 2D Delaunay 2023-01-02 16:33:45 +00:00
Andreas Fabri 939a6a2b80 Make the demo work again 2023-01-02 13:17:17 +00:00
Andreas Fabri ae271b08f7 Revert to deque 2023-01-02 10:46:01 +00:00
Mael Rouxel-Labbé 5e101566fb Remove obsolete typedefs 2023-01-02 10:34:27 +01:00
Sébastien Loriot 328cba0530 fix compilation issue 2022-12-27 14:40:28 +01:00
Sébastien Loriot 632c500cd5 add draft for corner extraction 2022-12-23 18:12:47 +01:00
Andreas Fabri bd6c5ca9b7 Convex_hull_2: Do not assert without exact predicates 2022-12-23 16:18:04 +00:00
Andreas Fabri 0c5ebc75bc Orthree: Fix testsuite code 2022-12-23 16:06:36 +00:00
Sébastien Loriot 4ed5c2ce65 fix include 2022-12-23 14:15:02 +01:00
Sébastien Loriot ecb987a9bf do not use shared_ptr ...
... as it is more expensive (in small dimension at least) to
create than copying the point
2022-12-23 13:20:13 +01:00
Sébastien Loriot 427e147c7f do not copy the iterator to avoid returning a temporary if Prevent_deref is used as Iter 2022-12-23 11:38:53 +01:00
Sébastien Loriot 79f03ff660 fix template parameter in the classified user manual 2022-12-22 17:26:47 +01:00
Sébastien Loriot 2e0bc5ec99 Revert "Prevent_deref shall not return a reference to the iterator as it can be copied"
it seems to have dramatic consequences on the runtime when using Polyhedron in test_pmp_clip
for example.

This reverts commit 7c4123152b.
2022-12-22 17:25:58 +01:00
Andreas Fabri 01fd45b0a9 fixes 2022-12-22 15:12:02 +00:00
Andreas Fabri d6ec19226d Optimal Transport Reconstruction: Fix memory leak 2022-12-22 14:22:40 +00:00
Ivan Paden f8a97387d7 Add an example for spatial searching with projection 2022-12-22 11:20:17 +01:00
Sébastien Loriot a0efa439c1 fix warnings 2022-12-22 09:59:32 +01:00
Sébastien Loriot 898142d739 wrong type 2022-12-22 09:49:35 +01:00
Jane Tournois 2d04633e20 add if(verbose) when needed 2022-12-22 09:35:09 +01:00
Jane Tournois 73063a618b Revert "fix init_c3t3 for internal C3t3"
This reverts commit a90488fce5.
2022-12-21 14:42:39 +00:00
Laurent Rineau bcc59bfbb6 CONFIG_TYPE maybe used on other platforms
On MacOS, with the XCode generator, the config type is required.
2022-12-21 14:55:42 +01:00
Sebastien Loriot e95a9d98df
Close files before writing (#7101) 2022-12-21 14:44:32 +01:00
Sébastien Loriot be58448e63 recent versions of lxml seems to be problematic with pyquery
note that this version is not the max usable but one that works
2022-12-20 18:50:23 +01:00
Sébastien Loriot 96c465bf99 there is no longer any example 2022-12-20 15:54:34 +01:00
Jane Tournois fe5c2caf79 fix conversion warning 2022-12-20 09:17:14 +01:00
Sébastien Loriot 226c009892 Leopard is retired for quite some time now 2022-12-20 08:35:28 +01:00
Sébastien Loriot f993ad50c9 conditions of inconsistenit_classification() also apply to assertions 2022-12-19 17:43:12 +01:00
Sébastien Loriot f372bbe7c2 make smooth an option that is OFF by default 2022-12-19 14:35:16 +01:00
Mael Rouxel-Labbé 70efea3bcb Tiny code modernization 2022-12-16 16:28:53 +01:00
Mael Rouxel-Labbé 92bd00f612 Change PMP::refine() is_flippable criterion
The current criterion is some kind of Delaunay ball, which might work OK
for flat regions, but can produce super thin wedges (see issue:
https://github.com/CGAL/cgal/issues/6982) when the mesh is not flat.

The criterion used instead is the one used in PMP::isotropic_remeshing
and PMP::remove_almost_degenerate_faces(), which is the typical angle-based
surface Delaunay criterion.
2022-12-16 16:26:43 +01:00
Mael Rouxel-Labbé 52fc2ffdd4 Change criterion used in "should_flip"
The criterion that takes the scalar_product of the cross products
is maybe adapted to minimize the curvature when triangulating faces,
but should_flip() is used in PMP::isotropic_remeshing, (soon) PMP::refine(),
and PMP::remove_almost_degenerate_faces(). These algorithms aim to
produce well-shaped elements. The criterion is not adapted to these
algorithms: for example, on a flat mesh the scalar product is meaningless
so it will pick the diagonal which maximizes the product of the lengths
and product of sines, but this might create very anisotropic elements
since the sine of obtuse angles is still positive.

The "new" criterion is simply the criterion used in mesh smoothing
and the typical Delaunay criterion for surfaces.
2022-12-16 16:21:46 +01:00
Mael Rouxel-Labbé a798fb6803 Minor example improvements 2022-12-16 16:20:25 +01:00
Mael Rouxel-Labbé 1e4cec6b03 Fix not unchecking smoothing (if enabled) when protecting (+ui improvements) 2022-12-16 16:19:40 +01:00
Laurent Rineau f1e1878b8d
Merge pull request #7094 from afabri/PMP_named_parameters-GF
PMP: Replace parameter with named parameter
2022-12-16 10:52:17 +01:00
Andreas Fabri 4e16d96b59 Update CHANGES.md 2022-12-15 12:04:32 +00:00
Sébastien Loriot fef1a43d35 remove internal from generated doc 2022-12-15 10:43:27 +01:00