Laurent Rineau
24273a8b5c
Replace static with CGAL_STATIC_THREAD_LOCAL_VARIABLE
...
(Merged from `cgal/releases/CGAL-4.8-branch`)
2016-04-13 11:45:08 +02:00
Andreas Fabri
e7615c199c
better test coverage
2016-04-13 11:25:38 +02:00
Laurent Rineau
9cbae0394d
Merge pull request #934 from maxGimeno/Polyhedron_demo-Clipping_polyhedron_plugin_enhancement-GF
...
Polyhedron_demo: Clip_polyhedron_plugin enhancement
2016-04-13 11:19:38 +02:00
Laurent Rineau
1e4d22549c
Fix the text: remove empty lines
2016-04-13 11:04:48 +02:00
Laurent Rineau
202d2c2cf0
Merge pull request #893 from sgiraudot/Polyhedron_demo-Unify_off_io_plugins-GF
...
Polyhedron demo: unify OFF io plugins
2016-04-13 10:46:29 +02:00
Laurent Rineau
cf961c3a2d
Merge pull request #877 from maxGimeno/Polyhedron-demo-Trivial_fixes-GF
...
Polyhedron_demo: Trivial fixes
2016-04-13 10:36:42 +02:00
Laurent Rineau
555f46e850
Merge pull request #928 from janetournois/Polyhedron_demo-fix_colors-GF
...
Polyhedron item : fix access in color map
2016-04-13 10:33:40 +02:00
Laurent Rineau
897085b418
Merge pull request #936 from maxGimeno/Polyhedron_demo-Selection_tool_enhancement-GF
...
Polyhedron_demo : selection tool enhancement
2016-04-13 10:32:29 +02:00
Laurent Rineau
5b1e3dac79
Merge pull request #986 from afabri/OTR-Random-GF
...
Replace rand()
2016-04-13 10:28:57 +02:00
Laurent Rineau
50a3e0b5cb
Merge pull request #969 from afabri/Distance_3-Point_Triangle_3-GF
...
Moved squared_distance(Point_3,Triangle_3)
2016-04-13 10:21:21 +02:00
Laurent Rineau
6ac37a9ad4
Merge pull request #992 from afabri/Triangulation-tss_not_static-GF
...
Replace static with CGAL_STATIC_THREAD_LOCAL_VARIABLE
2016-04-13 10:15:33 +02:00
Jane Tournois
c7c8c86a9e
remove unused variable
2016-04-12 18:17:05 +02:00
Andreas Fabri
7f6550a48d
Remove the xy_3 traits classes; Deprecate Triangulation_euclidean_traits_2
2016-04-12 17:38:25 +02:00
Frédérik Paradis
39ab3e6e3a
Adding const to the rhs of equality check of Iso_box_d
2016-04-12 11:18:46 -04:00
Simon Giraudot
2d5a38150b
Merge branch 'Point_set_processing-Extend_ply_reader-GF-old' into Point_set_processing-Extend_ply_reader-GF
2016-04-12 11:56:01 +02:00
Simon Giraudot
89742a6bd9
Update doc (precision on boolean return value)
2016-04-12 11:50:34 +02:00
Andreas Fabri
7bea6910ab
Perform the multiplication with size_t and not with int
2016-04-12 11:20:04 +02:00
Andreas Fabri
ad51e6fde3
resize the vector
2016-04-12 10:35:47 +02:00
Laurent Rineau
01b9b87bd8
updated crontab (automated commit)
2016-04-12 10:18:04 +02:00
Sébastien Loriot
853006afb0
only create a polyline item if the intersection is not empty
2016-04-12 09:20:11 +02:00
Laurent Rineau
c6e4efb5f7
Fix when operating on huge files (>2GB)
2016-04-11 19:21:06 +02:00
Guillaume Damiand
900f5efe4b
Correct link in doc
2016-04-11 18:34:51 +02:00
Guillaume Damiand
efdd6c5a26
Remove warnings and errors
2016-04-11 18:31:38 +02:00
Simon Giraudot
bad16c8ebf
Add convenience function when reading double from float input
2016-04-11 18:17:48 +02:00
Andreas Fabri
c84016fc67
Switch to Unique_hash_map
2016-04-11 18:11:30 +02:00
Simon Giraudot
83290fda5d
Corrections of documentation (based on small feature review)
2016-04-11 17:24:33 +02:00
Andreas Fabri
e36d199738
Use Uniue_hash_map instead of std::map; Replace endl
2016-04-11 17:19:56 +02:00
Simon Giraudot
3dc74359ea
Create point set from vertices of polygon soup
2016-04-11 15:56:30 +02:00
Simon Giraudot
c579dd3e65
Add dependency to polygon soup in CMakeLists
2016-04-11 15:56:10 +02:00
Simon Giraudot
6d38c89203
Add method to access points of polygon soup
2016-04-11 15:55:49 +02:00
Laurent Rineau
d4e8c9089c
Merge pull request #988 from janetournois/Point_set_processing-fix_runtime_error_bis-jtournois
...
(Merge branch 'releases/CGAL-4.8-branch')
2016-04-11 15:42:35 +02:00
Laurent Rineau
e522e88117
Merge pull request #979 from freud14/sphere-d-search-traits-d
...
Adding typedef for Sphere_d in Search_traits_d to respect the contract of RangeSearchTraits
2016-04-11 13:54:59 +02:00
Laurent Rineau
0d421ba685
Merge pull request #988 from janetournois/Point_set_processing-fix_runtime_error_bis-jtournois
...
Point set processing : avoid using the infinite vertex as a finite vertex
2016-04-11 13:41:14 +02:00
Jane Tournois
f85d783613
improve computation of a face normal for non-triangular faces
...
triangulating the face naively around v is much simpler and more accurate than
iterating on prev/curr/next vertices inside the face
2016-04-11 12:15:59 +02:00
Laurent Rineau
f8aabdcc36
Merge pull request #990 from maxGimeno/Polyhedorn_demo-New_picking-GF
...
Polyhedron_demo : New picking
2016-04-11 11:58:35 +02:00
Laurent Rineau
e83bf2dc43
Merge pull request #977 from lrineau/Polyhedron-demo_fix_c3t3_item_again-GF
...
Polyhedron demo: fix c3t3 item, again
2016-04-11 11:45:49 +02:00
Laurent Rineau
5dbc34f3a0
Follow-up to "Speed-up Triangulation_3::read_cells..."
...
Followup to:
> commit 535c5bb5b2
> Author: Laurent Rineau <laurent.rineau@cgal.org>
> Date: Wed Apr 6 16:03:55 2016 +0200
>
> Speed-up Triangulation_3::read_cells...
>
> ... by a factor 5 for big triangulations! The old code was using:
>
> std::map<size_t, Vertex_handle> V;
> std::map<size_t, Cell_handle> C;
>
> whereas the indices are contiguous: from 0 to n. `std::vector` is a lot
> better for that use case!
2016-04-08 15:49:34 +02:00
Laurent Rineau
9b49b2ff0b
Merge pull request #982 from maxGimeno/P_Demo-Fix_for_Ctrl_Space-GF
...
Polyhedron_demo : Fix for the Ctrl+space shortcut
2016-04-08 15:16:30 +02:00
Laurent Rineau
10fe0db5f4
Merge branch 'releases/CGAL-4.8-branch'
2016-04-08 15:13:33 +02:00
Laurent Rineau
84710e67b4
Update the script for CGAL-4.8 demos
...
The polyhedron demo now has sub-sub-directories!
2016-04-08 15:01:04 +02:00
Laurent Rineau
80a597c7c4
Fix C3t3::rescan_after_load_of_triangulation
2016-04-07 17:38:19 +02:00
Andreas Fabri
ab9c7cf51f
Replace static with CGAL_STATIC_THREAD_LOCAL_VARIABLE
2016-04-07 16:35:43 +02:00
Maxime Gimeno
0ef8191fb7
Allow picking for edges and points.
2016-04-07 15:32:20 +02:00
Laurent Rineau
dca86376bf
Follow-up to "Do not depend on `Viewer.h`"
...
That commit was not complete:
> Author: Laurent Rineau <laurent.rineau@cgal.org>
> Date: Fri Apr 1 16:11:52 2016 +0200
>
> Do not depend on `Viewer.h`
>
> Only `Viewer_interface.h` is needed.
Once `Viewer.h` is removed from a few `.h` file, then
`Viewer_interface.h` must be included in `.cpp` files that use the
`Viewer_interface` API.
2016-04-07 14:49:43 +02:00
Maxime Gimeno
24b16b4710
New picking finished. Far more efficient.
2016-04-07 10:13:20 +02:00
Laurent Rineau
b9ea69e5c3
Do no always compute the AABB tree
...
- The c3t3 item has an option "Show tetrahedra".
- The AABB tree is built lazily, when needed.
- The AABB tree data member is moved in `Scene_c3t3_item_priv`.
2016-04-06 16:20:25 +02:00
Laurent Rineau
0cd5d8a6c4
Fix the look-at function
2016-04-06 16:06:46 +02:00
Laurent Rineau
535c5bb5b2
Speed-up Triangulation_3::read_cells...
...
... by a factor 5 for big triangulations! The old code was using:
std::map<size_t, Vertex_handle> V;
std::map<size_t, Cell_handle> C;
whereas the indices are contiguous: from 0 to n. `std::vector` is a lot
better for that use case!
2016-04-06 16:03:55 +02:00
Simon Giraudot
e922a1c858
Complete test on property existence (testing type in addition of tag)
2016-04-06 08:37:50 +02:00
Maxime Gimeno
bc6d5aa574
Fix for the waitCursor
2016-04-05 15:10:44 +02:00