Commit Graph

47665 Commits

Author SHA1 Message Date
Philipp Möller f54c490220 Also remove the testfile. 2012-05-07 08:42:08 +00:00
Philipp Möller d0310bf67e Missed a }; that was an ifdef instead of an ifndef. 2012-04-13 14:23:20 +00:00
Philipp Möller 4b94e19445 Completely remove any mentions of the TMPL_IN_TMPL workaround from the
documentation.
2012-04-13 14:22:03 +00:00
Philipp Möller 8f1ce2412c Removed all places where the CGAL_CFG_NO_TMPL_IN_TMPL work-around was
used. Those were mostly in Polyhedron and HalfedgeDS but some places
in Arrangement_2 used it, too. Neither of the parts of Arrangement_2
have been documented.
2012-04-13 13:13:30 +00:00
Philipp Möller 248f88c892 Added deprecated tags to the documentation of HalfedgeDS_default when
the work-around was concerned.
2012-04-13 13:00:42 +00:00
Philipp Möller 2a9cea596a Reawaken the feature branch that was lost in the copy/move/delete/revert
operations before.
2012-04-13 12:08:30 +00:00
Laurent Rineau eef911bc02 New MPL type checking: is_streamable
is_streamable is a meta-function that checks if a type is streamable

is_streamable<T>::value is true iff the type T has stream operators <<
and >>. Otherwise it is false.


That commit adds a new header, used nowhere, and a new test. That cannot
break anything. I do it directly to 'next', with my own approval.
2012-04-13 10:40:12 +00:00
Laurent Rineau 678f252224 Add missing test for <CGAL/is_iterator.h> 2012-04-13 10:20:43 +00:00
Laurent Rineau 5d3bd1094c In the testsuite, once the reference cache is loaded, unset some nasty
variables, such as eg. CGAL_Qt4_BINARY_DIR.
2012-04-13 07:55:43 +00:00
Laurent Rineau f22ae81a91 Trivial bug: add missing #include
If CGAL::cpp0x::tuple is Boosts implementation, one wants equality operator
operator==.

Add the corresponding test in test/STL_Extension/.
2012-04-12 14:35:20 +00:00
Laurent Rineau 40f3e21e3e Recompile Boost libraries with g++-4.5
On that machine, I use g++-4.5, 4.6, and 4.7. If I compile the Boost
libraries with the oldest compiler, the binary compatibility is ensured,
because the soname of libstd++ is libstdc++.so.6 for all of those
compilers (but the binary compatibility is only ensured backward: if a
Boost library is compiled with g++-4.6, that does not work if it is after
linked with libstdc++ of g++-4.5).
2012-04-12 11:45:31 +00:00
Laurent Rineau c8cacc83c0 Changes for CGAL-4.0.1 that were not yet written 2012-04-11 17:03:36 +00:00
Laurent Rineau 14cca2bcd3 All platforms are now updated with the new Boost compilations. 2012-04-11 15:58:58 +00:00
Laurent Rineau 8363c0e8d6 Use new recompilation of Boost libraries (with the -mt variant) 2012-04-11 15:49:58 +00:00
Laurent Rineau 61f3360fca Use new recompilation of Boost libraries (with the -mt variant) 2012-04-11 15:24:15 +00:00
Laurent Rineau 2fe6b87265 Use new recompilation of Boost libraries (with the -mt variant) 2012-04-11 15:24:02 +00:00
Laurent Rineau 1806c94493 Re-run 'cmake .' in all reference platforms directories 2012-04-11 14:58:00 +00:00
Laurent Rineau e8be56654c Fix the BibTeX entry for Arr_2. 2012-04-11 13:37:35 +00:00
Laurent Rineau bbee79552e Update the script that recompiles my Boost libraries.
- Only one variant: multithread, shared, release, with the tagged layout,
so that the soname ends with "-mt.so",
- and do not compile all Boost libraries.
2012-04-11 13:37:13 +00:00
Laurent Rineau eb52def3db Restore indentation (one line) after a modification by a Windows developer 2012-04-10 12:08:05 +00:00
Sébastien Loriot 60e0148504 update changes.html 2012-04-05 12:43:15 +00:00
Sébastien Loriot 8db3036330 BUGFIX
correct error in intersection computation of triangle_3 segment_3
when the segment is collinear with a triangle edge.
2012-04-05 11:57:58 +00:00
Laurent Rineau 9f2c46210e svn:ignore 2012-04-05 10:25:25 +00:00
Laurent Rineau 73583823bf Merge /branches/features/Triangulation_23-speedup_copy_tds-afabri
"Use Unique_has_map instead of std::map (patch from Andreas Fabri)"
2012-04-04 16:12:23 +00:00
Laurent Rineau e4dba3f327 Fix the computation of md5sum 2012-04-04 15:43:16 +00:00
Laurent Rineau 348d51bde3 Fill svn:ignore properties 2012-04-02 13:15:50 +00:00
Laurent Rineau 6a560629d2 Adapt Periodic_3 to the new API of TDS_3::print_cells. 2012-04-02 13:08:57 +00:00
Laurent Rineau afbb0e161c Vd_2 is under GPLv3+.
That is the new result of Scripts/developer_scripts/detect_packages_licenses
2012-03-30 16:00:11 +00:00
Menelaos Karavelas cb981fd797 Switched the Voronoi_diagram_2 license from QPL to GPLv3+
Removed the '*' from dont_submit, which means that VD2 is back into internal releases
2012-03-30 15:53:30 +00:00
Guillaume Damiand 117f427e44 Bug fix in Color manual 2012-03-30 12:48:16 +00:00
Laurent Rineau 95bec3999c Use Unique_has_map instead of std::map (patch from Andreas Fabri)
The gain on copies of T2 or T3 is the following:


afabri@klimt /cygdrive/c/cgal/next/Triangulation_3/benchmark/Triangulation_3
$ ./copy 1000000 2
36.806 sec

afabri@klimt /cygdrive/c/cgal/next/Triangulation_3/benchmark/Triangulation_3
$ ./copy 1000000 2
4.865 sec

The benchmarck copy.cpp is the following (not commited):

#define  CGAL_T3_HASH
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
#include <CGAL/Delaunay_triangulation_3.h>
#include <CGAL/Timer.h>
#include <CGAL/point_generators_3.h>


#include <iostream>
#include <fstream>
#include <string>
#include <vector>

typedef CGAL::Exact_predicates_inexact_constructions_kernel  K;
typedef CGAL::Delaunay_triangulation_3<K> Delaunay;
typedef K::Point_3                                     Point;
typedef CGAL::Creator_uniform_3<double,Point>  Creator;



int main(int argc, char **argv)
{
  int n=1000000;
  int rep=100;
  if (argc>=2)
    n=atoi(argv[1]);
  if (argc>=3)
    rep=atoi(argv[2]);
  std::vector<Point> points;
  points.reserve(n);  
  CGAL::Random_points_in_sphere_3<Point,Creator> g(1);
  CGAL::copy_n( g, n, std::back_inserter(points));
  Delaunay original;
  original.insert(points.begin(),points.end());
  
  double res = 0;
  for (int r=0;r<rep;++r){
    CGAL::Timer t;    t.start();
    Delaunay delaunay=original;
    t.stop();
    res+=t.time();
  }

  std::cout << res << std::endl;
            
  return 0;
}
2012-03-30 12:37:19 +00:00
Laurent Rineau 2b8de18154 Create a branch to speedup the copy of TDS, in 2D and 3D 2012-03-30 12:12:57 +00:00
Guillaume Damiand 866214ec29 Branch features/Combinatorial_map_removal_special_case-gdamiand is reintegrate in next 2012-03-29 13:49:08 +00:00
Guillaume Damiand b573a45410 update changes.html 2012-03-29 13:46:19 +00:00
Eric Berberich 3c3372bf60 fixes if RS3 is not available 2012-03-29 13:44:24 +00:00
Guillaume Damiand 7335112525 Merge with next 2012-03-29 13:43:02 +00:00
Laurent Rineau c3e96a1a11 Merge /branches/features/Installation-cleanup_cmake_scripts-lrineau 2012-03-29 13:29:46 +00:00
Laurent Rineau 0b781e5986 Remove FindBoost. Upstream CMake FindBoost script is better that ours. 2012-03-28 14:38:04 +00:00
Laurent Rineau 28ecd11d95 Remove that file that is also a standard CMake module 2012-03-28 13:50:41 +00:00
Laurent Rineau 5771a62a83 Remove CGAL_FindPackageHandleStandardArgs.cmake
FindPackageHandleStandardArg is a standard CMake module
2012-03-28 13:48:33 +00:00
Laurent Rineau 390c1590a8 Fix the parsing of dont_submit in branch build 2012-03-28 13:47:08 +00:00
Laurent Rineau ffcc93953f Create a branch to clean a bit Installation/cmake/modules 2012-03-28 13:45:37 +00:00
Guillaume Damiand dc5e3b4015 Backport of r68222 from branches/features/Linear_cell_complex_menger_sponge-gdamiand/Combinatorial_map 2012-03-27 12:41:41 +00:00
Laurent Rineau daec68dc43 Fix the Surface_mesher demo on gray level images
- Now its works better with gray images that have negative values.
- The research of seeds now create better initial points: the intersection
  points are search locally to the discovered connected components.
2012-03-27 09:35:13 +00:00
Guillaume Damiand 1fc6c4b599 Backport of r68217 from branches/features/Linear_cell_complex_menger_sponge-gdamiand 2012-03-26 20:14:54 +00:00
Laurent Rineau 5bfb68ce95 updated crontab (automated commit) 2012-03-26 19:18:02 +00:00
Laurent Rineau ad035ba167 Fix an important bug due to a typo ('z'<->'x') in the following commit:
| ------------------------------------------------------------------------
  | r66980 | sloriot | 2012-01-04 12:10:46 +0100 (Wed, 04 Jan 2012) | 3 lines
  | 
  | follow up of r66938 to avoid int overflow (suggested by Laurent)
  | 
  | 
  | ------------------------------------------------------------------------
2012-03-26 16:52:17 +00:00
Guillaume Damiand bf1cdcf7a8 Add the special case for removal operation 2012-03-26 12:51:35 +00:00
Guillaume Damiand 0fe71090ce Bug fix in a special case of removal operation. 2012-03-26 12:48:57 +00:00
Sébastien Loriot 15f43b4ecc test that the cached include path is valid 2012-03-26 09:43:07 +00:00