Andreas Fabri
34e8ed18f0
Fix the VC++ warnings reported in Issue #1904
2017-02-15 15:38:09 +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
Clément Jamin
4f90b26395
Update dependencies
2017-01-16 10:55:17 +01:00
Laurent Rineau
fe4a731dc2
Followup to #1736
...
Add `--no-warn-unused-cli` to avoid warnings.
2016-12-06 13:47:12 +01:00
Laurent Rineau
9a0bb54922
Merge pull request #1438 from sloriot/CGAL-clean_up_projects_name_cmake
...
Clean up projects name in cmake scripts
2016-10-05 13:02:25 +02:00
Andreas Fabri
b19bfc4300
remove instead of commenting
2016-09-20 14:41:07 +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
Andreas Fabri
16a9c384d4
typo
2016-09-01 12:44:37 +02:00
Andreas Fabri
c3ac74d4de
Make variables thread local
2016-08-31 14:05:22 +02:00
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