Commit Graph

89 Commits

Author SHA1 Message Date
Mael Rouxel-Labbé b3d0565fff Removed useless comment 2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé 63611fe600 Kinetic regular example must use the weighted points table 2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé 2c9a759504 Restored active_weighted_points_3_table_handle()
Can't abuse active_points_3_table by camouflaging weighted points in it because
we need a separate point and weighted point type (since we do not want to
redefine all predicates less_x_3 for weighted points)
2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé daeead65a5 Added missing data file
Some tests actually tested nothing...
2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé e68b523481 Check if ifstream is well formed 2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé 9fbf2720ce Annihilated Regular_triangulation_euclidean_traits_23 across all packages
Left a little bit alive in the tests and in the Triangulation_23/doc
2017-06-28 10:15:30 +02:00
Sébastien Loriot 5212bb55a6 fix Core dependancies 2017-02-13 17:16:30 +01:00
Sébastien Loriot 6b338eeb1f improve the name of projects in cmake scripts of examples 2016-09-08 00:02:55 +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
Andreas Fabri 38d063539a cleanup 2015-10-02 08:17:19 +02:00
Sébastien Loriot 8601e5ef0f move Kinetic examples 2015-08-26 17:27:09 +02:00
Andreas Fabri 67d72675fe split packages 2015-08-17 23:46:59 +02: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
Laurent Rineau 75067bd072 Fix several I/O issues with Apple-clang-3.2 and its libc++ 2013-10-11 16:12:02 +02:00
Marc Glisse 6048b75e43 Typos. C++11 stream conversion to bool/void* changes. 2013-07-25 14:15:09 +02:00
Laurent Rineau d19578725b Fix warnings 2013-02-07 18:15:23 +01:00
Andreas Fabri 0a11128fc8 Remove extra ';' 2010-08-23 13:33:54 +00:00
Sylvain Pion e0a2006631 Remove semi-colon after main() function definition. 2009-12-12 14:32:20 +00:00
Daniel Russel a86384102a fix bad data path 2009-01-05 19:46:44 +00:00
Andreas Fabri 2989bd1953 Renamed examples in order to get unique names 2008-12-12 10:54:06 +00:00
Fernando Cacciola f93437ca22 Removed *unmodified* auto-generated CMakeLists.txt (now created by create_internal_release) 2008-05-05 14:01:55 +00:00
Fernando Cacciola b704509dcf Examples/Demos/Test CMake scripts updated 2008-03-05 21:14:02 +00:00
Fernando Cacciola a659cd852a Added project() and conditional test for CGAL_DIR 2008-02-14 15:42:36 +00:00
Fernando Cacciola 14043c43a0 Replaced CGALROOT by CGAL_DIR (the latters is used by CMake automatically) 2008-02-08 17:47:21 +00:00
Fernando Cacciola afddfc4fca CMake scripts for demos/examples/test added 2008-02-06 19:06:24 +00:00
Sylvain Pion 0ffeb44254 Add qualification needed by g++ 4.3. 2007-10-27 08:39:56 +00:00
Daniel Russel 5684bc8d55 removed variadic macro 2007-10-04 11:14:00 +00:00
Daniel Russel 6ade9c0a47 need full function call now 2007-06-15 20:55:31 +00:00
Daniel Russel 53eb88d003 some changes had gotten lost with regards to Listeners 2007-06-14 18:55:37 +00:00
Daniel Russel 09bed49916 odds and sods 2007-06-11 22:36:51 +00:00
Daniel Russel 7d9a1eaf8c libCGAL builds 2007-06-10 23:46:47 +00:00
Daniel Russel ccc339c225 remove #defines 2007-03-28 05:42:39 +00:00
Daniel Russel 63778b5594 try to turn off vc warning about this 2007-03-27 21:26:40 +00:00
Daniel Russel 953689b7dc test for VC before disabling warning 2007-03-26 22:28:18 +00:00
Daniel Russel 663a968a61 rename Instant_kernel to Default_instantnaeous_kernel to please new g++ 2007-03-26 22:17:39 +00:00
Andreas Fabri 64d93d66fd Removed unused parameter 2007-03-23 07:35:32 +00:00
Sylvain Pion 847c23a15e Removing leading and trailing empty lines from all example files.
Using the following Perl script:
-----------------------------------------------------
#!/usr/bin/perl

local($/) = undef;
my $text = <>;

$text =~ s/\A\n+//mg;
$text =~ s/\n+\Z/\n/mg;

print "$text";
-----------------------------------------------------
2007-03-10 16:17:17 +00:00
Sylvain Pion 6fb5cb906b Remove trailing white spaces and end of lines.
(using : perl -pi.bak -e 's/\s+$/\n/' */examples/*/*.cpp )
2007-03-10 14:59:41 +00:00
Andreas Meyer 932a105978 added missing example (it's empty, just to make the manual tools happy) 2007-02-20 13:54:58 +00:00
Daniel Russel 87d15b9189 restored original 2007-02-13 19:55:09 +00:00
Daniel Russel 741b21116d disabled some warnings and fixed walking off start of std::list 2007-02-13 19:27:34 +00:00
Daniel Russel b327b7c756 removed references to removed bit 2007-02-07 16:30:50 +00:00
Daniel Russel 238f8df4b4 minor tweaks 2007-01-30 02:06:49 +00:00
Daniel Russel 5e30af4a00 missing return in Sturm 2007-01-26 01:53:00 +00:00
Daniel Russel d18128c6d1 Oops, missed updating this one 2007-01-25 01:58:17 +00:00
Daniel Russel deb0ad36b8 added random check 2007-01-24 19:11:31 +00:00
Daniel Russel 6cc8fa0fbc examples now compile 2007-01-24 17:24:32 +00:00
Daniel Russel e28894d30a cleaned up names in KK and FK 2007-01-22 18:36:00 +00:00