Commit Graph

88 Commits

Author SHA1 Message Date
Laurent Rineau db194534c7 First big patch to fix -Wunused-local-typedefs
-Wunused-local-typedefs is a new warning flag of gcc-4.7, and it will enabled
 by -Wall since gcc-4.8 (not yet released).

The fix is a big set of removals of unused typedefs (or comments, or moves,
depending on the context).
2012-08-01 13:29:16 +00:00
Sébastien Loriot cee248ca54 merge from next 2012-01-13 18:48:35 +00:00
Laurent Rineau 8f59fd9592 Turn QPL into LGPLv3+ 2012-01-13 16:33:35 +00:00
Sébastien Loriot bdcf26bb20 merge next 2011-12-01 09:19:02 +00:00
Andreas Fabri 85dfc17bf2 Remove memory sizer as it slows down and is not cross platform 2011-09-27 09:26:50 +00:00
Andreas Fabri bb61c681a2 reserve in a vector and get end() iterstor once 2011-09-27 09:25:35 +00:00
Sébastien Loriot 896d9e31b0 remove peak_memory_sizer that uses Taucs, slow computation and is not working
on all platforms.

By default poisson now uses Eigen is available and Taucs otherwise
2011-09-22 10:34:04 +00:00
Pierre Alliez 8c356f15e9 Poisson reconstruction: back to un-normalized divergent 2011-04-29 14:39:35 +00:00
Laurent Rineau 407ec06d2b Remove a std::cerr 2011-03-23 15:13:11 +00:00
Marc Glisse f81bded5c7 Remove extra ';'. 2011-03-21 12:42:24 +00:00
Sébastien Loriot a2cec87f46 replace remaing fabs in include files by CGAL::abs 2011-02-18 15:37:40 +00:00
Andreas Fabri c5f08385c4 Add 'using' 2010-12-07 13:12:24 +00:00
Andreas Fabri fc92f30f5f Call the right predicate, as the old one calls circumcenter during the construction of the Sphere 2010-08-31 11:56:22 +00:00
Andreas Fabri 4ae93225bb bugfix: the wrong point was chosen for the triangle 2010-08-27 13:13:14 +00:00
Laurent Rineau eb0339b4cc Change the values of poisson_reconstruction_function when the query point
is outside of the "poisson triangulation" (triangulation that has been
computed internally to the function): now, instead of returning an
arbitrary huge value (whose sign can be wrong), returns the value of one of
the vertex on the convex hull.
2010-08-20 12:51:33 +00:00
Andreas Fabri 0e743a8b09 incident_vertices -> adjacent_vertices 2010-08-18 09:20:35 +00:00
Andreas Fabri 530ee2b4d0 Fix a bug in area_voronoi_face (the area of the last triangle was missing) 2010-08-18 08:51:55 +00:00
Andreas Fabri a2ecd30c49 Improve performance of assemble_poisson_row 2010-08-18 08:46:29 +00:00
Andreas Fabri eec61ad612 bug fix in for loop 2010-08-14 14:30:44 +00:00
Andreas Fabri 11f9c270a4 Rewrite of loops 2010-08-10 13:22:20 +00:00
Andreas Fabri e3b6097631 remove 2010-08-10 11:53:22 +00:00
Andreas Fabri f4c074a0da Returning a const double& is slower than a copy 2010-08-10 11:51:05 +00:00
Andreas Fabri ba6f72ac3f Initialize in the initializer list 2010-08-10 11:44:18 +00:00
Laurent Saboret 80771679b3 Updated Poisson_reconstruction_function documentation with generate_reference_manual 1.3.1 2010-06-20 17:43:29 +00:00
Sébastien Loriot 52317dd49f add python script (replace_CGAL_NAMESPACE.py) to replace CGAL_BEGIN_NAMESPACE and CGAL_END_NAMESPACE
by namespace CGAL { and } //namespace CGAL. in all .h and .cpp files
in a directory.
Apply it to all packages in the trunk
Remove macro definition from the config.h file.
2010-06-09 07:37:13 +00:00
Andreas Fabri 2db81b6688 Add 'using' statement for ansi compliance 2010-05-11 08:44:43 +00:00
Nader Salman 59322188ac Added a missing #include <CGAL/Surface_mesh_traits_generator_3.h> 2010-03-18 09:12:11 +00:00
Sylvain Pion 85dc12f2a7 Remove empty lines at beginning and end of files
(apply Scripts/developer_scripts/remove_empty_lines.pl).
2010-02-01 12:55:28 +00:00
Laurent Rineau b4ab5b9a23 Merged revisions 53726-53727,53786 via svnmerge from
svn+ssh://lrineau@scm.gforge.inria.fr/svn/cgal/branches/CGAL-3.6-branch

........
  r53726 | lrineau | 2010-01-22 14:11:32 +0100 (Fri, 22 Jan 2010) | 7 lines
  
  Merge from CGAL-3.5-branch:
    | ------------------------------------------------------------------------
    | r50580 | lsaboret | 2009-07-13 11:50:06 +0200 (Mon, 13 Jul 2009) | 1 line
    | 
    | Removed APSS from CGAL 3.5
    | ------------------------------------------------------------------------
........
  r53727 | lrineau | 2010-01-22 14:18:09 +0100 (Fri, 22 Jan 2010) | 1 line
  
  I forgot those files (remove APSS).
........
  r53786 | lrineau | 2010-01-25 23:36:18 +0100 (Mon, 25 Jan 2010) | 1 line
  
  Remove APSS from CGAL-3.6.
  The old code is now in
  /branches/unsorted-branches/Surface_reconstruction_points_3-with-APSS/
........
2010-01-26 09:30:46 +00:00
Stéphane Tayeb a7c00d7595 Add #include<trace.h> where needed (i think i broke that when i worked on *_assertions.h files) 2009-10-16 08:50:48 +00:00
Stéphane Tayeb 8dceee4164 Add include<CGAL/assertions.h> in *_assertion files. 2009-10-07 13:16:13 +00:00
Stéphane Tayeb 770492c1c7 Use new version of script create_assertions.sh to generate *_assertions.h files.
Diffs are:
 * #undef added
 * in old files, (void)0 is replaced by static_cast<void>(0)
 * in old files, lines as "#  define CGAL_xxx_assertion 1" are added
 * in point_set_processing_assertions.h, surface_mesh_parameterization_assertions.h, surface_reconstruction_points_assertions.h, "|| defined(CGAL_NDEBUG)" is replaced by "|| defined (NDEBUG)"
 * protective macros (if any) are removed
 * included files if any (<CGAL/assertions.h>, <CGAL/trace.h>) are removed
2009-10-07 07:49:44 +00:00
Laurent Saboret 05b7683855 Added support of Intel MKL/Pardiso sparse linear solver:
* Poisson_reconstruction_function::compute_implicit_function() gets a new parameter = the solver to use (TAUCS by default).
* It uses SparseLinearAlgebraTraits_d traits classes and not Taucs_solver anymore.
* poisson_reconstruction example accepts a new parameter -solver = taucs or mkl.
2009-10-01 10:46:44 +00:00
Laurent Saboret e3ad01d00f Fixed compilation warning 2009-09-29 09:49:23 +00:00
Laurent Saboret 875d360a13 * Bug fix in find_inner_point(): find point (close to) minimum of implicit function instead of random point inside surface 2009-09-10 09:21:10 +00:00
Pierre Alliez 937d57808f update barycentric coordinates - thanks Andreas. 2009-09-08 07:03:30 +00:00
Laurent Saboret f26a4c18f0 Fixed assertion failure "tester(d)" in Triangulation_3::find_conflicts() when running the Delaunay refinement:
* To reproduce the bug:
> poisson_reconstruction data/sphere926.pwn sphere926-poisson.off
(try several times)

* The fix is:
- implement Robust_circumcenter_filtered_traits_3::compute_squared_radius_3_object()
- compare denominator with 1E-13 (instead of 1E-14) to switch to exact arithmetic
2009-09-07 17:10:06 +00:00
Laurent Saboret 0a9f6181d5 Fixed infinite loop in Min_sphere_d:
* On Linux/g++, the bug could be reproduced by:
> poisson_reconstruction data/sphere926.pwn sphere926-poisson.off

* The fix was do use Min_sphere_of_spheres_d instead of Min_sphere_d
2009-09-07 14:06:13 +00:00
Andreas Fabri 5d0c59cbd9 VC++ doesn't know whether Tds is the template parameter or the inherited typedef ... Tds; which is defined in the scope of the base class Triangulation_3 2009-08-25 21:06:46 +00:00
Laurent Saboret fa8674926a Improved traces 2009-08-24 16:05:20 +00:00
Laurent Saboret d5475f496c Improved performance traces 2009-08-03 14:47:05 +00:00
Laurent Saboret f7831a6a82 Improved performance traces 2009-07-31 10:49:16 +00:00
Laurent Saboret aacac9bdf0 Improved performance traces 2009-07-30 12:55:44 +00:00
Laurent Saboret 0295e64d9b Move Surface_reconstruction_points_3 with APSS (targeting CGAL 3.6) from experimental-packages to trunk 2009-07-28 07:26:07 +00:00
Laurent Saboret 740a0faa6e Move Surface_reconstruction_points_3 with APSS (targeting CGAL 3.6) from experimental-packages to trunk 2009-07-28 07:24:21 +00:00
Laurent Saboret 15e3dd6fee Removed APSS from CGAL 3.5 2009-07-13 09:50:06 +00:00
Laurent Saboret 934da2da49 Removed Poisson_reconstruction_function::Triangulation type and triangulation() function (obsolete) 2009-07-01 11:59:09 +00:00
Laurent Saboret feb5bdff59 Changed variables name and comments to match APSS_reconstruction_example.cpp and poisson_reconstruction_example.cpp (easier to maintain code). 2009-07-01 11:35:41 +00:00
Laurent Saboret 97d6b4187e Renamed 'size' variables as 'radius' (easier to understand) 2009-06-30 13:15:45 +00:00
Laurent Saboret 1f05a2989a Moved output_surface_facets_to_polyhedron() from Surface_reconstruction_points_3 to Surface_mesher 2009-06-29 13:31:24 +00:00