Commit Graph

171 Commits

Author SHA1 Message Date
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
Menelaos Karavelas 5ab02915ca - fixes in #includes: correct files are now included
- added mixed traits classes, filtered and non-filtered
- removed obsolete code
2006-07-20 15:18:23 +00:00
Menelaos Karavelas b3e0d11ad4 removed obsolete commented line 2006-07-20 14:51:38 +00:00
Menelaos Karavelas 5831ac6039 files that collects all predicates (old and new) 2006-07-20 14:48:12 +00:00
Menelaos Karavelas c05122d243 correct files are now included; the old traits file is not
included any more
2006-07-20 14:47:49 +00:00
Menelaos Karavelas b537bf3a73 fixed typo 2006-07-20 14:46:46 +00:00
Menelaos Karavelas 4106755005 forgot to add the basic.h file 2006-07-19 22:06:30 +00:00
Menelaos Karavelas 85f720156c removed code for supporting Filtered_exact 2006-07-19 22:01:38 +00:00
Menelaos Karavelas d163b015a8 removing code for support of Filtered_predicate 2006-07-19 22:00:03 +00:00
Menelaos Karavelas 7649e309a7 - created ApolloniusGraph_2 namespace
- put all predicates under the new namespace (including the new predicates)
- removed code that is no longer used due to the removal of Filtered_exact
2006-07-19 21:58:48 +00:00
Menelaos Karavelas 7919e5fef3 further CGALization of new traits functors/classes 2006-07-19 13:48:00 +00:00
Menelaos Karavelas fbf6d7f3de not really needed (plus it essentially means duplicating code) 2006-07-19 10:51:48 +00:00
Menelaos Karavelas e4e7e5508b various fixes due to changes in file positions; correct functors are called now; My_filtered_predicate is no longer used 2006-07-18 20:10:53 +00:00
Menelaos Karavelas 2c0199d910 fixes in new filtered traits: the correct functors are called now 2006-07-18 20:08:43 +00:00
Menelaos Karavelas c7f40701d5 the new orientation predicate seems to have a problem; resuing the old one 2006-07-18 20:03:13 +00:00
Menelaos Karavelas 4c8c11c427 removed a lot of casts and eliminated usage of CGAL::opposite 2006-07-18 19:56:14 +00:00
Menelaos Karavelas d1f5d07963 fixed path to included filename 2006-07-18 19:46:17 +00:00
Menelaos Karavelas 2e3d27b633 further CGALization of code and stylistic changes 2006-07-18 19:44:51 +00:00
Menelaos Karavelas b304c5b206 fixed call to non-existing class 2006-07-18 15:28:10 +00:00
Menelaos Karavelas 8059590bee new version of filtered traits using predicates based on Uncertain<> 2006-07-18 14:27:56 +00:00
Menelaos Karavelas c398d68f86 filtered traits based on the new traits class written
by Christophe
2006-07-18 14:23:05 +00:00
Menelaos Karavelas 33ef19ea46 version of vertex conflict predicate using Uncertain<> 2006-07-18 14:12:16 +00:00
Menelaos Karavelas c1e70bb675 versions of predicates using Uncertain<> 2006-07-18 14:11:07 +00:00
Menelaos Karavelas 417b494a03 moved the new_traits directory inside Apollonius_graph_2
so that it does not clutter the CGAL include directory; also
changes to dont_submit and test directory due to this
2006-07-18 14:03:12 +00:00