Commit Graph

278 Commits

Author SHA1 Message Date
Sébastien Loriot 552e059b01 follow up of fac4a6ad also patch the cmap output builder 2017-09-08 11:16:20 +02:00
Sébastien Loriot 353576fe14 follow up of 9bcf8b04 2017-07-13 14:37:44 +02:00
Sébastien Loriot 1bba93acc7 explicit that the sign function is the one from CGAL to avoid ambiguity 2017-06-17 07:31:22 +02:00
Andreas Fabri 9bcf8b040e move corefinement specific code from PMP to Operations_on_polyhedra 2017-03-22 09:12:30 +01:00
Sébastien Loriot 0b29878f6d better handling of tangency
correctly handle dangling intersection polylines
that appear when models are tangent along an edge
2017-03-16 18:44:13 +01:00
Sébastien Loriot a79f461548 be more permissive for open meshes 2017-03-15 17:13:40 +01:00
Sébastien Loriot 69fbe19f06 fix make_terminal()
if the node is already terminal, no need to break its degree
This was an issue if the degree is actually 0
2017-02-10 14:00:07 +01:00
Sébastien Loriot 50510c05ea add include directive for license of all GPL header files
done using:
ack-grep "^GPL" */package_info/*/license.txt -l | awk -F "/" '{print $1}' > /tmp/gpl_packages
for i in `cat /tmp/gpl_packages | \
          grep -v Operations_on_polyhedra | \
          grep -v Algebraic_kernel_for_circles | \
          grep -v Algebraic_kernel_for_spheres | \
          grep -v Polyhedron_IO`;
do
  echo $i
  python Scripts/developer_scripts/add_license_in_pkg_header.py $i
done
python Scripts/developer_scripts/add_license_in_pkg_header.py Operations_on_polyhedra Polygon_mesh_processing
python Scripts/developer_scripts/add_license_in_pkg_header.py Algebraic_kernel_for_circles Circular_kernel_2
python Scripts/developer_scripts/add_license_in_pkg_header.py Algebraic_kernel_for_spheres Circular_kernel_3
python Scripts/developer_scripts/add_license_in_pkg_header.py Polyhedron_IO Polyhedron
2017-01-19 15:20:25 +01:00
Sébastien Loriot 59001acd92 update the implementation of clip plugin to use new corefinement PMP code 2017-01-10 15:38:24 +01:00
Sébastien Loriot b48a6e8965 handle dangling polylines
An intersection polyline that has a node of degree one that is not
on the boundary of both meshes invalidates all operations.
It might be possible to do the union in some case but it does not
seems relevant for now
2017-01-03 10:01:23 +01:00
Sébastien Loriot 0530b49686 fix a warning 2016-12-23 09:57:01 +01:00
Sébastien Loriot 6b72ab2a6e remove a too strict check that eliminate all operations in case of edge tangency 2016-12-22 16:17:02 +01:00
Sébastien Loriot 39fe7c2936 handle the import of border halfedge 2016-12-22 16:11:21 +01:00
Sébastien Loriot 478e5283cd qualify function calls with boost namespace 2016-12-12 12:54:44 +01:00
Sébastien Loriot 6c7bee5d0a fix conversion warnings 2016-12-09 14:14:08 +01:00
Sébastien Loriot fac4a6add5 fix the report of polyline in the visitor
the 2 first nodes were always  reported twice
2016-12-09 13:36:55 +01:00
Sébastien Loriot 23e9095cbc no longer use border_halfedges to get the node-id of a vertex
it was indeed no reliable since edges in the interior of coplanar
patches got removed, the id of a vertex might get lost. To avoid
that we use a map that we fill before removing any border halfedge
2016-12-08 15:22:05 +01:00
Sébastien Loriot 90ea48839b shortcut a loop 2016-12-08 15:22:05 +01:00
Sébastien Loriot 2710e84113 fix a warning 2016-12-08 15:22:04 +01:00
Sébastien Loriot 804f878556 fix warnings 2016-12-08 15:22:04 +01:00
Sébastien Loriot fc54fd135a update the code after the update of the cmap package 2016-12-07 17:20:41 +01:00
Sébastien Loriot 8cc156724e factorize test for PMP and OOP coref 2016-12-01 17:08:18 +01:00
Sébastien Loriot ab32dd2a28 update polyhedron clipping function to work with new code 2016-12-01 17:08:10 +01:00
Sébastien Loriot 1e2ec91906 add a namespace to avoid ambiguity with PMP functions 2016-12-01 15:16:56 +01:00
Sébastien Loriot bc719ad192 fix copy-paste error 2016-11-23 15:52:50 +01:00
Sébastien Loriot 07359c1eb0 increase output precision 2016-11-10 09:39:47 +01:00
Sébastien Loriot ddaf6cd90b avoid reporting several time the same node per edge and face
This happens only in the case of coplanar triangles and can
be avoided by only reporting the node when it is first
created
2016-11-10 09:23:02 +01:00
Sébastien Loriot ca4e71a1aa remove trailing whitespaces 2016-11-08 11:10:42 +01:00
Sébastien Loriot 1ed98a7d9a simply the detection of coplanar faces
coplanar faces are made of 3 intersection edges and each of its vertex
has a node-id != -1
2016-11-03 14:31:20 +01:00
Sébastien Loriot cab2634387 bug fix in the detection of intersection edges in the middle of a coplanar patch
do not remove the edges from the intersection map while we are still using them
2016-11-03 14:18:12 +01:00
Sébastien Loriot 8390e569b7 Correctly handle tangencies of input model
this handle the case of identical models (even differently meshed)
and model that are tangent only at vertices
2016-11-03 10:31:57 +01:00
Sébastien Loriot f4d67dd4af Refresh branch from master 2016-10-19 14:27:08 +02:00
Sébastien Loriot d84def1b44 fix compilation issue 2016-09-30 17:12:15 +02:00
Sébastien Loriot 1bb8b69f17 fix compilation errors 2016-09-30 17:06:10 +02:00
Sébastien Loriot d172f12316 apply changes from f30a97d8 2016-09-30 15:51:40 +02:00
Sébastien Loriot 6713621ae3 Update branch with master 2016-09-30 15:43:06 +02:00
Sébastien Loriot 7e2ee496de update project name of cmake scripts of tests 2016-09-08 00:26:37 +02:00
Sébastien Loriot 6b338eeb1f improve the name of projects in cmake scripts of examples 2016-09-08 00:02:55 +02:00
Sébastien Loriot 7dd6b4cfb9 fix a copy-paste error P->Q 2016-09-02 15:50:09 +02:00
Sébastien Loriot c6fbc450e6 update after graph_type change
follow up of 830a977c73d3b1952bd2ca712ca8bad81917c2ca
2016-09-02 15:50:09 +02:00
Sébastien Loriot f30a97d808 use the lastest CMap API
this was responsible for bugs in the demo plugin where the cmap
is created in a library and used in another one
2016-07-21 11:29:08 +02:00
Sébastien Loriot 2d4153fc3d update Polyhedra_corefinement-enhancements-sloriot from master 2016-06-24 14:54:33 +02:00
Sébastien Loriot 5d0c508458 replace a map by two bitsets for polyline creation 2016-06-15 11:47:04 +02:00
Sébastien Loriot c12762ff08 one more test 2016-05-24 17:13:34 +02:00
Sébastien Loriot be17f39e27 make any operation invalid when an intersection polyline is inside a patch 2016-05-24 15:43:21 +02:00
Sébastien Loriot 3981654328 add data_set that is failing (intersection polyline inside a patch) 2016-05-24 11:32:20 +02:00
Sébastien Loriot 79c374b87b add data set with for non manifold union 2016-05-19 15:33:13 +02:00
Sébastien Loriot cd1e091fac the output builder must be a reference 2016-05-19 15:30:19 +02:00
Sébastien Loriot 5057337bf8 remove useless while loop 2016-05-19 15:11:56 +02:00
Sébastien Loriot 1bf86cbafe add new testcase that was failing 2016-05-13 16:48:24 +02:00