Commit Graph

58 Commits

Author SHA1 Message Date
Andreas Fabri 85851ec0b5 Replace std::rand with boost::rng48; Replace some int with size_t 2010-09-02 09:41:44 +00:00
Laurent Rineau cd66f60d5f Use a fully-qualified name for ::test, because otherwise there is a
conflict with something from Boost:

/home/lrineau/CGAL/boost/1.44-beta1/include/boost/type_traits/has_new_operator.hpp: In function 'int main()':
/home/lrineau/CGAL/boost/1.44-beta1/include/boost/type_traits/has_new_operator.hpp:24: error: 'template<class U, U x> struct boost::detail::test' is not a function,
/home/lrineau/CGAL/CGAL-3.7-I-135/cmake/platforms/x86-64_Linux-2.6_g++-4.4.4_F13-MATCHING-BUG-6/test/Min_sphere_of_spheres_d/interface_check.cpp:147: error:   conflict with 'template<int D, class FT, class Sqrt, class Alg> void test(int, const FT&)'
/home/lrineau/CGAL/CGAL-3.7-I-135/cmake/platforms/x86-64_Linux-2.6_g++-4.4.4_F13-MATCHING-BUG-6/test/Min_sphere_of_spheres_d/interface_check.cpp:210: error:   in call to 'test'
2010-08-13 16:19:37 +00:00
Sylvain Pion 614648f270 Remove useless *.pstex and *.pstex_t generated files. 2009-09-18 13:35:53 +00:00
Sylvain Pion c64841cf8b Remove EPS files (last part). 2009-09-18 13:33:42 +00:00
Andreas Fabri eca8ac4f69 0.0.f -> 0.0f 2009-07-09 08:20:14 +00:00
Andreas Fabri e15dc70e19 int to float conversion gives also a warning, so let's pass a 0.0f instead. Strange that they don't make an exception for constant 0 2009-07-08 09:38:48 +00:00
Andreas Fabri 5a8f32b062 Change '0.0' to '0', so that there is no warning in case FT is float 2009-07-07 16:07:33 +00:00
Sylvain Pion 3fab8f07fb Fix \E_* to \E^* thinko/copy-pasto.
Remove one more \ccTexHtml as well.
2009-01-03 14:29:04 +00:00
Sylvain Pion 0b1cbeb045 \emptyset is recognized by the HTML converter, so, no need for special treatment. 2009-01-02 17:23:53 +00:00
Ophir Setter 4fd11bed38 SqrOfEps<FT>::result is now an inline static function. 2008-12-14 12:35:21 +00:00
Laurent Rineau bd59c8874b Tol<FT>::result is now an inline static function, to
workaround a bug of g++>=4.1
  http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36912
g++ does not like const floating expression when -frounding-math
is used.
2008-12-12 10:53:21 +00:00
Ophir Setter 34cb35ae60 inlining the functions and declaring the constants static 2008-12-11 17:42:54 +00:00
Andreas Fabri dafbd04e48 one less warning for VC++ 2008-11-25 11:20:08 +00:00
Bernd Gärtner e6700e6684 added call of support_iterator and fixed type issues 2008-10-28 09:21:39 +00:00
Bernd Gärtner 1e1d6b2ff2 double -> float warning fix 2008-10-14 09:25:06 +00:00
Sylvain Pion dc3bf72707 Remove changes.txt files. 2008-07-24 17:47:16 +00:00
Sylvain Pion 9c48ddeb77 Rename *.C to *.cpp. 2008-07-16 08:26:11 +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 b24108f5fd Remove #include <cassert> from everywhere under include/CGAL/.
CGAL code has to use CGAL assertions instead.
2008-01-20 18:47:19 +00:00
Sylvain Pion 58a78cfc02 Add missing include 2007-12-26 22:24:01 +00:00
Sylvain Pion a46b55bf71 The files "changes.txt", "description.txt", "long_description.txt" and "maintainer"
are now under /trunk/$Package/package_info/$Package/ .
2007-12-02 15:06:42 +00:00
Andreas Meyer fdeedcf8b0 some low level code cleanup. renamed
* CGAL_error to CGAL_error_msg
* introduced a macro CGAL_error()
* added some words about CGAL_error to the developers manual
* renamed most of assert(x) into CGAL_assertion(x)
* renamed exit(x) with x != 0 , CGAL_assertion(false) and assert(false) into CGAL_error
* CORE left untouched, OpenNL changed
2007-11-07 16:51:18 +00:00
Andreas Meyer 57ad8202ea replace Bounded_volume -> Bounding_volume, step (2) 2007-06-05 12:35:12 +00:00
Andreas Meyer 3d216d4abc replace Bounded_volume -> Bounding_volume, step (1) 2007-06-05 12:29:54 +00:00
Andreas Fabri 339ac28522 remove unused parameter 2007-04-06 09:08:04 +00:00
Andreas Fabri 84a5325940 remove unused parameter 2007-04-06 09:02:13 +00:00
Andreas Fabri 9b79eedd83 cleanup 2007-04-02 10:26:01 +00:00
Andreas Fabri 834fca0b6b renamed chapter 2007-04-02 09:30:19 +00:00
Andreas Fabri 94534c95f1 renamed chapter 2007-04-02 09:21:24 +00:00
Andreas Fabri 77b457f7e5 removed unused parameters 2007-03-17 09:06:57 +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
Sylvain Pion b8b87ab5a5 Actually, the "// file: example_bla.cpp" lines are not needed anymore,
since the manual tools know it.  So let's just remove them (many were
not uptodate with the filemane anyway).
2007-03-10 14:48:00 +00:00
Sylvain Pion 23edc11d3b Fix all first lines of examples "// file : example_file.C" to .cpp suffix.
Using :

for i in * ; do  cd $i ; for f in examples/*/*.cpp ; do ( head -1 $f | grep file | grep -v '\.cpp' ) && echo $f && perl -pi.bak -e 's/\.C$/.cpp/' $f ; done ; cd .. ; done
2007-03-10 14:34:05 +00:00
Andreas Fabri 1847edf0b7 .C -> .cpp 2007-02-16 16:43:24 +00:00
Bernd Gärtner 8d067bfa13 - C-files removed from include/CGAL 2007-02-16 16:02:10 +00:00
Sylvain Pion a4593cfe20 Remove obsolete work-arounds. 2007-02-15 21:10:06 +00:00
Andreas Meyer 80e87e8190 manual bugfixes regarding ccIncludeExampleCode 2006-10-31 14:11:10 +00:00
Andreas Fabri b9a9b85c2e no need for 'example' in the name as they are in a directory of yhat name 2006-10-30 16:44:54 +00:00
Michael Hemmer 1522751852 rm nameclash with global function is_exact 2006-10-28 13:05:43 +00:00
Andreas Fabri beedd15017 fixed min/max problem 2006-08-17 09:22:57 +00:00
Andreas Meyer c51efe2626 replaced ccIncludeVerbatim by ccIncludeExampleCode, where appropriate 2006-08-09 14:19:50 +00:00
Andreas Meyer b454b3febd manual cleanup:
* .C ---> .cpp
* removed ../examples from paths
* moved some demo/example files out of doc_tex into their respective place
* now it should build properly, again
2006-08-07 16:43:09 +00:00
Andreas Fabri cd95c341da fix min/max problem 2006-08-03 03:36:00 +00:00
Bernd Gärtner 629b2e6296 .C -> _impl.h 2006-07-11 13:19:20 +00:00
Bernd Gärtner e4ec316b11 file move 2006-07-11 13:12:00 +00:00