Sébastien Loriot
a0d60a94de
remove warnings
2015-04-22 18:43:13 +02:00
Sébastien Loriot
7fab19d2df
forgot to rename a is_on_edge
2015-04-22 11:44:04 +02:00
Sébastien Loriot
f098d8508c
use mathjax for the matrix
2015-04-20 18:39:41 +02:00
Sébastien Loriot
27a3531bd6
rename is_on_edge
2015-04-20 18:31:12 +02:00
Sébastien Loriot
e312edf41d
add doc todo
2015-04-20 18:30:52 +02:00
Sébastien Loriot
8bc716abf6
directly use CGAL::cpp11::array rather than a custom class
2015-04-20 18:11:25 +02:00
Sébastien Loriot
e553310940
update of is_edge and vcm_estimate_normals
2015-04-20 17:40:08 +02:00
Sébastien Loriot
d7e6b7dfa8
update doc of vcm_compute
2015-04-20 17:10:40 +02:00
Sébastien Loriot
f3d774e005
document the function to know whether a point is on a sharp feature
...
and hide the function trying to reconstruct edges
2015-04-20 17:05:42 +02:00
Sébastien Loriot
5dcc322f78
rename include guards
2015-04-20 16:10:55 +02:00
Sébastien Loriot
8b455b2710
add license headers
2015-04-20 16:09:38 +02:00
Sébastien Loriot
4f177e0e65
move internal details to internal directory
2015-04-20 16:06:55 +02:00
Sébastien Loriot
1f871965ed
remove warning and compilation issue
2015-04-14 16:39:36 +02:00
Clement Jamin
1a2a2004f6
Merge branch 'gsoc2013-Point_set_processing_3-fix-swu_cjamin' of ssh://scm.cgal.org/var/git/cgal-gsoc into gsoc2013-Point_set_processing_3-fix-swu_cjamin
2015-02-20 16:56:13 +01:00
Clement Jamin
6183b02f54
Untabify
2015-02-20 16:55:34 +01:00
Shihao Wu
4825fd601b
replaced all "CGAL_DEBUG_MODE" with "CGAL_PSP3_VERBOSE"
2015-02-20 15:43:04 +02:00
Shihao Wu
053ee4d507
Fixed the bug of not initializing CGAL::Bbox_3
...
In Debug mode, the default CGAL::Bbox_3 is not (0,0,0,0,0,0)
2015-02-19 17:27:24 +02:00
Shihao Wu
ad20bfab93
CGAL::Bbox_3 might behave differently in Debug/Release mode.
2015-02-19 15:41:37 +02:00
Shihao Wu
6fc6e1ef42
Used another way to prevent the neighbor_size from being set too small in EAR.
...
If the value given by user is smaller than the default value,
the function will use the default value instead.
2015-02-19 15:07:09 +02:00
Clement Jamin
60f382034d
Updated doc and default value for neighbor radius
2015-02-18 18:00:20 +01:00
Sébastien Loriot
c3c749ef0b
Merge branch 'Point_set_processing-IO-GF'
...
improve doc and IO in examples
Tested in CGAL-4.6-Ic-126
Approved by the release manager
Conflicts:
Point_set_processing_3/examples/Point_set_processing_3/wlop_simplify_and_regularize_point_set_example.cpp
2015-02-16 10:42:27 +01:00
Sébastien Loriot
da7e2e0f1e
missing backtick
2015-02-16 08:38:21 +01:00
Sébastien Loriot
faa598a9ab
prevent the creation of an empty internal namespace in the doc
...
trivial bugfix for master
2015-02-13 15:13:23 +01:00
Andreas Fabri
a3cb5af9b0
more wording fixes for value type
2015-02-06 12:06:14 +01:00
Andreas Fabri
1e99228829
improve wording concerning value_type
2015-02-05 14:53:01 +01:00
Andreas Fabri
ef6488a7c6
fix typo
...
Approved by the release manager (SL interim)
2015-02-05 09:40:06 +01:00
Laurent Rineau
ff62595012
Merge branch 'CGAL-fix_compilation_boost_1_56-lrineau'
...
Fix compilation issues with Boost-1.56 and later.
Approved by the Release Manager.
2015-01-26 11:42:29 +01:00
Laurent Rineau
59a7f710dd
Merge branch 'Spatial_searching-final_acceleration-gf'
...
Improve the performance of Spatial Searching.
Small features:
https://cgal.geometryfactory.com/CGAL/Members/wiki/Features/Small_Features/Spatial_searching_performance_optimization
https://cgal.geometryfactory.com/CGAL/Members/wiki/Features/Small_Features/spatial_searching_compiletimeD
Approved by the Release Manager
Conflicts:
Installation/changes.html
2015-01-15 15:31:35 +01:00
Laurent Rineau
48fa201043
Add a comment about a bug in Boost-1.56
2015-01-14 14:48:11 +01:00
Sébastien Loriot
ab133ebe3d
move implementation detail out of the scope of include/CGAL
...
trivial bug fix for master
2015-01-13 18:31:28 +01:00
Andreas Fabri
bdf65f0151
upgrade {min/max}_distance_to_rectangle
2015-01-07 12:58:56 +01:00
Clement Jamin
7be3c2cbd2
Merge branch 'gsoc2013-Point_set_processing_3-point_set_consolidation-swu-old' into gsoc2013-Point_set_processing_3-point_set_consolidation-swu
2015-01-06 18:34:43 +01:00
Clement Jamin
31a0ee4831
Address warnings (testsuite)
2015-01-06 17:37:50 +01:00
Clement Jamin
ac0c5886e1
Use references instead of pointers here
2015-01-05 16:06:39 +01:00
Shihao Wu
02d318d374
"void static"->"static void"
2014-12-19 21:13:50 +08:00
Shihao Wu
acd79fb8fa
Addressed warnings.
2014-12-19 19:25:58 +08:00
Shihao Wu
495c2e5af7
For WLOP, removed the saint data, selected better parameters.
2014-12-19 19:12:08 +08:00
Shihao Wu
7bc1f19343
Fixed a bug in Rich_grid.h
...
- Move "Rich_grid::iterator dest" outside of the loop.
2014-12-19 19:02:41 +08:00
Sébastien Loriot
c986f850a0
remove warning
2014-12-16 10:21:25 +01:00
Clement Jamin
64d9501cde
Removed unused variable
2014-12-16 09:24:39 +01:00
Clement Jamin
7d2f0cf9eb
Replaced a lambda function by a functor
2014-12-15 11:22:39 +01:00
Clement Jamin
c1e8e00d81
Protect all TBB code by #ifdef
2014-12-15 10:38:13 +01:00
Shihao Wu
f5561e7f3a
Simply removed the TBB code for the compute_density_weight_for_original_point()
...
It won't make much difference for small data because this is an initialization
step and it is not inside of the loop. Otherwise, it need to add another
functor.
2014-12-14 20:56:26 +08:00
Shihao Wu
cabd51b75f
Added a Sample_point_updator to remove the lambda function
2014-12-14 20:48:52 +08:00
Shihao Wu
b5e7de47c8
Change the radius estimation method in WLOP, in order to get good result for the sphere input.
2014-12-14 19:56:59 +08:00
Shihao Wu
03fbb454c6
fixed a bug: added a radius parameter in Pwn_updater.
2014-12-14 19:29:00 +08:00
Shihao Wu
4b091995fa
added two assert to check if the input contains normal information.
2014-12-12 21:18:57 +08:00
Shihao Wu
6def93d375
Merge branch 'gsoc2013-Point_set_processing_3-point_set_consolidation-swu' of ssh://scm.cgal.org/var/git/cgal-gsoc into gsoc2013-Point_set_processing_3-point_set_consolidation-swu
2014-12-12 21:03:21 +08:00
Shihao Wu
76447192d8
removed 'original_first_iter' and 'sample_first_iter'
2014-12-12 20:50:25 +08:00
Sébastien Loriot
6fc84fb659
remove warnings
2014-12-12 11:53:25 +01:00
Clement Jamin
6c4d0a65ee
Merge branch 'gsoc2013-Point_set_processing_3-point_set_consolidation-swu' of ssh://scm.cgal.org/var/git/cgal-gsoc into gsoc2013-Point_set_processing_3-point_set_consolidation-swu
2014-12-12 11:26:03 +01:00
Clement Jamin
a35b38dbde
We don't want tbb's malloc proxy
...
It doesn't work on all the supported platform.
2014-12-12 11:25:49 +01:00
Sébastien Loriot
a4f52a5fa0
add missing typename keywords
2014-12-12 11:21:47 +01:00
Sébastien Loriot
1030e433c3
add missing typename and typedefs
2014-12-12 10:08:03 +01:00
Clement Jamin
6ccf0c41a0
Bug fix: 1e-100 was too small here
2014-12-12 07:22:47 +01:00
Shihao Wu
c6d5186493
cleaned up the code and tested three new examples.
2014-12-11 23:00:22 +08:00
Shihao Wu
f88a9891d1
Replaced aabb-tree with kd-tree, the result is the same, but might be two times slower.
2014-12-11 22:46:58 +08:00
Andreas Fabri
13928cd516
add missing 'i' and parenthesis
2014-11-27 08:51:46 +01:00
Andreas Fabri
2916850771
use iformat for reading doubles
2014-11-26 16:53:50 +01:00
Jocelyn MEYRON
fb23ce1419
fix include voronoi_covariance_3.h
2014-11-11 16:05:41 +01:00
Shihao Wu
210fe526b8
addressed Quentin's comments
2014-11-10 02:46:20 +08:00
Sébastien Loriot
921f7a53f6
cosmetic fixes in the doc
2014-11-09 19:23:16 +01:00
Sébastien Loriot
4c7132643d
improve parameter doc
2014-11-06 15:04:29 +01:00
Sébastien Loriot
ae71e5632a
cosmetic doc changes
2014-11-06 14:45:55 +01:00
Sébastien Loriot
e508147c7d
move header files in CGAL/Convex_hull_3/dual
2014-11-05 16:36:16 +01:00
Sébastien Loriot
e5b72ac5b3
Merge branch 'old/gsoc2014-VCM_3-jmeyron' into gsoc2014-VCM_3-jmeyron
...
Conflicts:
Arrangement_on_surface_2/examples/Arrangement_on_surface_2/bgl_primal_adapter.cpp
BGL/examples/BGL_arrangement_2/primal.cpp
BGL/include/CGAL/boost/graph/dijkstra_shortest_paths.hpp
Installation/changes.html
Point_set_processing_3/examples/Point_set_processing_3/CMakeLists.txt
2014-11-05 16:11:35 +01:00
Shihao Wu
8d84db1626
did a pass on reference manual, added TBB links.
2014-11-05 21:15:23 +08:00
Clement Jamin
af7db50731
A few more doc fixes
2014-11-05 10:55:51 +01:00
Clement Jamin
b207f6a364
General pass on the ref manual
2014-11-05 10:51:12 +01:00
Clement Jamin
27237f8654
Doc improvements
2014-11-05 10:27:02 +01:00
Clement Jamin
b545546290
Simplify output iterators (no property maps anymore)
2014-11-05 09:50:43 +01:00
Clement Jamin
6aec1354d3
Add refs to the user manual + minor fixes
2014-11-04 23:42:23 +01:00
Clement Jamin
6a09ac08e9
Redondant
2014-11-04 23:29:24 +01:00
Clement Jamin
af24514f8f
Fix typos and sentences
2014-11-04 23:26:07 +01:00
Clement Jamin
0f2fdb97d5
Return output iterator + fix const
2014-11-04 23:17:31 +01:00
Clement Jamin
e33b778ec0
update cgalCite refs
2014-11-04 23:01:07 +01:00
Shihao Wu
cb626399b5
make value range of edge_senstivity [0, 1].
2014-11-05 02:59:22 +08:00
Shihao Wu
da89d3f285
combined the function description from user manual to reference manual.
2014-11-05 00:36:38 +08:00
Shihao Wu
8098a4b740
replace "links to web page in the doc" with "references to the paper citation"
2014-11-03 08:17:56 +08:00
Jocelyn MEYRON
cce3188a2d
documenting VCM
2014-09-28 13:59:16 +02:00
Shihao Wu
453c707220
I changed all "ForwardIterator value_type" to "ForwardIterator::value_type".
2014-09-22 04:40:47 +08:00
Shihao Wu
94b263151b
added: "/// Kernel_traits are used for deducing the Kernel."
2014-09-22 04:37:45 +08:00
Jocelyn MEYRON
b14ffe8183
minor fix for halfspace_intersection_3
2014-09-16 17:10:46 +02:00
Jocelyn MEYRON
04df458137
minor fix for halfspace_intersection_3
2014-09-16 16:27:16 +02:00
Jocelyn MEYRON
b2ac8e72d8
change halfspaces to halfspace
2014-09-16 15:01:34 +02:00
Jocelyn MEYRON
af3fd69dd1
divide the vcm_estimate_edges into a vcm_compute and construct_mst
2014-09-15 15:10:50 +02:00
Jocelyn MEYRON
663e41741b
doc for vcm normals and feature edges estimation
2014-08-14 17:35:25 +02:00
Jocelyn MEYRON
ac0921866c
add origin to halfspaces_intersection_with_construction_3 + doc vcm normal
2014-08-08 18:28:23 +02:00
Jocelyn MEYRON
4a50711cf8
add halfspaces_intersection_with_construction_3 + doc + benchmark
2014-08-08 17:32:58 +02:00
Sébastien Loriot
fbf21351b8
using nested Vector_3 and Point_3 (K is not necessarily a valid kernel)
2014-07-29 11:35:45 +02:00
Sébastien Loriot
9d54c40a1c
remove unneeded typename and use kernel parameter instead of default constructed
2014-07-29 11:34:46 +02:00
Jocelyn MEYRON
a6adefb0c3
Finish documentation for vcm_estimate_normals + Add a variant with a number of neighbors.
2014-07-23 14:23:48 +02:00
Sébastien Loriot
8f44942268
workaround a bug in dijsktra algorithm in boost 1.54 affecting normal estimation
...
(cherry picked from commit bc8e1f399d )
Conflicts:
Installation/changes.html
2014-07-21 14:36:30 +02:00
Sébastien Loriot
bc8e1f399d
workaround a bug in dijsktra algorithm in boost 1.54 affecting normal estimation
2014-07-19 12:20:29 +02:00
Jocelyn MEYRON
cb18c331b2
Fix crash in halfspaces_intersection_3
2014-07-17 16:11:52 +02:00
Sébastien Loriot
3ee7070476
remove unused type
2014-07-15 15:25:19 +02:00
Sébastien Loriot
abfc353866
fix include directive
2014-07-15 15:25:08 +02:00
Jocelyn MEYRON
e6b4c7664a
VCM normal estimation plugin
2014-07-15 14:53:51 +02:00
Jocelyn MEYRON
a46ebb1d94
begin working on edges detection + refactoring normal estimation
2014-07-09 17:28:22 +02:00
Jocelyn MEYRON
c2debb7a9c
change halfspaces_intersection to halfspaces_intersection_3 and change
...
the associated example + fix normals estimation using VCM
2014-07-09 10:56:21 +02:00
Jocelyn MEYRON
c0c481571c
Corrections on the documentation + add test if origin inside the
...
polyhedron during in halfspaces_intersection
2014-07-04 18:14:11 +02:00
Jocelyn MEYRON
f26c973028
Add VCM normal estimation to the Point_set_processing_3 normal
...
estimation demo
Doc and tests must be made now
2014-07-02 10:23:37 +02:00
Andreas Fabri
9b0bbf4d1f
The old boost/property_map.hpp did not include vector_property_map.hpp
2014-07-01 13:55:14 +02:00
Shihao Wu
3c7637d3a0
Double check and did more refinement for the 1st round review of three new functions.
2014-06-21 22:19:00 +08:00
Shihao Wu
07686efadd
Added OUTPUT_FILENAME.c_str().
...
Added (Please cite the paper if you use this function).
2014-06-21 21:31:10 +08:00
Shihao Wu
b8c47eac1a
Refined the documentation.
2014-06-21 21:06:21 +08:00
Shihao Wu
3340ce305b
Updated documentations according to Qmerigot's review about reference manual
2014-06-21 18:14:22 +08:00
Shihao Wu
bc3674eef4
refined the doc of WLOP
2014-06-12 18:34:37 +08:00
Shihao Wu
e218a962db
I added "@param output output iterator", but I may did the wrong way...
2014-06-12 18:13:13 +08:00
Shihao Wu
097e322899
intuition on what parameters represents for the last 4 parameters
2014-06-12 17:06:16 +08:00
Shihao Wu
13b100c836
refined the documentation of bilateral_smoothing
2014-06-09 20:25:39 +08:00
Shihao Wu
860b476ac2
sharp_sigma -> sharp_angle
2014-06-09 18:35:39 +08:00
Shihao Wu
d778282040
'compute density' -> 'require_uniform_sampling'
2014-06-09 16:37:56 +08:00
Shihao Wu
cf267b2524
"need_compute_density=false" -> <code>`compute_density=false`</code>
2014-06-09 16:03:05 +08:00
Shihao Wu
08cd36bcdb
retained to the submission state..
2014-03-27 18:28:49 +08:00
Shihao Wu
b1c0196fc6
changed the performance figure
...
note: this version can test the parallel performance
2014-03-27 18:23:27 +08:00
Shihao Wu
be4b8e817c
Fixed a bug about need_compute_density, and changed its description in doc.
...
Note: When "need_compute_density = false", it won't compute density weights for original points.
however, it still compute density weights for sample points.
2014-03-26 14:55:21 +08:00
Shihao Wu
666ce38fb5
re-inserted the need_compute_density option for sample points.
...
in this case, the result will be more non-uniform if "need_compute_density = true".
2014-03-26 10:01:31 +08:00
Pierre Alliez
8fcdcef4a4
few changes in doc
...
one comment in WLOP example
2014-03-25 13:06:00 +01:00
Shihao Wu
c534020413
Documented the template parameters for three functions
2014-03-20 11:15:35 +08:00
Clement Jamin
7b07111614
Improve parallelism doc
2014-03-19 11:43:22 +01:00
Shihao Wu
05911d932f
added 2 PointPMap: PointPMapIn and PointPMapOut
2014-03-19 10:15:07 +08:00
Shihao Wu
36efbf79a4
* clean up the "CGAL_DEBUG_MODE" blocks
...
* GENERATE_LATEX was changed, but I don't know why
2014-03-17 16:12:23 +08:00
Clement Jamin
dcada339a3
Doc improvements + removed some useless "const" keywords
2014-03-12 11:24:32 +01:00
Clement Jamin
5ea0bc3dcd
Doc: fix \cond \endcond
2014-02-27 17:07:36 +01:00
Clement Jamin
143b6a6419
Merge branch 'gsoc2013-Point_set_processing_3-point_set_consolidation-swu-old' into gsoc2013-Point_set_processing_3-point_set_consolidation-swu
...
Conflicts:
Point_set_processing_3/test/Point_set_processing_3/CMakeLists.txt
2014-02-27 13:57:34 +01:00
Shihao Wu
1ce3373988
fixed a bug for wlop_simplify_and_regularize_point_set_test
...
all the codes are confirmed now
2014-02-25 20:47:24 +08:00
Shihao Wu
99220af199
confirmed wlop_simplify_and_regularize_point_set_example
2014-02-24 17:36:00 +08:00
Shihao Wu
acff809244
deleted wlop_simplify_and_regularize_point_set.h
2014-02-24 17:33:38 +08:00
Shihao Wu
7555d1ba9a
confirmed edge_aware_upsampl_point_set_example
2014-02-24 17:03:28 +08:00
Shihao Wu
91e0fbf60c
confirm the bilateral_smooth_point_set_example
2014-02-24 16:43:20 +08:00
Sébastien Loriot
b2b7e5cb7c
bugfix to avoid assuming Monge_via_jet_fitting has default template parameters
2014-01-23 10:32:30 +01:00
Laurent Rineau
6708200dfd
Warn about a bug of prim_minimum_spanning_tree() in Boost.Graph 1.54
...
That bug causes mst_orient_normals() to fail with Boost 1.54. Hopefully,
the bug is fixed in Boost 1.55 beta.
2013-10-10 16:18:51 +02:00
Shihao Wu
aff98aae58
minor change
...
I neglect some bugs in the last push, this version works fine
2013-09-25 10:30:23 +08:00
Shihao Wu
3b520c1405
set need_compute_density default to 'false'.
...
However, we still compute sample densities inside the function.
2013-09-25 10:04:48 +08:00
Shihao Wu
1f5c21ec14
a small bug
2013-09-25 00:24:42 +08:00
Shihao Wu
0a0d49b535
abandoned compute orignal density weights to save time
2013-09-25 00:17:21 +08:00
Shihao Wu
2e70b4fa97
minor change, but found the code slower
2013-09-24 22:51:20 +08:00
Shihao Wu
6e3298a514
add const to some parameters
...
code cleanups
2013-09-24 19:02:02 +08:00
Shihao Wu
0ca03a18c1
parallel the AABB-Tree code
2013-09-24 18:44:51 +08:00
Shihao Wu
2874361903
use "radius2" instead of "radius" as parameter for density computing functions
2013-09-24 18:22:22 +08:00
Shihao Wu
6ab108d0ab
add debug output control
2013-09-24 18:14:07 +08:00
Shihao Wu
78d4a70807
added compute_update_sample_point in AABB_WLOP
2013-09-24 16:29:21 +08:00
Shihao Wu
0b9812f517
further clean-ups and alignment
2013-09-24 14:26:49 +08:00
Shihao Wu
323a0ccb82
add compute default radius to AABB-tree-wlop
2013-09-24 14:11:56 +08:00
Shihao Wu
70c7edb764
code clean-ups
2013-09-24 13:36:20 +08:00
Shihao Wu
0044439f82
add output parameter
2013-09-24 13:23:39 +08:00
Shihao Wu
234efb6812
back to version of parallelization, and the both sequential and parallel works
2013-09-24 12:43:57 +08:00
Shihao Wu
326c9e266b
add output parameter
2013-09-24 11:27:16 +08:00
Shihao Wu
53d2e45f9f
add staL::advance to parallel section
2013-09-24 00:00:01 +08:00
Shihao Wu
710ed737bf
change forwardIterator name
2013-09-23 23:46:12 +08:00
Shihao Wu
8d8be527d7
change ForwardIterator to RandomAccessIterator
2013-09-23 23:09:39 +08:00
Shihao Wu
b594258cef
change function name, before add output parameter
2013-09-23 21:03:41 +08:00
Shihao Wu
0ffb95ea92
code clean-ups
2013-09-21 18:21:54 +08:00
Shihao Wu
886c8efc22
parallelized "compute density for original"
2013-09-21 18:02:22 +08:00
Shihao Wu
1aa5c402c7
add <tbb/tbbmalloc_proxy>
2013-09-21 18:01:53 +08:00
Shihao Wu
c525d4545c
parallelized AABB_tree code
2013-09-21 17:15:54 +08:00
Shihao Wu
4c852f8703
code clean ups
2013-09-21 11:46:19 +08:00
Shihao Wu
76cafe691d
change name to wlop_simplify_and_regularize_point_set_test_AABB_tree.h
2013-09-21 10:58:58 +08:00
Shihao Wu
7c72370269
Back to bebug aabb slow problem
2013-09-19 23:35:24 +08:00
Shihao Wu
ed5c9e69b9
Followed Clément's suggestion:
...
Another thing: it's better to use
std::vector<Point> original_points; +
original_points.reserve(nb_points_original) +
original_points.push_back
than
std::vector<Point> original_points(nb_points_original); + *it = blabla;
because it avoids initializing member variables twice.
2013-09-19 23:09:46 +08:00
Shihao Wu
43b70bd3e3
finished AABB in regularize_and_simplify_point_set.h
2013-09-19 22:12:42 +08:00
Shihao Wu
825d98a4f3
change repulsion to AABB too
2013-09-18 17:05:36 +08:00
Shihao Wu
d33724369e
successfully used AABB in compute_average_term function
2013-09-18 16:25:45 +08:00
Shihao Wu
04158e689d
added two output debug sentences
2013-09-18 10:45:03 +08:00
Shihao Wu
3a0369afe9
in function "compute average term" AABB_tree got the right result
2013-09-18 10:05:41 +08:00
Shihao Wu
bdd71f289f
Added AABB test codes, can't get neighborhood now
2013-09-18 00:45:55 +08:00
Andreas Fabri
527a4bc63d
Add #includes
2013-09-16 19:12:28 +02:00
Andreas Fabri
6c547e5663
Mainly added includes
2013-09-13 22:24:30 +02:00
Shihao Wu
3770bdec46
clean up the code
2013-09-13 15:58:31 +08:00
Shihao Wu
676da9c403
clean up the code
2013-09-13 15:51:42 +08:00
Shihao Wu
446c54eab8
add output parameter to wlop
2013-09-13 15:46:27 +08:00
Shihao Wu
132f290750
parallelize one "for" circle in the iteration loop
2013-09-11 20:17:37 +08:00
Shihao Wu
fe0a47377f
add spaces between ">>>"
2013-09-11 00:11:05 +08:00
Shihao Wu
e68679a692
*refine the codes format
2013-09-11 00:04:26 +08:00
Shihao Wu
8754fb924b
change to range search
2013-09-11 00:01:22 +08:00
Shihao Wu
ded3c99a9b
add spaces between the ">"
2013-09-10 23:51:29 +08:00
Shihao Wu
9eec0a0e66
control debug output using #ifdef and #endif on stable version
2013-09-08 15:59:00 +08:00
Shihao Wu
0569983ad9
rule out possible Zero-divide error
2013-09-08 15:55:47 +08:00
Shihao Wu
e8839230d2
stable parallel version
2013-09-08 15:49:39 +08:00
Shihao Wu
c559180c01
control debug output using #ifdef and #endif
...
check to make sure that no "Divid Zero" will appear
2013-09-02 22:38:20 +08:00
Shihao Wu
5212ab7592
control the debug cout using #ifdef #endif
2013-09-02 20:45:17 +08:00
Shihao Wu
823fa14050
delete task_scheduler_init()
2013-09-02 10:17:00 +08:00
Shihao Wu
977b730109
parallelize another code section
2013-09-01 16:24:50 +08:00
Shihao Wu
1cd3220b81
add branch return value
2013-09-01 16:04:38 +08:00
Shihao Wu
98e7af81e2
parallelize function "compute_update_sample_point"
2013-09-01 16:01:53 +08:00
Shihao Wu
9cdebe1b23
parallelize the most time-consuming "for" circle
2013-09-01 11:35:59 +08:00
Shihao Wu
d7bae5b864
add Concurrency_tag to wlop_simplify_and_regularize_point_set.h
2013-08-31 23:16:45 +08:00
Shihao Wu
52a07ec4cd
Forgot to commit bilateral..h
2013-08-30 23:18:20 +08:00
Shihao Wu
339f7d3f51
Merge branch 'gsoc2013-Point_set_processing_3-point_set_consolidation-swu' of ssh://scm.cgal.org/var/git/cgal-gsoc into gsoc2013-Point_set_processing_3-point_set_consolidation-swu
2013-08-30 22:18:41 +08:00
Shihao Wu
8a7de648ea
comment the parallelization of code around "compute_kdtree_neighbors"
2013-08-30 22:08:01 +08:00
Shihao Wu
5f11cf141e
format the file
...
delete unnecessary spaces at the beginning of each line
2013-08-30 19:26:51 +08:00
Clement Jamin
d03d1426dc
Minor doc fix
2013-08-30 12:02:21 +02:00
Clement Jamin
d033fd4044
Merge branch 'gsoc2013-Point_set_processing_3-point_set_consolidation-swu' of ssh://scm.cgal.org/var/git/cgal-gsoc into gsoc2013-Point_set_processing_3-point_set_consolidation-swu
2013-08-30 11:50:41 +02:00
Clement Jamin
3daa44a9df
Untabify + typos
2013-08-30 11:50:17 +02:00
Shihao Wu
c87d859f12
1.add Concurrency_tag judge in template file
...
2.add parallelization to codes around invocation of "compute_max_spacing"
2013-08-30 17:30:00 +08:00
Clement Jamin
ea22837a40
Untabify
2013-08-30 10:34:12 +02:00
Shihao Wu
9028b7e8a0
updated default parameter documentation,
...
changed ForwardIterator to RandomAccessIterator for random_shuffle
2013-08-30 11:29:50 +08:00
Shihao Wu
b757f01555
I copied the wrong version of tests, now is correct
2013-08-28 12:04:20 +08:00
Shihao Wu
4da24d2c1c
added wlop default parameters, estimate default neighborhood radius
2013-08-28 10:45:42 +08:00
Shihao Wu
6d42c0ef9c
refined codes, updated documentations, added tests
2013-08-27 09:49:22 +08:00
Shihao Wu
f1c15e1678
refined the code for wlop_regularize_and_simplify points
...
mainly try to replace index with iterator
2013-07-31 17:39:07 +08:00
Shihao Wu
fd81a098f8
finished large data experiment
2013-07-30 13:56:05 +08:00
Clement Jamin
5ab8c9aae2
First pass on the upsampling code
2013-07-26 19:26:45 +02:00
Clement Jamin
f835a5f498
Fix parallel code
2013-07-26 02:06:38 +02:00
Clement Jamin
5a9249dab5
Small improvements in the code
...
const, smaller #ifdef #else #endif blocks, code formatting...
2013-07-26 02:02:34 +02:00
Clement Jamin
6afcc387d0
Typo
2013-07-24 20:58:13 +02:00
Clement Jamin
d53a1a7a46
Bugfix related to CGAL_USE_PROPERTY_MAPS_API_V1
2013-07-24 20:22:26 +02:00
Clement Jamin
8c5c6b7ce9
Minor code corrections: variable names, template params order, etc.
2013-07-24 20:15:52 +02:00
Clement Jamin
e85f55417e
Fix typo
2013-07-24 11:56:01 +02:00
Clement Jamin
df18f59902
Fix charset problem
2013-07-24 11:50:04 +02:00
Clement Jamin
74264b6038
Change the name everywhere + delete old file
2013-07-24 11:47:51 +02:00
Shihao Wu
dfbb89339b
improved the readability of Rich_grid.h as Pierre said.
2013-07-19 22:41:50 +08:00
Shihao Wu
296f51c320
change function name to: edge_aware_upsample_point_set
...
Added three .h files with new names
2013-07-19 22:13:58 +08:00
Shihao Wu
894fcbe3d2
change function name to: bilateral_smooth_point_set
2013-07-19 21:59:44 +08:00
Shihao Wu
884f6306f6
change function name to: wlop_regularize_and_simplify_point_set_using_rich_grid
2013-07-19 21:51:24 +08:00
Shihao Wu
5e8d302f89
added tbb to CMakeLists.txt
...
tried to add Concurrency_tag but have compile error..
2013-07-17 00:47:02 +08:00
Shihao Wu
499b97e321
Added some tbb codes for denoise_Point_set.
...
it pass complie, but the cmakelist may have problem.
2013-07-16 00:39:02 +08:00
Shihao Wu
bed181be5c
added a sphere test data, the upsample codes works well on it too
2013-07-14 23:41:15 +08:00
Shihao Wu
d8ea879471
added predict neighbor size and threshold size.
...
this version work well on the example
2013-07-14 20:24:20 +08:00
Shihao Wu
c9150d9854
consistency with my original old code.
...
I found the result is not perfect, so I checked carefully with the old code.
I tested some data with exact parameters.
The result is almost the same, the difference is cased by numerical problem.
So I commit this version for record.
2013-07-14 13:52:24 +08:00
Shihao Wu
5b0befd9e3
I tried to make it easier for parallelization but not worked.
...
here just a record of this version, I will try another way out.
2013-07-13 01:49:52 +08:00
Shihao Wu
34b61f3471
finished the first version of upsample_point_set
...
the rest is how to speed up by estimating radius
and make it more easy for parallelization
2013-07-12 01:01:18 +08:00
Shihao Wu
43bb5bd574
now back_inserter works, the pipeline of upsample have set up
2013-07-11 00:17:24 +08:00
Shihao Wu
e1e6df6575
added the key part of upsample_point_set
...
considering how to use back_inserter
2013-07-10 22:32:16 +08:00
Shihao Wu
caf50a5233
added normal variable to Rich_point
2013-07-10 18:37:14 +08:00
Shihao Wu
9de9f54ebd
Started coding for upsample_point_set.
...
added two new files and one new test data.
2013-07-10 00:20:52 +08:00
Shihao Wu
b370deff80
added timing and sharpness_sigma parameter
2013-07-09 19:20:44 +08:00
Shihao Wu
b8b2379c09
update formating for denoise_point_set
2013-07-09 18:54:20 +08:00
Shihao Wu
863462e10a
modified denoise_point_set for new PROPERTY_MAPS, and fixed a bug in kd-tree
...
now the example can run and I added a new test data "sphere_20k_normal.xyz"
2013-07-09 18:44:17 +08:00
Shihao Wu
03e2c02484
I used get() instead of put(), and get correct result.
...
Maybe I used put() in a wrong way.
Or maybe put() function have bugs.
2013-07-09 17:00:19 +08:00
Shihao Wu
c68f8de8f1
Try to change to PROPERTY_MAPS_API_V2, but the output is wrong.
...
Figuring out...
2013-07-09 16:53:54 +08:00
Shihao Wu
0f3f314b71
use Kd_tree_xxx instead of KdTree_xxx
2013-07-08 23:14:30 +08:00
Shihao Wu
0aba742b5c
change some class names to obey the name convention of CGAL
2013-07-08 22:52:33 +08:00
Shihao Wu
091f17b3dd
working on code formating and get some wired errors
...
Maybe I'm working in a wrong branch?
2013-07-08 22:39:47 +08:00
Shihao Wu
1ececf54a1
limit each line to 80 characters.
2013-07-08 17:09:50 +08:00
Shihao Wu
273eb39cd2
Added Rich_grid.h file
...
Modified regularize_and_simplify_point_set_using_balltree for Rich_grid
Used CGAL::Timer instead
2013-07-08 16:02:15 +08:00
Clement Jamin
6bb238d5cb
Replace "<..<...>>" by "<...<...> >" (>> is correct in C++11 only)
2013-07-05 13:46:43 +02:00
Clement Jamin
130a0b4287
Use Point_3::x/y/z() functions: it's clearer and faster
2013-07-05 13:26:46 +02:00
Clement Jamin
8809c071a5
A bit of code formatting
2013-07-05 11:33:38 +02:00
Clement Jamin
a8d438eece
Everything should be in the CGAL namespace
2013-07-05 11:08:46 +02:00
Clement Jamin
fcc02e2547
Add a typedef XXX Base and use it
2013-07-05 10:53:14 +02:00
Clement Jamin
229430f96a
Clean-up some comments
2013-07-05 10:49:19 +02:00
Clement Jamin
63b67c89ad
Clean-up some comments
2013-07-05 10:48:26 +02:00
Clement Jamin
a54cce9d1d
Fix charset problem
2013-07-05 10:36:03 +02:00
Clement Jamin
6c44ab3306
Merge branch 'gsoc2013-Point_set_processing_3-point_set_consolidation-swu-old' into gsoc2013-Point_set_processing_3-point_set_consolidation-swu
2013-07-05 08:58:45 +01:00
Shihao Wu
b836e36808
added denoise_point_set function/files and example
...
also refine the code of wlop
2013-07-05 00:28:39 +08:00
Shihao Wu
eeb5350fce
Added a new file/function for Grid Tree implementation
...
The new file/function name is "regularize_and_simplify_point_set_using_balltree"
2013-07-04 00:17:51 +08:00
Shihao Wu
c4d7e2d39b
Add guess KNN trick
...
To speed up compute_average_term
I guess the suitable KNN size to reduce the redundant visit.
2013-06-28 00:51:16 +08:00
Shihao Wu
9924c4c652
<Trying to add tbb>
2013-06-25 23:26:46 +08:00
Shihao Wu
03054d786f
<Fixed the bug of density function>
...
<Now the linear version of WLOP is finished
,next is try parallel>
2013-06-25 21:53:15 +08:00
Shihao Wu
6f1c8567e5
<Finished density weight function>
2013-06-25 00:18:04 +08:00
Shihao Wu
99c725e4e0
<add density weight>
2013-06-21 21:28:23 +08:00
Shihao Wu
93574ff377
<Fix a huge bug>
...
<Now is the real LOP,
Ready to add density weight>
2013-06-21 16:15:41 +08:00
Shihao Wu
d36371a334
<Finished repulsion term>
...
<Now we can see some effect of
L2 LOP>
2013-06-20 23:16:28 +08:00
Shihao Wu
45b11a0b57
<Added new functions>
...
<Added KDD neighborhood searching
Added compute_average_term>
2013-06-19 20:15:05 +08:00
Sébastien Loriot
607a1ac8ca
re-add property map dereferencing a property_map lost during update-merge
2013-06-19 11:31:06 +02:00
Shihao Wu
01a19b3c80
Make the code more general, ready for the first push
2013-06-19 16:34:39 +08:00
Shihao Wu
0074af2b90
Add a new function regularize_and_simplify_point_set(). doing nothing but randomly copy sampled points inside the function space.
...
Than I want to update these sampled points position using WLOP algorithm.
At last, I will copy back the modified points to the original points as output.
2013-06-18 23:03:28 +08:00
Sébastien Loriot
829a6c0ac1
doxygen: prevent linking
2013-06-17 09:52:08 +02:00
Sébastien Loriot
716f87d2d7
rename Hidden_type to unspecified_type and update its description
2013-06-13 18:48:58 +02:00
Sébastien Loriot
ffa4bf7d34
rename MACRO to enable old code
2013-06-13 17:04:50 +02:00
iyaz
a541518c01
use member get on tuples instead of free func get
2013-06-06 22:41:43 +03:00
Sébastien Loriot
b72e31e2ae
ADL does not apply to a function with an explicitly qualified template argument
2013-06-05 09:23:38 +02:00
Sébastien Loriot
677bc07a4d
rename Typed_identity_property_map_by_reference to Identity_property_map
...
and update its documentation
2013-05-13 11:38:07 +02:00
Sébastien Loriot
f91eac468e
enhance documentation
2013-05-13 10:59:15 +02:00
Sébastien Loriot
f28c0b042a
update doc of value_type_traits
2013-05-13 10:03:20 +02:00
iyaz
8807ec30e1
document value_type_traits, add specializations for inserter_iterator and front_inserter_iterator
...
add another template parameters for OtuputIterator value type in read functions which rely on vaue_type_traits
2013-05-08 23:21:22 +03:00
iyaz
cd0163b95c
should be iterator_traits - fixed
2013-05-08 15:43:53 +03:00
iyaz
c951a2f509
wrong parameter name - fixed
2013-05-08 10:33:32 +03:00
iyaz
c9a1b71c43
do not use value_type_traits when iterator_traits suffices
2013-05-07 18:53:14 +03:00
iyaz
9cb22fdd0e
InputIterator -> ForwardIterator
2013-05-06 18:08:33 +03:00
Sébastien Loriot
17dd21def5
Merge branch 'First_of_pair_property_map-new_version-iyaz-old' into First_of_pair_property_map-new_version-iyaz
...
Conflicts:
Point_set_processing_3/examples/Point_set_processing_3/property_map.cpp
Point_set_processing_3/include/CGAL/IO/read_off_points.h
Point_set_processing_3/include/CGAL/IO/read_xyz_points.h
Point_set_processing_3/include/CGAL/IO/write_off_points.h
Point_set_processing_3/include/CGAL/IO/write_xyz_points.h
Point_set_processing_3/include/CGAL/Point_with_normal_3.h
Point_set_processing_3/include/CGAL/improved_jet_smooth_point_set.h
Point_set_processing_3/include/CGAL/improved_laplacian_smooth_point_set.h
Point_set_processing_3/include/CGAL/jet_estimate_normals.h
Point_set_processing_3/include/CGAL/jet_smooth_point_set.h
Point_set_processing_3/include/CGAL/pca_estimate_normals.h
Point_set_processing_3/include/CGAL/pca_smooth_point_set.h
2013-05-06 15:57:36 +02:00
iyaz
b97fcda8dd
pca_smooth_point_set PointPMap Readable -> ReadWrite,
...
make it undocumented
2013-05-06 12:05:35 +03:00
iyaz
0ca7f319e0
use helper function for typed_identity pmap,
...
remove forgotten dereference pmap
2013-05-05 22:07:41 +03:00
iyaz
cc16c15fb2
Also changed code in prev version (i.e. macro activated code) which was previously buggy (buggy in a way of using pmaps)
2013-05-05 19:33:06 +03:00
iyaz
d8bd97e662
documentation related parameter name fix
2013-05-05 19:13:41 +03:00
iyaz
f09426d1c5
write_off_points_and_normals NormalPMap requirement WritablePropertyMap -> ReadablePropertyMap
...
write_xyz_points_and_normals NormalPMap requirement WritablePropertyMap -> ReadablePropertyMap
2013-05-05 18:51:24 +03:00
iyaz
0a7322b3bc
Also changed code in prev version (i.e. macro activated code) which was previously buggy (buggy in a way of using pmaps)
2013-05-05 18:15:45 +03:00
iyaz
d7385a1974
Also changed code in prev version (i.e. macro activated code) which was previously buggy (buggy in a way of using pmaps)
2013-05-05 18:11:14 +03:00
iyaz
fb37011c14
pmap related changes,
...
note that previous version has a bug, where a normal is accessed directly (should be accessed via pmap)
2013-05-05 17:08:55 +03:00
iyaz
a1454a975d
jet_smooth_point_set ReadablePropertyMap -> ReadWritePropertyMap
2013-05-05 16:13:28 +03:00
iyaz
c67eb609b3
improved_laplacian_smooth_point_set ReadablePropertyMap -> ReadWritePropertyMap
2013-05-05 16:11:43 +03:00
iyaz
f7d331ec22
changed improved_jet_smooth_point_set PointPMap requirement to ReadWritePropertyMap
...
which was ReadablePropertyMap (which was not OK since pmap is also subject to change inside the function)
2013-05-04 01:50:02 +03:00
iyaz
db31047a13
Documentation changes in Point_set / include:
...
change all documentation references to boost pmaps to proxy CGAL concepts
2013-05-03 18:24:10 +03:00
iyaz
fb6dafd656
Propery maps (making Lvalue)
2013-05-03 17:58:15 +03:00
Sébastien Loriot
1284566438
Bug-fix: a get is not guarantee to return a reference. put should be used ...
...
... for overwritting the value
2013-05-03 09:43:20 +02:00
Sébastien Loriot
47084771af
remove put_get_helper_pass_key_by_reference, using friend put/get functions
...
it is more clear to see what is going on
2013-05-03 09:36:08 +02:00
iyaz
85899e5e27
Do not remove Dereference_property_map (previously deactivated with a macro)
2013-05-02 16:53:22 +03:00
iyaz
8e38300002
Change of mind: to keep helper simpler I removed an extra get function added for supporting key types which are not actually key_type
...
( We only need that functionality inside Normal_of_point_with_normal_pmap, so made required changes in there)
2013-05-01 04:06:33 +03:00
iyaz
07bf1ef8d2
forgotten cast removed
2013-05-01 03:08:40 +03:00
iyaz
8b575f179e
one more get function is added for handling key types which are not "key_type" but convertible
2013-05-01 02:40:42 +03:00
iyaz
cd0c4f59f7
Documentation related changes
2013-04-30 16:59:02 +03:00
iyaz
35a83e09f8
Removed a forgotten comment
2013-04-30 16:58:01 +03:00
iyaz
c3c6d435b5
IO part documentation update
2013-04-30 15:23:01 +03:00
iyaz
a994cde1fa
Forgotten def removed
2013-04-30 13:23:37 +03:00
iyaz
6b1a6ddab7
parameter name fixed
2013-04-30 02:28:10 +03:00
iyaz
9d94793f77
parameter names are corrected
2013-04-30 01:27:22 +03:00
iyaz
72a947cda4
Changes related to pm inside include
...
(documentation is not updated)
2013-04-30 00:32:46 +03:00
iyaz
6b5d40387f
New version of pmaps, and an example of required changes in related code (for now just read_xyz_points.h and write_xyz_points.h are changed as a representative)
2013-04-22 02:59:37 +03:00
Sébastien Loriot
4860091679
doc bugfix: s/InputIterator/ForwardIterator/g (used in a multipass algorithm)
2013-03-26 10:37:35 +01:00
Sébastien Loriot
104384b40f
doc bugfix: iterator is a ForwardIterator since the algorithm is multipass
...
the fix consists in s/InputIterator/ForwardIterator/
and update the description of the input iterator
2013-03-26 10:16:07 +01:00
Sébastien Loriot
a483e26dd0
skip documentation of header in dont_submit
2013-03-26 08:25:47 +01:00
Sébastien Loriot
7412cdb650
add all property maps concepts to ease linking to them. Update pages using them
2013-03-14 16:59:27 +01:00
Andreas Fabri
cfd69b1490
long/int -> size_t
2013-02-27 11:44:55 +01:00
Andreas Fabri
8a309aac1b
remove an unused parameter
2013-02-26 17:13:32 +01:00
Andreas Fabri
89f9f21cc4
Avoid parsing x,y,z twice and add a testsuite
2013-01-16 16:01:29 +01:00
Sébastien Loriot
128b02abb8
update CGAL custom doxygen macros
...
corresponds to a run of the script Documentation/conversion_tools/rename_macros.sh
+manual edit of doxyassist.xml and pkglist_filter.py
2012-11-14 00:31:05 +01:00
Philipp Möller
0b10df571d
move doc into property_map.h itself
2012-10-23 14:32:10 +00:00
Sébastien Loriot
9a7f4a5876
skip property_map.h to avoid duplicate with package boost::property_map
...
basic documentation of members
2012-10-22 23:20:15 +00:00
Sébastien Loriot
585c3f9c62
link to boost property map concepts
2012-10-22 23:13:56 +00:00
Sébastien Loriot
42879db6e5
add groups
...
using tparam
using pre
2012-10-22 23:02:04 +00:00
Laurent Rineau
a04891ff93
WARNFIX: fix some warnings triggered by -Wconversion on g++
2012-08-09 16:06:54 +00:00
Laurent Rineau
90414d195f
Move <CGAL/Testsuite/use.h> to <CGAL/use.h> (in the Installation package)
...
That is a followup to the following commit:
| ------------------------------------------------------------------------
| r71090 | pmoeller | 2012-08-07 13:04:32 +0200 (Tue, 07 Aug 2012) | 6 lines
| Changed paths:
| M /branches/next/Alpha_shapes_2/include/CGAL/Alpha_shape_2.h
| M /branches/next/Circulator/include/CGAL/circulator.h
| M /branches/next/Convex_decomposition_3/include/CGAL/Convex_decomposition_3/Reflex_vertex_searcher.h
| M /branches/next/Intersections_3/test/Intersections_3/bbox_other_do_intersect_test.cpp
| M /branches/next/Kernel_d/include/CGAL/Cartesian_d.h
| M /branches/next/Mesh_3/include/CGAL/IO/File_medit.h
| M /branches/next/Mesh_3/include/CGAL/Mesh_cell_criteria_3.h
| M /branches/next/Mesh_3/include/CGAL/Mesh_edge_criteria_3.h
| M /branches/next/Mesh_3/include/CGAL/Mesh_facet_criteria_3.h
| M /branches/next/Mesh_3/include/CGAL/make_mesh_3.h
| M /branches/next/Nef_2/include/CGAL/Bounded_kernel.h
| M /branches/next/Nef_2/include/CGAL/Nef_polyhedron_2.h
| M /branches/next/Nef_3/include/CGAL/Nef_3/ID_support_handler.h
| M /branches/next/Nef_3/include/CGAL/Nef_3/Infimaximal_box.h
| M /branches/next/Nef_3/include/CGAL/Nef_3/vertex_cycle_to_nef_3.h
| M /branches/next/Nef_3/include/CGAL/Nef_polyhedron_3.h
| M /branches/next/Nef_3/test/Nef_3/nef_union_error_llvm.cpp
| M /branches/next/Nef_S2/include/CGAL/Nef_S2/SM_overlayer.h
| M /branches/next/OpenNL/include/CGAL/OpenNL/blas.h
| M /branches/next/Periodic_3_triangulation_3/include/CGAL/Periodic_3_triangulation_3.h
| M /branches/next/Point_set_processing_3/include/CGAL/mst_orient_normals.h
| M /branches/next/QP_solver/include/CGAL/QP_solver/QP_functions_impl.h
| M /branches/next/STL_Extension/include/CGAL/iterator.h
| M /branches/next/Segment_Delaunay_graph_2/include/CGAL/Segment_Delaunay_graph_simple_site_2.h
| M /branches/next/Subdivision_method_3/include/CGAL/Polyhedron_decorator_3.h
| M /branches/next/Subdivision_method_3/include/CGAL/Subdivision_mask_3.h
| M /branches/next/Surface_mesher/include/CGAL/Surface_mesh_default_criteria_3.h
| M /branches/next/Voronoi_diagram_2/include/CGAL/Voronoi_diagram_2/Adaptation_traits_functors.h
| M /branches/next/Voronoi_diagram_2/include/CGAL/Voronoi_diagram_2/Default_site_inserters.h
| M /branches/next/Voronoi_diagram_2/include/CGAL/Voronoi_diagram_2/Default_site_removers.h
|
| WARNFIX: Silence a good part of unused variable/parameter warnings.
|
| Wextra results in a dreadful wall of yellow in the test-suite and is
| scary when using CGAL. Reduce some of the noise by silencing the
| obvious cases with CGAL_USE or comments.
|
| ------------------------------------------------------------------------
The reason is that everything from CGAL/Testsuite/ is removed in public
releases (that was discussed at a CGAL developers meetings, long ago). That
means that r71090 introduced compilation errors undetectable by the tests
of internal releases. I hope that the minutes of that developers meeting
say that I was against the removal of headers between internal and public
releases! -- Laurent Rineau
2012-08-09 15:34:08 +00:00
Philipp Möller
79b30908d5
WARNFIX: Silence a good part of unused variable/parameter warnings.
...
Wextra results in a dreadful wall of yellow in the test-suite and is
scary when using CGAL. Reduce some of the noise by silencing the
obvious cases with CGAL_USE or comments.
2012-08-07 11:04:32 +00:00
Laurent Rineau
db194534c7
First big patch to fix -Wunused-local-typedefs
...
-Wunused-local-typedefs is a new warning flag of gcc-4.7, and it will enabled
by -Wall since gcc-4.8 (not yet released).
The fix is a big set of removals of unused typedefs (or comments, or moves,
depending on the context).
2012-08-01 13:29:16 +00:00
Sébastien Loriot
53d4d270eb
remove warning
2012-07-06 09:21:13 +00:00
Sébastien Loriot
4cacb97039
remove warnings
2012-07-05 14:56:50 +00:00
Andreas Fabri
dffde9612b
Remove ^M at eol
2012-01-17 17:13:01 +00:00
Laurent Rineau
8f59fd9592
Turn QPL into LGPLv3+
2012-01-13 16:33:35 +00:00
Andreas Fabri
e5027f9c83
Replace deprecated std::auto_ptr with boost::shared_ptr
2011-10-24 14:13:37 +00:00
Laurent Rineau
369498d1e5
Cancel revision 64607. There had been a problem with the branch.
...
| ------------------------------------------------------------------------
| r64607 | efif | 2011-07-05 17:27:04 +0200 (Tue, 05 Jul 2011) | 1 line
|
| Merged feature-branch Aos_2-new_functors-tau into next
| ------------------------------------------------------------------------
2011-07-06 11:11:58 +00:00
Laurent Rineau
19a787e342
Bug fix: input iterators are not required to be default-constructible
...
When InputIterator is an input-iterator type, one cannot do:
InputIterator it;
for(it = first; it != beyond; it++)
because input iterators may not be default-constructible. Only forward
iterators are required, by the C++03 norm, to be default-constructible.
We need to write:
for(InputIterator it = first; it != beyond; it++)
2011-05-06 10:24:08 +00:00
Sébastien Loriot
e5a96255ba
*remove warnings.
...
In particular remove UNTESTED_XXXXXXXXXXX unused variable that possibly hide true warnings.
In those cases, the string printed while executed now starts with "NOTE: ".
*CGAL internal code no longer rely on depecrated features
2011-02-28 15:28:28 +00:00
Sébastien Loriot
2a9d9e9702
remove warnings
2011-02-23 10:01:12 +00:00
Sébastien Loriot
52317dd49f
add python script (replace_CGAL_NAMESPACE.py) to replace CGAL_BEGIN_NAMESPACE and CGAL_END_NAMESPACE
...
by namespace CGAL { and } //namespace CGAL. in all .h and .cpp files
in a directory.
Apply it to all packages in the trunk
Remove macro definition from the config.h file.
2010-06-09 07:37:13 +00:00
Laurent Rineau
cadb6a589a
tuple is a dependent-name, and a call to a member function template of
...
tuple must be qualified with "template".
2010-05-17 16:15:17 +00:00
Sébastien Loriot
1382b9552d
Add non-documented interface for APSS reconstruction.
...
Remove no longer needed Fast_orthogonal_k_neighbor_search (changes integrated in Orthogonal_k_neighbor_search)
2010-02-23 16:01:49 +00:00
Sylvain Pion
85dc12f2a7
Remove empty lines at beginning and end of files
...
(apply Scripts/developer_scripts/remove_empty_lines.pl).
2010-02-01 12:55:28 +00:00
Sébastien Loriot
cdee61ee96
Replace M_PI by CGAL_PI
2010-01-19 07:27:33 +00:00
Nader Salman
164837e1c2
-namespace CGALi
...
+namespace internal
Updated the namespace to "internal".
2009-12-11 15:34:07 +00:00
Nader Salman
96f8cac0fe
Corrected the Property Maps issue.
2009-12-11 15:08:58 +00:00
Laurent Rineau
83912b2952
Massive fix of svn:keywords properties, and $URL$ keyword.
2009-10-20 08:59:26 +00:00
Gaël Guennebaud
cc2181e205
#include <CGAL/trace.h> where needed
2009-10-15 12:08:25 +00:00
Stéphane Tayeb
8dceee4164
Add include<CGAL/assertions.h> in *_assertion files.
2009-10-07 13:16:13 +00:00
Stéphane Tayeb
770492c1c7
Use new version of script create_assertions.sh to generate *_assertions.h files.
...
Diffs are:
* #undef added
* in old files, (void)0 is replaced by static_cast<void>(0)
* in old files, lines as "# define CGAL_xxx_assertion 1" are added
* in point_set_processing_assertions.h, surface_mesh_parameterization_assertions.h, surface_reconstruction_points_assertions.h, "|| defined(CGAL_NDEBUG)" is replaced by "|| defined (NDEBUG)"
* protective macros (if any) are removed
* included files if any (<CGAL/assertions.h>, <CGAL/trace.h>) are removed
2009-10-07 07:49:44 +00:00
Laurent Saboret
1b8c8a4301
Fixed compilation error introduced in r51749
2009-09-04 11:27:51 +00:00
Laurent Saboret
057de88bea
Fixed warning with boost >= 10.38
2009-09-03 09:16:37 +00:00
Sylvain Pion
8573fe26ce
Rename CGALi to internal.
2009-08-24 17:10:04 +00:00
Laurent Saboret
92a542c94c
Fixed bug in trace macro
2009-08-05 11:05:54 +00:00
Laurent Saboret
977aceca2d
* Updated Point_set_processing_3 reference manual to describe the influence of each knn parameter.
...
* Fixed bug in Point_set_processing_3 examples/tests: use reasonable default knn parameters (0.1 or 0.15% of point set was overkill.* Updated the Point Set demo to use the recommended knn values by default.
2009-07-17 14:42:18 +00:00
Laurent Saboret
192ccd9cc3
* Fixed bug in read_xyz_points_and_normals() when loading a .xyz file with empty lines:
...
Updated manual.
* Also added a comment about the hack to have 2 functions documented on the same page (e.g. read_xyz_points() and read_xyz_points_and_normals()).
2009-07-06 17:03:32 +00:00
Laurent Saboret
1d93f37726
* Fixed bug in read_xyz_points_and_normals() when loading a .xyz file with empty lines
...
* Fixed bugs in Point Set demo "Save As" feature:
- saving as .xyz did not work
- replacing an existing file prompted 2 confirmation dialogs
2009-07-06 16:08:10 +00:00
Laurent Saboret
6469d5e568
Fixed error message on cerr in Qt Point Set demo.
2009-06-26 13:05:49 +00:00
Nader Salman
96e2418555
Corrected a big compilation bug
...
:= When Point type is a pair or a tuple compute_average_spacing, jet_estimate_normal, jet_smooth_point_set,
pca_estimate_normals, pca_smooth_point_set, remove_outliers and remove_outliers_wrt_median_knn_sq_distance
files couldn't compile. Now they can!
Written a detailed example (average_spacing_example.cpp) that uses the tuples type.
==> Pairs and tuples are now used in the examples.
2009-06-17 12:39:51 +00:00
Laurent Saboret
ac7d0971c2
Bug fix (by Mac Glisse): bring std::distance() to scope.
2009-06-17 08:11:47 +00:00
Laurent Saboret
e3aea2e92d
Changes after Surface_reconstruction_points_3/Point_set_processing_3 submission review by AF (12):
...
Document property maps and move them to Support Lib:
* Added new chapter "CGAL abd Boost Property Maps" (Property_map) to Support Lib:
- it is located in Point_set_processing_3/doc_tex/Property_map.
- it documents Dereference_property_map, First_of_pair_property_map, Second_of_pair_property_map and Nth_of_tuple_property_map.
* Renamed point_set_property_map.h as property_map.h
* Moved Normal_vector_property_map to Point_with_normal_3.h and renamed it Normal_of_point_with_normal_pmap.
2009-06-17 07:49:35 +00:00
Nader Salman
9f60273060
Added Property maps in read_write_xyz_point_set_example.cpp
...
Fixed bug in read_off_points_and_normals and read_xyz_points_and_normals : Initialization of Normals to NULL_VECTOR when normal information is missing in the input file.
2009-06-15 14:15:59 +00:00
Laurent Saboret
1625af0907
Changes after Surface_reconstruction_points_3/Point_set_processing_3 submission review by AF (11):
...
Changes requested by AF on 06/12/2009:
* Point_set_processing_3:
- Fixed description of grid_simplify_point_set()
- Fixed description of read_xyz_points(), write_xyz_points(), read_off_points(), write_off_points()
- Added grid_simplify_example.cpp. It replaces random_simplify_example.cpp in Point_set_processing_3 User Manual.
* Surface_reconstruction_points_3:
- Small fixes in the User Manual.
2009-06-15 08:04:42 +00:00
Laurent Saboret
a15b486d24
Changes after Surface_reconstruction_points_3/Point_set_processing_3 submission review by AF (10):
...
Removed IndexPMap parameter of mst_orient_normals():
* Removed IndexPMap parameter of mst_orient_normals(). Instead, mst_orient_normals() creates internaly an Index_property_map object.
* Index_property_map is a template class "index" property map, which associates a 0-based index (unsigned int) to Iter iterators.
2 specializations exist:
- if Iter is a random access iterator (typically vector and deque), get() just calls std::distance() and is very efficient;
- else, the property map allocates a std::map to store indices and get() requires a lookup in the map.
* Index_property_map is moved to an independent header Index_property_map.h but is not documented.
2009-06-12 09:05:03 +00:00