Commit Graph

196 Commits

Author SHA1 Message Date
Laurent Rineau 73f4734525 Fix permissions 2014-05-15 18:33:36 +02:00
Eric Berberich 1d24106829 removed waarning (comparison signed/unsigned) shown in testsuite 2014-03-29 12:07:34 +01:00
Waqar Khan b08dd99dcc * In order for the examples to run sucessfully without any input arguments (which were required previously), the snap_rounding_data.cpp will run for the default input data file i.e. data/snap_rounding_data. In case of data file as input arguments, the user specified data file will be chosen 2014-03-26 12:22:01 +01:00
Eric Berberich ae14939d26 fixed copyright header 2014-03-11 14:09:48 +01:00
Eric Berberich 85894658ef fixed copyright headers 2014-03-10 00:03:24 +01:00
Waqar Khan 1c355ef42a 1. "Snap_rounding_traits_2.h" "Snap_rounding_kd_2.h" "Kd_tree.h" "snap_rounding_data.cpp", Changed the File header signature to match the templated signatures.
2. Made the required changes in the concepts i.e. in "Snap_rounding_2/doc/Snap_rounding_2/Concepts/SnapRoundingTraits_2.h"
 3. Added documentation for the reserve() method of Kd_tree
 4. Deleted the un maintained olk kd_tree package
2014-03-07 16:13:44 +01:00
Waqar Khan 0e14493632 1. "snap_rounding_data.cpp" Added Example usage in-code documentation. Removed the timer that recorded the amount of time taken by the snap_rounding. The timer was initally added to test the snap rounding running time difference using new Kd_trees
2. "Snap_rounding_kd_2.h" "Snap_rounding_traits_2.h" Added documentation and changed Copyright information and authors appropriately.
3. "kd_tree.h" Renamed the reserve_to_capacity() to reserve().
4. Snap_rounding_kd_new.h deleted
2014-03-01 18:58:40 +01:00
Eric Berberich e8ca703f02 refactored some classes
* simplified Point_with_history
* added second parameter (Traits) to Search_traits
* made classes internal
2014-02-18 14:58:09 +01:00
Waqar Khan 1feea5aff6 18-Feb-2014 Variable names modified appropriately in Snap_rounding_kd_2.h. Also snap_rounding_data.cpp modified to take output file as argument aswell 2014-02-18 01:51:07 +01:00
Waqar Khan 7a6b69cabc Debug messages removed 2014-02-18 01:41:45 +01:00
Waqar Khan 558bbf3bc4 Some unnecessary comments removed 2014-02-18 01:41:45 +01:00
Waqar Khan b46b37e7b2 reserve_to_capacity() method for Kd_tree.h that pre-allocated memory for points added. New Snap_rounding example added where the input data is taken from a file. Snap_rounding_kd_2.h modified to use the reserve_to_capacity method before creating the kd_tree. This improves the running time. 2014-02-18 01:41:44 +01:00
Waqar Khan 287669a500 code clean up 2014-02-18 01:41:44 +01:00
Waqar Khan 980351403c 30-January-2014 Snap rounding kd_tree replacement Completed. Thorough tests pending. 2014-02-18 01:41:43 +01:00
Waqar Khan 6c89d63be3 30-January-2014 Old kd_trees successfully replaced with new kd_trees (comments modified). Thourough testing still pending. 2014-02-18 01:41:43 +01:00
Waqar Khan 810adebb5b 30-January-2014 Old kd_trees successfully replaced with new kd_trees. Thourough testing still pending. 2014-02-18 01:41:43 +01:00
Waqar Khan ef8e0890e5 29-Jan-2014 Just addd a few comments 2014-02-18 01:41:42 +01:00
Waqar Khan f57279f804 27-Jan-2014 Progress made on kd_tree migration 2014-02-18 01:41:42 +01:00
Waqar Khan 3744c7b323 27-01-2014 new search traits now work with New Kd_trees. 2014-02-18 01:41:41 +01:00
Waqar Khan cdfcce9472 24-01-2014 Appropriate interface for new Kd_tree created 2014-02-18 01:41:41 +01:00
Sébastien Loriot 9114db9085 restore figure source files removed in 0fa2cacb
| commit 0fa2cacb60
  | Author: Sébastien Loriot <sebastien.loriot@cgal.org>
  | Date:   Tue Dec 3 17:27:02 2013 +0100
  |
  |     remove doc_tex documentation (including developer manual) and old manual tools
2014-02-10 14:54:23 +01:00
Laurent Rineau 269ae1ca61 Fix the uses of std::basic_ios::bad(), and use fail() instead.
bad() implies fail() but std::basic_ios::operator! is actually equivalent
to std::basic_ios::fail(), not bad().

For example,
    std::ifstream is(argv[1]);
    if (is.bad()) {
is probably wrong because, in case the file does not exist, only the failbit it set,
and not the badbit.

Other example:
   double x;
   is >> x;
If the stream 'is' does not contains a string that can represent a double,
then failbit is set (and maybe the eofbit if the stream is actually too
short), but not the badbit.

bad() can be used, in case fail() returned true, to discriminate between a
I/O error and a logical error.

See:
  http://en.cppreference.com/w/cpp/io/basic_ios/operator_bool
  http://en.cppreference.com/w/cpp/io/ios_base/iostate
2013-12-12 16:13:40 +01:00
Sébastien Loriot 0fa2cacb60 remove doc_tex documentation (including developer manual) and old manual tools 2013-12-03 17:27:02 +01:00
Philipp Möller ab47bfd93d Add a static assertion for SAVED_OBJECT to avoid misuse 2013-10-29 10:22:22 +01:00
Philipp Möller a588e0a294 Add destructor and delete allocated memory
In the only use case in the code base SAVED_OBJECT is a
pointer. Technically the deallocation of the objects should happen
inside the snap rounding algorithm itself, but this would some
modifications to the algorithm necessary. For simplicity
Multiple_kd_tree now takes ownership of the SAVED_OBJECTs and
deallocates them.
2013-10-28 11:51:09 +01:00
Philipp Möller 2560a04aa6 Delete allocated mul_kd_tree 2013-10-28 11:45:30 +01:00
Laurent Rineau bc03aaf30b Put doc/ in the global dont_submit file 2013-08-20 10:57:03 +02:00
Sébastien Loriot d282ade623 use \cgalCite instead of \cite
using perl -i -pe 's/\\cite\s*{?([a-zA-Z0-9:-]+)}?/\\cgalCite{$1}/g'
2013-08-05 18:25:26 +02:00
Sébastien Loriot b2ef3b8673 Merge branch 'doc-remove_gif-local'
Successfully test in CGAL-4.3-Ic-102

This commit fixes a few issues in the doxygen documentation and in particular
the figure for the generation of latex doc.

Approved by the interim release manager

xplain why this merge is necessary,
2013-07-26 17:50:07 +02:00
Sébastien Loriot 2dfe8a3d73 workaround for a doxygen bug: remove space after /!* to avoid a verbatim env
this happens if you have an empty line or the text directly after /!*
to find them in the generated documentation, grep for "pre class=\"fragment\""
(a few of them are legitimate however)
2013-07-25 14:58:53 +02:00
Sébastien Loriot 74a1ac055e remove pdf files from doxygen doc include path 2013-07-25 11:15:18 +02:00
Sébastien Loriot 519b301130 remove gif files from doxygen doc include path 2013-07-25 11:14:16 +02:00
Sébastien Loriot 4389b0bac8 remove the usage of gif in the doxygen doc as pdflatex does handle them
replace the files with png
2013-07-25 11:06:13 +02:00
Sébastien Loriot 716f87d2d7 rename Hidden_type to unspecified_type and update its description 2013-06-13 18:48:58 +02:00
Ross Hemsley 4d9caf3763 Added names that were missing into the Doxyfile.in entries.
Also modified Installation/CMakeLists.txt to push the version number variable to the parent level
so that it can be accessed by the documentation
2013-05-30 17:55:43 +02:00
Philipp Möller 4d469821f7 Generated Doxyfile.in and dependencies 2013-05-30 14:13:47 +02:00
Sébastien Loriot e991fe72ad really add last missing classified reference manual pages 2013-03-13 10:57:01 +01:00
Laurent Rineau 26a7e70785 New license.txt files (eol changes)
The new version 2.13.0 of licensecheck has changed the spaces at eol.
2013-02-19 16:46:39 +01:00
Sébastien Loriot 0d3205582a move sub-concepts into a namespace and fix linking issues 2013-01-24 06:39:03 +01:00
Sébastien Loriot 5ec28b1cf4 replacing the usage of section in user man by \cgalHeading macro call 2013-01-07 18:04:37 +01:00
Andreas Fabri 93b9832c72 polish Snap_rounding_2 2012-12-28 20:50:05 +01:00
Philipp Möller 75f69570dc Change the titles of mainpages to "User Manual"
This leads to a slightly odd result in the search for "User Manual",
but makes the pages themselves more consistent.
2012-12-13 14:47:09 +01:00
Philipp Möller 07f7ce5125 Define non-standard LaTeX symbol 2012-12-04 12:46:10 +01:00
Andreas Fabri aa61332278 fix typos and links 2012-11-29 17:58:40 +01:00
Sébastien Loriot 4ec9529581 Merge branch 'doxy-port-pmoeller'
Conflicts:
	.gitattributes
	Surface_reconstruction_points_3/include/CGAL/Poisson_reconstruction_function.h
	Surface_reconstruction_points_3/include/CGAL/Reconstruction_triangulation_3.h
	Surface_reconstruction_points_3/include/CGAL/k_nearest_neighbor.h
2012-11-27 10:05:41 +01:00
Sébastien Loriot 9576be3c3b add doc in dont_submit 2012-11-27 08:42:02 +01:00
Sébastien Loriot 920eb63882 backporting documentation changes of master@9fcc5b57 into doxy-port-pmoeller
Conflicts:
	Arrangement_on_surface_2/doc/Arrangement_on_surface_2/CGAL/Arr_linear_traits_2.h
	Installation/doc_tex/Installation/usage.tex
	Kernel_23/doc/Kernel_23/CGAL/Projection_traits_xy_3.h
	Mesh_2/doc/Mesh_2/Concepts/ConformingDelaunayTriangulationTraits_2.h
	Spatial_searching/doc/Spatial_searching/CGAL/Incremental_neighbor_search.h
	Spatial_searching/doc/Spatial_searching/CGAL/K_neighbor_search.h
	Spatial_searching/doc/Spatial_searching/CGAL/Orthogonal_incremental_neighbor_search.h
2012-11-23 22:54:31 +01:00
Sébastien Loriot 0d72388975 backport commit in tex file from master into doxygen 2012-11-23 19:03:21 +01:00
Sébastien Loriot ae8362b7d6 replace \cgalModels ::FOO by \cgalModels `FOO`
using:
 perl  -pi -e 's/\\cgalModels\s+::([A-Za-z0-9_:]+)\s*$/\\cgalModels `$1`\n/'
2012-11-23 09:37:53 +01:00
Sébastien Loriot a2dc9e08b8 typo and remove on longer valid macro 2012-11-19 16:15:19 +01:00