Commit Graph

80417 Commits

Author SHA1 Message Date
Andreas Fabri 469b90456a Fix doc 2018-05-30 14:34:34 +02:00
Andreas Fabri 1123afb70e Add Bbox_{2,3}.dilate(int) so that the snapping in the CT_2 also works with Projection_traits classes 2018-05-30 14:34:34 +02:00
Laurent Rineau c40d7124d0 Fix CDT_2 errors, using snapping of intersection points
When `Constrained_triangulation_2` computes the intersection of two
segments, with a floating-point number type, and with
`Exact_predicates_tag`, the computed intersection point is snapped to an
extremity of the two segments, if it is closest to 4 ulp (with the l-inf
distance).

That value `4` can be changed by defining the macro
`CGAL_CDT_2_INTERSECTION_SNAPPING_ULP_DISTANCE` to another value.
2018-05-30 14:34:34 +02:00
Sébastien Loriot a0017d8219 fix mathjax default for doxygen 1.8.13 2018-05-30 14:28:08 +02:00
Laurent Rineau cb6016db88 Merge branch 'releases/CGAL-4.12-branch' 2018-05-30 12:03:46 +02:00
Laurent Rineau 32d51721a5 Merge pull request #3133 from maxGimeno/Travis-Fix_check_dependencies-GF
Travis: Skip test of Maintenance's dependencies.
2018-05-30 12:03:17 +02:00
Maxime Gimeno 102c772c8f Skip test of Maintenance dependencies. 2018-05-30 11:55:20 +02:00
Maxime Gimeno 825143ae05 update Polyhedron example to make it similar to the Surface_mesh example 2018-05-30 11:47:37 +02:00
Maxime Gimeno c79f1424fd Fix call to nproc 2018-05-30 11:40:47 +02:00
Sébastien Loriot cd1e5126e6 add missing convenience overloads 2018-05-30 10:50:52 +02:00
Andreas Fabri 89d96f4ce8 An #ifdef inside a CGAL_assertion_msg() does not compile on VC12 2018-05-30 08:15:31 +01:00
Sébastien Loriot ac566df9ba use Boolean_property_map 2018-05-30 08:34:08 +02:00
Mael Rouxel-Labbé 14a919b587 Fixed including deprecated header 2018-05-29 17:35:49 +02:00
Laurent Rineau 007a70e7cc Merge branch 'releases/CGAL-4.12-branch' 2018-05-29 17:19:52 +02:00
Laurent Rineau f45df55e9f Merge pull request #3121 from lrineau/CGAL-disallow_in_source_build_in_git-lrineau
Disallow in-source builds in git
2018-05-29 17:19:30 +02:00
Sébastien Loriot 13cb7d250c make the function collapsing edges with constraints always keep the target 2018-05-29 16:17:41 +02:00
Sébastien Loriot 460f49d64f move code to swap edges in a function 2018-05-29 15:59:55 +02:00
Sébastien Loriot 1f1c97050b move code swapping vertices in an internal helper function 2018-05-29 15:59:55 +02:00
Andreas Fabri fe25b6e6b2 fix off file so that OpenMesh can read it too 2018-05-29 15:59:55 +02:00
Sébastien Loriot 2e7ceb07ff improve phrasing 2018-05-29 15:59:54 +02:00
Sébastien Loriot acf969560d try improving phrasing 2018-05-29 15:59:54 +02:00
Maxime Gimeno 127b0c68d5 Fix doc 2018-05-29 15:59:54 +02:00
Maxime Gimeno 0b2436d062 Clean-up after review 2018-05-29 15:59:54 +02:00
Sébastien Loriot 957eb36667 restore non-wanted change 2018-05-29 15:59:54 +02:00
Sébastien Loriot b81453868b fix the handling of constrained vertices 2018-05-29 15:59:54 +02:00
Maxime Gimeno 4618632629 add comments on cases and remove code from asserts 2018-05-29 15:59:54 +02:00
Maxime Gimeno d35781d698 Change float to double in the arguments of find_halfedge 2018-05-29 15:59:54 +02:00
Maxime Gimeno a72c713184 test halfedges in test_Collapse_edge.cpp 2018-05-29 15:59:54 +02:00
Maxime Gimeno a929253ae5 WIP testsuite collapse_edge 2018-05-29 15:59:54 +02:00
Sébastien Loriot 5738a11841 swap halfedges to guarantee that constrained halfedges are kept
this is only requires in case prev(opposite(he)) is constrained
since if there is a constrained vertex it is vb.
2018-05-29 15:59:54 +02:00
Sébastien Loriot abe346f8d2 consider any vertex incident to a constrained as constrained 2018-05-29 15:59:54 +02:00
Sébastien Loriot 0549e39af4 update changes 2018-05-29 15:59:54 +02:00
Sébastien Loriot de3d654a72 simplify the code collapsing edges
handles corner and constrained vertices
2018-05-29 15:59:10 +02:00
Sébastien Loriot 4e580a6450 update documentation 2018-05-29 15:59:10 +02:00
Sébastien Loriot 0695f30c17 always preserve q at collapse by swapping p and q if q is of degree 2
the advantage is that we have an easy way to document which
halfedges are removed
2018-05-29 15:59:10 +02:00
Sébastien Loriot 53164edc5a a vertex of degree less than 3 is on the boundary
collapsing an edge incident to it should be controlled only
by the constrained status of the vertices
2018-05-29 15:59:10 +02:00
Sébastien Loriot d3caff29dc fix indentation 2018-05-29 15:59:10 +02:00
Sébastien Loriot 34a66797b5 the corner status of a vertex is already taken into account in the code
it is meaningful for collapse and smooth that are using is_corner function
2018-05-29 15:59:10 +02:00
Maxime Gimeno 5586622829 Update doc for edge_collapse 2018-05-29 15:59:10 +02:00
Maxime Gimeno cbbf244849 updates changes.md 2018-05-29 15:59:10 +02:00
Maxime Gimeno 4e03637730 Fix after rebase 2018-05-29 15:58:19 +02:00
Maxime Gimeno a779db591c Make Isotropic_remeshing keep the constrained vertices when collapsing an edge. 2018-05-29 15:58:19 +02:00
Maxime Gimeno f1724b3f4c Make collapse_edge always keep the target vertex. 2018-05-29 15:58:19 +02:00
Mael Rouxel-Labbé 8ac412cb8a Fixed missing includes 2018-05-29 15:29:19 +02:00
Mael Rouxel-Labbé 558f1ea2f9 Fixed optimization plugin not using the new domain API 2018-05-29 14:51:32 +02:00
Sébastien Loriot 094a6efee6 use a directory that exists 2018-05-29 13:30:49 +02:00
Andreas Fabri 69a4b68e16 Replace M_PI with CGAL_PI 2018-05-29 11:54:42 +01:00
Maxime Gimeno 71d3514987 Fix Triangulation example 2018-05-29 12:05:57 +02:00
Maxime Gimeno ee94efc76e Fix Surface_mesh example 2018-05-29 12:00:30 +02:00
Maxime Gimeno fd15c8e040 Fix Polyhedron example 2018-05-29 11:57:13 +02:00