Commit Graph

212 Commits

Author SHA1 Message Date
Sébastien Loriot 4c29bf1b44 CMAKE_SOURCE_DIR -> CMAKE_CURRENT_SOURCE_DIR 2016-03-24 16:33:46 +01:00
Sébastien Loriot 881e4d3199 request Core only in examples, tests and demos when really needed 2016-03-07 22:36:57 +01:00
Sébastien Loriot 2d191d6651 commit CMakeLists.txt for all examples and tests 2016-03-07 17:39:36 +01:00
Philipp Möller 0a04a3a48f Use CGAL_DOC_VERSION 2016-02-11 15:37:54 +01:00
Andreas Fabri f62c18b783 Write to an ofstream and not to std::cout as VLD writes there too and output != gold 2016-01-27 09:45:51 +01:00
Philipp Möller 71b4e9c515 Use CGAL_FULL_VERSION in all Doxyfile.in 2015-12-17 16:33:28 +01:00
Philipp Möller 81a8f982dc Handle the easy INPUT cases
If INPUT is just PKG/doc/PKG, handle it automatically.
2015-12-10 17:00:26 +01:00
Sébastien Loriot 80f7e57f2e Merge remote-tracking branch 'cgal/releases/CGAL-4.7-branch' 2015-11-05 15:19:53 +01:00
Sébastien Loriot c4fb9bcfe1 improve comment 2015-11-04 10:59:20 +01:00
Sébastien Loriot b344412fa7 cheap fix of the use of floor(double) 2015-11-04 09:26:43 +01:00
Andreas Fabri 6e214c5f4a remove Qt3 demos and empty dontsubmit files 2015-09-30 12:51:40 +02:00
Laurent Rineau 6dcd671ffe Rename the test file
That fixes the following CMake warning:

    -- Configuring test in test/Snap_rounding_2
    Requested component: Core
    Requested component: MPFR
    Requested component: GMP
    CMake Warning (dev) at
    Installation/cmake/modules/CGAL_CreateSingleSourceCGALProgram.cmake:19
    (add_executable):
       Policy CMP0037 is not set: Target names should not be reserved and should
       match a validity pattern.  Run "cmake --help-policy CMP0037" for policy
       details.  Use the cmake_policy command to set the policy and suppress this
       warning.

       The target name "test" is reserved or not valid for certain CMake features,
       such as generator expressions, and may result in undefined behavior.
    Call Stack (most recent call first):
       buildEX/test/Snap_rounding_2/CMakeLists.txt:19
    (create_single_source_cgal_program)
    This warning is for project developers.  Use -Wno-dev to suppress
       it.
2015-07-13 16:00:26 +02:00
Sébastien Loriot 722abba27b cosmetic changes to remove mentions of QT4 2015-07-07 18:00:43 +02:00
Laurent Rineau 188ee42012 Restore the executable bit of all scripts 2015-01-07 17:54:56 +01:00
Andreas Fabri 242e3efc5c Add Dimension to Search_traits_kd_tree_2 2015-01-07 14:07:08 +01:00
m.overtheil 9da9cff768 Merge branch 'Spatial_searching-Rectangle_compiletimeD-gf' into Spatial_searching-final_acceleration-gf
Conflicts:
	Spatial_searching/benchmark/Spatial_searching/nn3cgal.cpp
	Spatial_searching/include/CGAL/Kd_tree.h
	Spatial_searching/include/CGAL/Kd_tree_node.h
2014-11-28 13:10:08 +01:00
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