Commit Graph

194 Commits

Author SHA1 Message Date
Andreas Fabri fb51a69c7c Mesh_2 2018-01-17 16:50:21 +00:00
Sébastien Loriot ee57fc2d6c add SPDX identifier for files under the GPL-3+ license 2017-11-12 10:17:51 +01:00
Mael Rouxel-Labbé 0334001bb4 AG's vertex base must define a Point type to be a model of the Vertex base concept 2017-06-28 10:15:30 +02:00
Andreas Fabri dfb37af958 test dependencies in Mesh_2 2017-04-06 13:16:35 +02:00
Sébastien Loriot 50510c05ea add include directive for license of all GPL header files
done using:
ack-grep "^GPL" */package_info/*/license.txt -l | awk -F "/" '{print $1}' > /tmp/gpl_packages
for i in `cat /tmp/gpl_packages | \
          grep -v Operations_on_polyhedra | \
          grep -v Algebraic_kernel_for_circles | \
          grep -v Algebraic_kernel_for_spheres | \
          grep -v Polyhedron_IO`;
do
  echo $i
  python Scripts/developer_scripts/add_license_in_pkg_header.py $i
done
python Scripts/developer_scripts/add_license_in_pkg_header.py Operations_on_polyhedra Polygon_mesh_processing
python Scripts/developer_scripts/add_license_in_pkg_header.py Algebraic_kernel_for_circles Circular_kernel_2
python Scripts/developer_scripts/add_license_in_pkg_header.py Algebraic_kernel_for_spheres Circular_kernel_3
python Scripts/developer_scripts/add_license_in_pkg_header.py Polyhedron_IO Polyhedron
2017-01-19 15:20:25 +01:00
Laurent Rineau e51c4418c9 Merge pull request #1646 from afabri/Apollonius_graph-static-GF
Apollonius_graph: make variables atomic
2016-11-18 10:56:28 +01:00
Andreas Fabri ba889e3c96 Take Laurent's comments into account 2016-11-02 14:39:07 +01:00
Andreas Fabri 6dbc1986e9 make the profiling counters atomic 2016-11-01 17:39:23 +01:00
Laurent Rineau c826500c7d Merge pull request #1551 from mglisse/Number_types-gmpxx_coercion-glisse
Misc GMPXX fixes
2016-10-20 09:47:39 +02:00
Marc Glisse 606840f1e1 Specify the number type, for expression templates. 2016-10-13 08:34:11 +02:00
Sébastien Loriot 1edfe6fc27 move unused files to archive 2016-10-06 09:53:37 +02:00
Andreas Fabri 4bf70f22bd No need for thread local storage as readonly 2016-09-01 14:37:50 +02:00
Andreas Fabri beb1417477 remove unused header files; remove commented includes; changed include paths 2016-02-15 14:20:12 +01:00
Andreas Fabri c32b00acce partial cleanup of issue #595 2016-01-08 17:55:08 +01:00
Simon Giraudot 6d4d362701 Warning fix: uninitialized variable 2015-12-28 10:43:50 +01:00
Sébastien Loriot 3da2436551 avoid an unused variable warning 2015-07-22 09:11:22 +02:00
Andreas Fabri 085cc38c0b if(this) is always true 2015-07-16 16:01:51 +02:00
Andreas Fabri 03228c258f Remove a variable name in one overloaded function, as the variable is not used 2013-09-17 09:29:58 +02:00
Andreas Fabri 6c547e5663 Mainly added includes 2013-09-13 22:24:30 +02:00
Menelaos Karavelas 5f9af0a0ef Merge branch 'Apollonius_graph_2-general_is_hidden-mkaravel'
* modified implementation so that the algorithm can work with pseudo-circle objects (to facilitate for example the usage by George Tzoumas for ellipses);
* replaced implementation of vertex conflict predicate by a faster version
2013-05-15 12:39:49 +02:00
Menelaos Karavelas 11a5f0514e made some portions of the code private (in the Incircle8 predicate) 2013-05-10 16:37:48 +02:00
Menelaos Karavelas df38828b43 using the faster incircle (vertex conflict) predicate 2013-05-10 15:36:40 +02:00
Laurent Rineau 403031ce7f Fix warnings 2013-02-27 18:21:24 +01:00
Laurent Rineau 68e2b709e2 Use CGAL_assertion_code to remove warnings about unused variables 2013-02-20 18:56:13 +01:00
Laurent Rineau d19578725b Fix warnings 2013-02-07 18:15:23 +01:00
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
Menelaos Karavelas 09a2f42629 fixed bug for the case of three pseudo-circles 2012-05-24 08:58:48 +00:00
Menelaos Karavelas b2029728bb removed the need for the boolean in the is_hidden predicate 2012-05-23 07:59:01 +00:00
Menelaos Karavelas 4e9630b549 changes so that the code works for pseudo-disks (ellipses) without the need to define the boolean regarding the three-argument is_hidden predicate 2012-05-23 06:21:54 +00:00
Menelaos Karavelas 8519651442 moved a macro around 2012-05-22 07:47:27 +00:00
Menelaos Karavelas 56e407e468 removed unused code 2012-05-21 16:54:58 +00:00
Georgios Tzoumas d8687a6bea #define to recognize 3-argument Is_hidden predicate awareness 2012-05-21 15:27:08 +00:00
Menelaos Karavelas c131d174c9 yet one more change 2012-05-21 15:12:22 +00:00
Menelaos Karavelas 6ca66b18b1 fixed one more bug 2012-05-21 13:08:10 +00:00
Georgios Tzoumas 1dcbfb5306 - fixes in insert_third() 2012-05-21 13:06:58 +00:00
Menelaos Karavelas ca4212eb66 a minor optimization 2012-05-21 12:22:57 +00:00
Menelaos Karavelas 9956f15883 the filtered predicate now takes the enum for the actual predicate 2012-05-21 12:18:02 +00:00
Menelaos Karavelas eb9a4c970b moved the boolean inside the is_hidden predicate 2012-05-21 12:06:22 +00:00
Menelaos Karavelas 4c4114aa02 added code that supports the is hidden predicate with three arguments (needed for the case of ellipses) 2012-05-21 11:57:32 +00:00
Laurent Rineau 8f59fd9592 Turn QPL into LGPLv3+ 2012-01-13 16:33:35 +00:00
Menelaos Karavelas 57eb1da24e modified some copyright headers (FORTH -> INRIA) and updated my email 2011-06-08 06:31:19 +00:00
Andreas Fabri c4ae513c34 Use CGAL::abs instead of fabs 2011-02-16 14:09:47 +00:00
Andreas Fabri b300e77b88 Include file functions_on_signs.h 2010-12-11 17:59:01 +00:00
Laurent Rineau 632e943010 Missing #include (for sign_a_plus_b_x_sqrt_c) 2010-09-24 16:12:09 +00:00
Andreas Fabri 72de264daf Remove the trace, but keep the 'else' 2010-08-25 15:11:38 +00:00
Andreas Fabri 275d1f7e9c don't submit Qt3 demo 2010-08-25 14:59:57 +00:00
Andreas Fabri b1e5acb765 int -> size_type/std::size_t 2010-06-21 16:37:58 +00:00
Sébastien Loriot d53e01f1a1 remove package namespace macro 2010-06-09 08:45:58 +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
Laurent Rineau 6b2c784cce More a function definition, so that it is declared before it is used. 2010-05-21 16:59:35 +00:00
Andreas Fabri 5c62ae60ce Add 'using' for ansi compliance 2010-05-16 13:39:48 +00:00
Andreas Fabri 4fb73c36ea Add using statements for ansi-compliance 2010-05-13 14:18:16 +00:00
Andreas Fabri e0ac10d2ed Add 'using' statements for ansi compliance 2010-05-11 07:05:42 +00:00
Andreas Fabri acdc910f34 Add 'this->' for ansi-compliance 2010-05-10 07:13:20 +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
Andreas Fabri 2ba00eb685 Default constructed boost::rand48 is good enough 2010-01-29 08:24:22 +00:00
Andreas Fabri 5f6105c1f0 Change rng 2010-01-27 16:20:32 +00:00
Sylvain Pion 8573fe26ce Rename CGALi to internal. 2009-08-24 17:10:04 +00:00
Andreas Fabri d9e739bbfe more new_traits -> Delage_traits 2009-06-26 07:18:25 +00:00
Andreas Fabri d11c7dd142 finish 'renamed directory new_traits to Delage_traits' 2009-06-23 08:54:54 +00:00
Sylvain Pion 4de0457ae0 Remove short name macros. See PR 1551. 2009-04-21 18:17:32 +00:00
Menelaos Karavelas 68dbcda1d1 used the quadrilateral rule only when the shadow region does not suffice 2009-03-27 14:12:03 +00:00
Menelaos Karavelas 553165a3e5 renamed directory new_traits to Delage_traits (these are the traits by Christophe Delage) 2009-03-27 13:26:31 +00:00
Laurent Rineau df58898190 Add support to draw parabolic arcs with CGAL::Qt::PainterOStream. 2008-10-14 10:43:45 +00:00
Laurent Rineau 881a713595 7th pass to remove CGAL_USE_QT: remove manually all remaining CGAL_USE_QT 2008-09-09 22:29:51 +00:00
Sylvain Pion 79864c0c8e Remove Arity_tag. 2008-07-22 12:29:01 +00:00
Sylvain Pion 6c257a56f6 Shorten the code. 2008-07-16 16:19:33 +00:00
Sylvain Pion 1dd253906f Remove unneeded commented code 2008-07-16 16:10:44 +00:00
Sylvain Pion 1ab17e2186 Disable the remaining short names macros (to be removed after 3.4). 2008-07-16 07:21:40 +00:00
Sylvain Pion 1d8779b171 Rename the following functions:
det2x2_by_formula
  det3x3_by_formula
  det4x4_by_formula
  det5x5_by_formula
  det6x6_by_formula
to:
  determinant

How cute...  a name independent of the dimension, and even readable !
2008-04-09 13:35:34 +00:00
Sylvain Pion ebb5e40b14 Remove casts to Sign.
They are useless since we merged the various enum types.
2008-04-09 13:09:17 +00:00
Sylvain Pion aef14b819f Forgot one cast to Comparison_result. 2008-04-09 12:48:13 +00:00
Sylvain Pion b740e90de0 Rename the following functions:
sign_of_determinant2x2
  sign_of_determinant3x3
  sign_of_determinant4x4
  sign_of_determinant5x5
  sign_of_determinant6x6
to:
  sign_of_determinant

So that we have less dimension-dependent namings, at least internally...
2008-04-09 12:20:25 +00:00
Sylvain Pion c3ee0c0087 Remove CGAL_T2_USE_ITERATOR_AS_HANDLE and CGAL_T3_USE_ITERATOR_AS_HANDLE
as they are now always defined and things work.
2008-04-03 12:14:58 +00:00
Sylvain Pion 6a9740d043 Remove obsolete workarounds for __sgi. 2008-01-20 23:09:58 +00:00
Sylvain Pion a7b60e2047 SUNPRO workaround not needed anymore 2008-01-20 21:20:28 +00:00
Sylvain Pion 9940684fef Get rid of CGAL_REP_CLASS_DEFINED 2008-01-03 19:18:52 +00:00
Andreas Meyer c1d1609af1 replaced CGAL_assertion( false* and CGAL_assertion( 0*
with CGAL_error/CGAL_error_msg
2007-11-08 00:27:20 +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
Sylvain Pion a3def1c3eb Remove obsolete config flag CGAL_CFG_USING_BASE_MEMBER_BUG. 2007-08-09 09:55:09 +00:00
Menelaos Karavelas c9e08d1ef2 added new predicates; they can be activated via a macro 2007-07-19 20:05:11 +00:00
Menelaos Karavelas e3b4cc9dce some more changes towards making the predicates faster 2007-07-19 17:43:31 +00:00
Menelaos Karavelas 9ab53c26ab code polishing; added code for degenerate version of predicate; added different ways of evaluating the finite edge test 2007-07-18 21:48:37 +00:00
Menelaos Karavelas ae7a08424b code polishing; added constructive version of the predicate; added versions for different algebraic structures 2007-07-18 21:46:47 +00:00
Menelaos Karavelas 52cd40a4fb a new way for computing the finite edge conflict test 2007-07-17 22:48:37 +00:00
Menelaos Karavelas a55c5fc002 removed output to std::cerr 2007-07-17 22:47:35 +00:00
Menelaos Karavelas 5d9a4b2eb3 another way to compute the orientation test 2007-07-17 16:04:32 +00:00
Menelaos Karavelas a002113f4b another implementation for the incircle predicate 2007-07-17 13:47:08 +00:00
Menelaos Karavelas 239720dbba minor modification to fix .NET warning 2007-06-04 08:47:11 +00:00
Andreas Fabri 610ed1f622 remove unused parameter 2007-03-19 08:01:58 +00:00
Michael Hemmer 854ea80b4b rm use of CGALi::Is_field etc
replaced by use of Algebraic_category tag
2007-03-12 17:34:47 +00:00
Sylvain Pion 5cd4f73753 warning patrol 2007-03-09 08:32:01 +00:00
Laurent Saboret 9d0d302a87 Fixed svn properties of whole trunk 2006-12-18 09:37:55 +00:00
Michael Hemmer c9dc205525 rm Number_type_traits
Ring_tag -> Integral_domain_without_division_tag
 Sqrt_field_tag -> Field_with_sqrt_tag
2006-11-15 16:23:37 +00:00
Menelaos Karavelas e33c38384a fixes to please VC++ (could not accept within classes typedefs of
the form:  typedef MyClass<T>  MyClass;)
2006-08-10 09:03:31 +00:00
Sylvain Pion 29ae445a5b Remove obsolete /*CGAL_NO_FILTER*/ markers (they were used by Filtered_exact). 2006-07-30 13:02:57 +00:00
Menelaos Karavelas bdd1fbd9be minor change 2006-07-27 18:02:56 +00:00
Menelaos Karavelas c068351ceb added a #include 2006-07-27 17:55:00 +00:00
Menelaos Karavelas a6b28e6927 fixes to please g++ 3.3.2 @ SunOS platform 2006-07-25 18:32:41 +00:00
Menelaos Karavelas 2cb3f533a3 replaced call to assert by call to CGAL_assertion 2006-07-20 16:30:15 +00:00