Commit Graph

55 Commits

Author SHA1 Message Date
Luis Peñaranda cbdca2c35d Code refactoring.
The obsolete and unused code was removed. The interface was cleaned. The
memory leaks dissapeared (according to valgrind), because the pointers
to RS memory were removed.

For test purposes, the rational interface is not tested.
2013-11-19 16:07:24 -02:00
Laurent Rineau 21abdd09ed Merge remote-tracking branch 'origin/Algebraic_kernel_d-RS_remove_release_warnings'
- Remove warnings in include/CGAL/RS

Tested in CGAL-4.3-Ic-194
2013-10-09 14:49:45 +02:00
Luis Peñaranda 34485ce89d removed unused variables in release from rs calls 2013-10-04 15:32:04 -03:00
Luis Peñaranda d53c137525 removed unused variables in release from dyadic.h 2013-10-04 15:31:27 -03:00
Luis Peñaranda 5c74f47533 bugfix in polynomial converter 2013-09-24 17:36:42 -03:00
Luis Peñaranda f4ddb0eeb5 removed leading _ from polynomial interface 2013-09-19 16:55:54 -03:00
Luis Peñaranda 1f91465c32 removed leading _ from polynomial converter 2013-09-19 16:22:55 -03:00
Luis Peñaranda 7481e18eae remove leading underscores from isolator interface 2013-09-19 16:15:23 -03:00
Luis Peñaranda 44117e0ae2 removed leading underscores from memory interface 2013-09-19 16:08:40 -03:00
Luis Peñaranda 615fdb7905 remove leading underscores from class algebraic_1 2013-09-19 16:00:19 -03:00
Luis Peñaranda 81434d69fc corrected typo 2013-09-19 15:43:28 -03:00
Luis Peñaranda 9f45c20123 changed c-style to c++-style comments 2013-09-19 15:37:59 -03:00
Luis Peñaranda f92dc1c904 removed leading underscores from template names 2013-09-19 13:30:45 -03:00
Luis Peñaranda fc95783370 fix bug in refinement with very small precisions 2012-09-25 14:33:19 +00:00
Luis Peñaranda 98ea5fbe8f removed useless pointers from algebraic numbers 2012-08-24 14:14:19 +00:00
Luis Peñaranda 760211da15 allocate space for endpoints before refinement, in some cases 2012-08-23 18:16:41 +00:00
Luis Peñaranda a97e6329a0 improved algebraic number comparison 2012-08-23 18:16:37 +00:00
Luis Peñaranda faedebaba5 added flag to use ugcd 2012-07-19 15:46:15 +00:00
Luis Peñaranda 7b2ddd3188 avoided some link errors in gcd implementation 2012-07-18 19:20:54 +00:00
Eric Berberich 3c3372bf60 fixes if RS3 is not available 2012-03-29 13:44:24 +00:00
Eric Berberich af10650852 make functions inline in order to work with multiple compile objects
avoids linking error "duplicate symbols"
2012-03-20 13:09:04 +00:00
Sébastien Loriot 91a5327fa8 change LGPLv2 -> LGPLv3 2011-10-10 13:48:25 +00:00
Sébastien Loriot f727cacadb remove warning 2011-06-08 06:51:17 +00:00
Sébastien Loriot 99b35e7228 remove extra ; 2011-05-19 06:23:13 +00:00
Luis Peñaranda 425d9a51de added _1 suffix to some confusing filenames 2011-04-18 09:26:41 +00:00
Luis Peñaranda 021dba06ed separated isolator from the rest of the algebraic kernel 2011-04-14 14:18:31 +00:00
Luis Peñaranda 55e074e55f added RS-based univariate isolator 2011-04-13 13:05:45 +00:00
Luis Peñaranda 54f362ee7d corrected typo in yesterdays bugfix:
CGALRS_OLD_INCLUDES -> CGAL_RS_OLD_INCLUDES
2011-04-08 06:25:04 +00:00
Luis Peñaranda 0c8a49d845 changed signature of some functions, to allow older versions of RS to be
used
2011-04-07 15:53:14 +00:00
Luis Peñaranda 3f2d94e89b corrected addressing bug in Mac OS 64 bits 2011-04-06 11:44:36 +00:00
Luis Peñaranda 0aae365f09 updated my mail address 2011-03-22 10:11:01 +00:00
Michael Kerber f84868f7b1 Merged candidate package into trunk 2010-06-28 16:40:05 +00:00
Luis Peñaranda 354ab4298c made all kernel functors const 2010-05-13 14:59:30 +00:00
Luis Peñaranda 430bb28a72 reimplemented BoundBetween_1 by using Gmpfr instead of mpfr_t, avoiding a
small memory leak
2010-05-12 14:21:14 +00:00
Luis Peñaranda 453ad4a283 deleted old files 2010-04-01 10:27:28 +00:00
Luis Peñaranda 5afcc10c99 propagating changes 2010-04-01 10:27:08 +00:00
Michael Hemmer e89b8d73a5 operators of function objects should be const 2010-03-02 10:45:11 +00:00
Luis Peñaranda 52d8e1c670 changed macro names reported by check_macro_names script 2010-03-01 13:22:30 +00:00
Luis Peñaranda d3193017eb Gmpfr::to_fraction() -> Gmpq(Gmpfr) 2010-02-21 16:20:21 +00:00
Laurent Rineau 897bdd6d59 Merged revisions 53967-53968,54001-54002,54005-54007,54046,54058,54096,54098,54229,54237-54238 via svnmerge from
svn+ssh://lrineau@scm.gforge.inria.fr/svn/cgal/branches/CGAL-3.6-branch

........
  r53967 | lrineau | 2010-02-01 15:46:07 +0100 (Mon, 01 Feb 2010) | 2 lines
  
  Typo
........
  r53968 | lrineau | 2010-02-01 16:09:48 +0100 (Mon, 01 Feb 2010) | 2 lines
  
  Update the link to the installation manual.
........
  r54001 | fcacciola | 2010-02-02 16:34:59 +0100 (Tue, 02 Feb 2010) | 1 line
  
  Fixed warnings
........
  r54002 | fcacciola | 2010-02-02 16:50:18 +0100 (Tue, 02 Feb 2010) | 1 line
  
  CORRECT fix for the *branch* code
........
  r54005 | lrineau | 2010-02-02 21:26:25 +0100 (Tue, 02 Feb 2010) | 10 lines
  
  Backport from trunk:`
    | ------------------------------------------------------------------------
    | r53983 | afabri | 2010-02-02 14:26:07 +0100 (Tue, 02 Feb 2010) | 1 line
    | Changed paths:
    |    M /trunk/Triangulation_2/include/CGAL/Triangulation_line_face_circulator_2.h
    | 
    | Use the traits for comparing points, not ==
    | ------------------------------------------------------------------------
    | 
........
  r54006 | lrineau | 2010-02-03 14:12:26 +0100 (Wed, 03 Feb 2010) | 18 lines
  
  Backport from trunk:
    | ------------------------------------------------------------------------
    | r53978 | afabri | 2010-02-02 09:32:59 +0100 (Tue, 02 Feb 2010) | 1 line
    | Changed paths:
    |    M /trunk/Surface_mesh_simplification/test/Surface_mesh_simplification/test_edge_collapse_Polyhedron_3.cpp
    | 
    | Add virtual destructor in the testsuite to turn a 'W' to a 'Y'
    | ------------------------------------------------------------------------
    | r53988 | afabri | 2010-02-02 15:11:06 +0100 (Tue, 02 Feb 2010) | 1 line
    | Changed paths:
    |    M /trunk/Polyhedron/demo/Polyhedron/Messages_interface.h
    |    M /trunk/Polyhedron/demo/Polyhedron/Polyhedron_demo_io_plugin_interface.h
    |    M /trunk/Polyhedron/demo/Polyhedron/Polyhedron_demo_plugin_interface.h
    |    M /trunk/Polyhedron/demo/Polyhedron/Scene_draw_interface.h
    | 
    | Define virtual destructors
    | ------------------------------------------------------------------------
........
  r54007 | fcacciola | 2010-02-03 14:46:31 +0100 (Wed, 03 Feb 2010) | 1 line
  
  Added bug fix from recent user report (Feb-2010)
........
  r54046 | penarand | 2010-02-08 12:04:59 +0100 (Mon, 08 Feb 2010) | 3 lines
  
  removed Elias from authors
........
  r54058 | mcaroli | 2010-02-09 12:06:20 +0100 (Tue, 09 Feb 2010) | 3 lines
  
  replace version number by "last" in links to the online manual
  this is a merge from the trunk rev 54041
........
  r54096 | yvinec | 2010-02-10 15:08:17 +0100 (Wed, 10 Feb 2010) | 4 lines
  
  added Pierre and Jane as authors.
  Fixed approved by RM.
........
  r54098 | yvinec | 2010-02-10 15:17:49 +0100 (Wed, 10 Feb 2010) | 4 lines
  
  added Pierre and Jane as authors in Mesh_3.
  Fixed approved by RM
........
  r54229 | lrineau | 2010-02-19 13:52:46 +0100 (Fri, 19 Feb 2010) | 2 lines
  
  s|Qt/qglobal.h|QtCore/qglobal.h|
........
  r54237 | lrineau | 2010-02-19 17:43:53 +0100 (Fri, 19 Feb 2010) | 3 lines
  
  - Add a section about RS in the third party libraries of Preliminaries.
  - Use macros, to help the cross-referencing of RS.
........
  r54238 | stayeb | 2010-02-19 17:47:25 +0100 (Fri, 19 Feb 2010) | 1 line
  
  Bug fix: do not use infinite vertice to compute bbox.
........
2010-02-19 17:21:11 +00:00
Laurent Rineau b7d60899b4 Merged revisions 53941-53943,53950,53952-53953,53956,53958,53961,53963,53965 via svnmerge from
svn+ssh://lrineau@scm.gforge.inria.fr/svn/cgal/branches/CGAL-3.6-branch

........
  r53941 | lrineau | 2010-02-01 10:48:57 +0100 (Mon, 01 Feb 2010) | 2 lines
  
  Fix the CHANGES (typo, and forgot PT3 in 6.5)
........
  r53942 | penarand | 2010-02-01 11:54:35 +0100 (Mon, 01 Feb 2010) | 1 line
  
  changed the calls to the pow() functions in VC environments
........
  r53943 | penarand | 2010-02-01 11:59:26 +0100 (Mon, 01 Feb 2010) | 2 lines
  
  used standard number types to avoid VC errors and eliminated warnings in VC due to implicit casts
........
  r53950 | stayeb | 2010-02-01 12:55:10 +0100 (Mon, 01 Feb 2010) | 1 line
  
  Fix warning (MSVS2k8).
........
  r53952 | lrineau | 2010-02-01 13:07:16 +0100 (Mon, 01 Feb 2010) | 2 lines
  
  Remove the version number from strings of environment_variables.ini
........
  r53953 | hemmer | 2010-02-01 13:18:54 +0100 (Mon, 01 Feb 2010) | 2 lines
  
  fix license header 
........
  r53956 | penarand | 2010-02-01 13:42:57 +0100 (Mon, 01 Feb 2010) | 3 lines
  
  added Sylvain L. and myself to the AUTHORS file
........
  r53958 | lrineau | 2010-02-01 14:24:35 +0100 (Mon, 01 Feb 2010) | 2 lines
  
  Remove the CGAL version numbers from that file.
........
  r53961 | lrineau | 2010-02-01 15:32:55 +0100 (Mon, 01 Feb 2010) | 3 lines
  
  - Update to 3.6.
  - Add g++-4.4 in supported g++ versions.
........
  r53963 | penarand | 2010-02-01 15:41:32 +0100 (Mon, 01 Feb 2010) | 3 lines
  
  eliminated special treatment of pow() function on different compilers
........
  r53965 | lrineau | 2010-02-01 15:43:44 +0100 (Mon, 01 Feb 2010) | 15 lines
  
  Backport from trunk:
    | ------------------------------------------------------------------------
    | r53944 | afabri | 2010-02-01 12:21:50 +0100 (Mon, 01 Feb 2010) | 1 line
    | Changed paths:
    |    M /trunk/Minkowski_sum_3/doc_tex/Minkowski_sum_3/PkgDescription.tex
    | 
    | Add ccPkgLicense and \ccPkgDemo
    | ------------------------------------------------------------------------
    | r53945 | afabri | 2010-02-01 12:28:33 +0100 (Mon, 01 Feb 2010) | 1 line
    | Changed paths:
    |    M /trunk/Convex_decomposition_3/doc_tex/Convex_decomposition_3/PkgDescription.tex
    | 
    | Add ccPkgLicense
    | ------------------------------------------------------------------------
........
2010-02-01 14:45:09 +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 bb7acdc28c Merged revisions 53882,53891-53892,53900,53902-53905 via svnmerge from
svn+ssh://lrineau@scm.gforge.inria.fr/svn/cgal/branches/CGAL-3.6-branch

........
  r53882 | penarand | 2010-01-28 18:31:05 +0100 (Thu, 28 Jan 2010) | 5 lines
  
  corrected typo in preprocessing directive ( and -> && ), avoided some vc
  warnings by making some casts explicit and eliminated a spurious #include
  that made the compilation fail in some configurations without gmpxx
........
  r53891 | lrineau | 2010-01-29 10:03:49 +0100 (Fri, 29 Jan 2010) | 10 lines
  
  Merge from trunk:
    | ------------------------------------------------------------------------
    | r53889 | stayeb | 2010-01-29 09:47:00 +0100 (Fri, 29 Jan 2010) | 1 line
    | Changed paths:
    |    M /trunk/Mesh_3/include/CGAL/Mesh_3/vertex_perturbation.h
    | 
    | Fix: replace Vector_3() by CGAL::NULL_VECTOR.
    | ------------------------------------------------------------------------
........
  r53892 | lrineau | 2010-01-29 10:23:09 +0100 (Fri, 29 Jan 2010) | 3 lines
  
  We do not want PDB demos or examples: officially that library is only
  an internal tool.
........
  r53900 | lrineau | 2010-01-29 12:23:44 +0100 (Fri, 29 Jan 2010) | 2 lines
  
  Remove the GraphicsView demo of Bool_op_2 from the release.
........
  r53902 | lrineau | 2010-01-29 14:52:13 +0100 (Fri, 29 Jan 2010) | 3 lines
  
  Add a paragraph about the "determinitication" of 2D/3D triangulations,
  segment Voronoi, and Apollonius Graph.
........
  r53903 | lrineau | 2010-01-29 15:03:15 +0100 (Fri, 29 Jan 2010) | 2 lines
  
  typos
........
  r53904 | lrineau | 2010-01-29 15:23:34 +0100 (Fri, 29 Jan 2010) | 15 lines
  
  Merge from trunk:
    | ------------------------------------------------------------------------
    | r53887 | afabri | 2010-01-29 09:22:03 +0100 (Fri, 29 Jan 2010) | 1 line
    | Changed paths:
    |    M /trunk/Segment_Delaunay_graph_2/include/CGAL/Segment_Delaunay_graph_2/Segment_Delaunay_graph_hierarchy_2_impl.h
    | 
    | Default constructed boost::rand48 is good enough
    | ------------------------------------------------------------------------
    | r53888 | afabri | 2010-01-29 09:24:22 +0100 (Fri, 29 Jan 2010) | 1 line
    | Changed paths:
    |    M /trunk/Apollonius_graph_2/include/CGAL/Apollonius_graph_2/Apollonius_graph_hierarchy_2_impl.h
    | 
    | Default constructed boost::rand48 is good enough
    | ------------------------------------------------------------------------
........
  r53905 | lrineau | 2010-01-29 15:27:21 +0100 (Fri, 29 Jan 2010) | 38 lines
  
  Merge from trunk:
    | ------------------------------------------------------------------------
    | r53896 | lrineau | 2010-01-29 12:06:00 +0100 (Fri, 29 Jan 2010) | 2 lines
    | Changed paths:
    |    M /trunk/Polyhedron/demo/Polyhedron/MainWindow.ui
    |    M /trunk/Polyhedron/demo/Polyhedron/Nef_type.h
    |    M /trunk/Polyhedron/demo/Polyhedron/Nef_type_fwd.h
    |    M /trunk/Polyhedron/demo/Polyhedron/Polyhedron_demo_nef_plugin.cpp
    |    M /trunk/Polyhedron/demo/Polyhedron/Polyhedron_demo_triangulate_facets_plugin.cpp
    |    M /trunk/Polyhedron/demo/Polyhedron/Scene_nef_polyhedron_item.cpp
    |    M /trunk/Polyhedron/demo/Polyhedron/Scene_nef_polyhedron_item.h
    | 
    | Add 3D Minkowski sum to the (Nef) Polyhedron demo.
    | 
    | ------------------------------------------------------------------------
    | r53897 | lrineau | 2010-01-29 12:10:38 +0100 (Fri, 29 Jan 2010) | 2 lines
    | Changed paths:
    |    M /trunk/Polyhedron/demo/Polyhedron/Polyhedron_demo_nef_plugin.cpp
    | 
    | Add a missing break;
    | 
    | ------------------------------------------------------------------------
    | r53898 | lrineau | 2010-01-29 12:12:27 +0100 (Fri, 29 Jan 2010) | 2 lines
    | Changed paths:
    |    D /trunk/Minkowski_sum_3/demo
    | 
    | Remove demo/ from Minkowski_sum_3, as the polyhedron demo has the feature.
    | 
    | ------------------------------------------------------------------------
    | r53899 | lrineau | 2010-01-29 12:15:43 +0100 (Fri, 29 Jan 2010) | 2 lines
    | Changed paths:
    |    D /trunk/Nef_3/demo/Nef_3/makefile
    | 
    | Remove that old makefile
    | 
    | ------------------------------------------------------------------------
........
2010-01-29 14:35:38 +00:00
Luis Peñaranda 389f0f4821 eliminated unused parameter warning 2010-01-19 09:37:26 +00:00
Luis Peñaranda 6a1ba3ea45 deprecated Luis' modular gcd in favour of the RS one 2009-12-23 12:41:20 +00:00
Luis Peñaranda d96f41a2fb eliminated code related to the handling of RS allocators (now done automatically inside the library) 2009-12-23 12:01:58 +00:00
Luis Peñaranda aa4a3a1ebc avoid warning 2009-12-23 10:37:41 +00:00
Luis Peñaranda a4f3b2d50d mpfi_is_zero -> mpfr_zero_p (was buggy because of signed zero) 2009-12-23 09:58:49 +00:00
Luis Peñaranda 8ab3e99af4 using new RS sign evaluation 2009-12-22 22:02:27 +00:00
Luis Peñaranda 22c81379c6 created namespace RS3, containing for the moment only the refinement and
the newly added sign function; minor tunings; added the old refine_1.h file
to dont_submit
2009-12-22 13:39:59 +00:00