Commit Graph

307 Commits

Author SHA1 Message Date
Sébastien Loriot f1f82785ac add a constructor from a FaceGraph
The first version code is from @afabri
2016-09-21 08:47:06 +02:00
Andreas Fabri 0695aa3fcd Protect a counter shared by all threads using atomic 2016-09-06 11:18:22 +02:00
Andreas Fabri 099b98da01 Make variables thread local 2016-08-31 12:56:46 +02:00
Sébastien Loriot 013c25c889 Merge remote-tracking branch 'cgal/releases/CGAL-4.8-branch' 2016-06-08 14:11:28 +02:00
Sébastien Loriot 683e6dff94 handle isolated vertices in change_orientation 2016-06-07 10:04:43 +02:00
Laurent Rineau 00e6e03d5c Merge pull request #785 from afabri/CGAL-missing_includes-GF
Partial cleanup of issue #595   Part2
2016-03-24 17:02:27 +01:00
Sebastien Loriot 31e99620a6 Merge pull request #547 from gunshi/master
Plane_3-Plane_lt-map-patch
2016-02-22 08:45:15 +01:00
Andreas Fabri beb1417477 remove unused header files; remove commented includes; changed include paths 2016-02-15 14:20:12 +01:00
Gunshi Gupta 4404c198ed Updating Plane_lt struct's operator() to recognise two proportional planes as the same plane by comparing ratios of corresponding a,b,c,d of Plane_3s 2016-02-10 20:13:31 +05:30
Andreas Fabri 4e342a0f05 forgot a } 2016-01-21 17:54:11 +01:00
Andreas Fabri 99b4e2f150 more CGAL_USE and some reindentations 2016-01-21 10:22:20 +01:00
Andreas Fabri c32b00acce partial cleanup of issue #595 2016-01-08 17:55:08 +01:00
Sebastien Loriot 2e493f297b Merge pull request #389 from afabri/CGAL-Qt3-GF
Remove Qt3 based demos
2015-10-23 17:08:49 +02:00
Sébastien Loriot e2af73ca0a remove Nef_3 widget and remove example path 2015-10-22 09:37:05 +02:00
Laurent Rineau 330a0e75a2 Merge pull request #385 from cjamin/CGAL_headers_only-gdamiand_cjamin
CGAL headers only, step 0
2015-10-13 16:37:38 +02:00
Guillaume Damiand cf1c0ea0ca Merge branch 'CGAL_headers_only-gdamiand_cjamin-OLD' into CGAL_headers_only-gdamiand_cjamin 2015-10-01 09:12:55 +02:00
Sébastien Loriot 68c01e9cae add constructor from point, point range and segment 2015-09-08 10:56:18 +02:00
Sébastien Loriot 84d82c3a8e fix unused variable warnings 2015-07-16 10:15:33 +02:00
Guillaume Damiand 9c78897ba5 Merge branch 'CGAL_headers_only-gdamiand_cjamin-old' into CGAL_headers_only-gdamiand_cjamin 2015-03-16 14:00:43 +01:00
Sébastien Loriot 073fdd0fd7 if the incremental builder failed, simply rollback instead of continuing 2015-02-26 08:51:00 +01:00
Guillaume Damiand ef550fd3bb Ok for first version. 2014-11-14 17:22:06 +01:00
Andreas Fabri 2aa0f98526 Arithmetic_kernel -> Exact_integer/rational 2014-07-16 16:45:14 +02:00
Sébastien Loriot 0230e979e2 Merge branch 'CGAL-use_leda-GF-OLD' into CGAL-use_leda-GF
Conflicts:
	Arrangement_on_surface_2/test/Arrangement_on_surface_2/construction_test_suite_generator.cpp
	Arrangement_on_surface_2/test/Arrangement_on_surface_2/test_construction.cpp
	Documentation/doc/Installation.txt
	Kernel_23/include/CGAL/Exact_predicates_exact_constructions_kernel.h
2014-06-18 22:50:06 +02:00
Sébastien Loriot d3f82210bf remove VC warning: change class to struct 2013-05-23 11:08:49 +02:00
Sébastien Loriot 51103a281f fix SNC_IO_parser to work with Lazy_exact_nt 2013-05-21 08:36:05 +02:00
Sébastien Loriot afe855652b bug-fix: update the SNC_io_parser to keep on working with Epeck 2013-05-20 14:51:11 +02:00
Andreas Fabri b5e5e14aba Use Decompose instead of numerator()/denominator() 2013-03-26 11:31:56 +01:00
Andreas Fabri b29fdaeddf don't use GMP if it is not installed 2013-03-25 09:37:16 +01:00
Laurent Rineau a04891ff93 WARNFIX: fix some warnings triggered by -Wconversion on g++ 2012-08-09 16:06:54 +00:00
Philipp Möller 79b30908d5 WARNFIX: Silence a good part of unused variable/parameter warnings.
Wextra results in a dreadful wall of yellow in the test-suite and is
scary when using CGAL. Reduce some of the noise by silencing the
obvious cases with CGAL_USE or comments.
2012-08-07 11:04:32 +00: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
Philipp Möller d3ee04897c merged next 2012-05-09 13:50:00 +00:00
Sébastien Loriot f685a77b0e merge from next 2012-04-17 18:19:33 +00:00
Sébastien Loriot 24070082f6 *deprecate the use of geninfo
*naive replacement of void* and geninfo by boost::any.
*old code can be used if CGAL_I_DO_WANT_TO_USE_GENINFO is defined
*info was printed, I simply ignored that for boost::any 
 (it probably made sense why the old implementation of geninfo that was using placement new to write
  inside the void*)
*some sizeof(void*) was used in SNC_structure.h for printing the size of something.
 I guessed this was related to the void* used as info. I left that code untouched.
*testsuite is OK on my machine except Nef_3/example/Nef_3/polygon_construction which also
 does not work with next on my machine
2012-04-17 18:18:09 +00:00
Sébastien Loriot 03ac39132a remove unused var warning 2012-04-17 17:37:53 +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
Efi Fogel 73aed62c96 pacify some compiler (commented out unused variables) 2012-01-30 14:30:27 +00:00
Efi Fogel 7b7671fc56 pacify some compiler (commented out unsuded variable) 2012-01-29 10:53:20 +00:00
Laurent Rineau 902a51c9f2 Fix missing copyright and/or license notice 2012-01-19 16:51:59 +00:00
Laurent Rineau 8f59fd9592 Turn QPL into LGPLv3+ 2012-01-13 16:33:35 +00:00
Laurent Rineau 07be7f49a5 Include <CGAL/glu.h> where needed 2011-11-09 22:45:52 +00:00
Laurent Rineau 369498d1e5 Cancel revision 64607. There had been a problem with the branch.
| ------------------------------------------------------------------------
  | r64607 | efif | 2011-07-05 17:27:04 +0200 (Tue, 05 Jul 2011) | 1 line
  | 
  | Merged feature-branch Aos_2-new_functors-tau into next
  | ------------------------------------------------------------------------
2011-07-06 11:11:58 +00:00
Sébastien Loriot a8b69a49cd bug in simplify in case a sloop is created when an edge is simplified.
For details see comments added
2011-05-27 11:26:40 +00:00
Sébastien Loriot 767bc40b1d remove warnings 2011-03-03 18:20:41 +00:00
Sébastien Loriot 0ebdccfa4e update URL and Id tag 2011-03-02 14:59:51 +00:00
Andreas Fabri 28dad1ac6f Switch to Projection_traits classes 2011-01-19 11:11:26 +00:00
Andreas Fabri cba1240d90 Add parenthesis to quiet down clang and have more readable code 2010-12-06 15:19:56 +00:00
Sébastien Loriot b265c6c919 long -> std:size_t to avoid a warning 2010-11-22 07:48:42 +00:00
Sébastien Loriot 9adcfa7e1a add functor taking care of construction of planes and vectors
in case the plane stored by the polyhedron is either a plane or
a vector (Polyhedron_traits_with_normals_3)
2010-10-19 07:22:22 +00:00
Daniel Russel ba741338c6 fix const correctness on convert to polyhedron 2010-09-20 17:38:06 +00:00
Daniel Russel cb2c38cd01 include def for origin 2010-09-20 17:37:24 +00:00
Laurent Rineau 2270620c69 Fix Nef_3 on recent g++. 2010-09-13 16:40:54 +00:00
Andreas Fabri f22ee7261f Change typedefs in the hope that gcc digestests them better 2010-09-05 14:50:51 +00:00
Andreas Fabri 4aa977e7e6 Conditional removal of using as VC++ has a problem with it 2010-08-23 15:17:29 +00:00
Andreas Fabri 104db1c602 Remove duplicate using statement 2010-08-23 15:09:25 +00:00
Andreas Fabri b1103b23e2 Add const 2010-08-23 15:00:26 +00:00
Andreas Fabri 6419ee6993 Added using statements 2010-08-23 14:19:10 +00:00
Andreas Fabri 03f34438d2 Added using statements 2010-08-23 14:06:26 +00:00
Andreas Fabri ba831fc76e Added using statements 2010-08-23 13:56:33 +00:00
Laurent Rineau 7106e69e7a Fix keyword $URL$ and $Id$: "$URL: " and "$Id: " are not correct Subversion keywords 2010-06-29 12:47:18 +00:00
Laurent Rineau 35a3c17f1e Fix warnings: braces around empty body, and unused parameters. 2010-06-29 12:38:52 +00:00
Andreas Fabri e642b25c1f int/long/ptrdiff_t -> size_t 2010-06-28 08:27:08 +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 033b381585 Add 'using' for ansi compliance 2010-05-17 10:30:22 +00:00
Andreas Fabri ddd4007b83 remove unused function 2010-05-11 17:33:28 +00:00
Andreas Fabri 135b2e522e Remove undefined code in unused function (detected by Intel) 2010-05-11 13:26:08 +00:00
Andreas Fabri 84de3346d9 Remove '&' 2010-05-11 13:00:36 +00:00
Peter Hachenberger 64d5ca0a64 bug fix in point_update: boundary_items of sfaces were not set correctly 2010-05-04 16:44:30 +00:00
Peter Hachenberger 067c462173 extension of is_valid: check boundary_objects of sface 2010-05-04 16:43:57 +00:00
Peter Hachenberger 79229a5472 small bug fix in convert_inner_shell_to_nef3 2010-05-04 16:41:56 +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
Sébastien Loriot cdee61ee96 Replace M_PI by CGAL_PI 2010-01-19 07:27:33 +00:00
Laurent Rineau fb27c5d7fb Constness issues: add missing "const". 2010-01-13 14:56:41 +00:00
Laurent Rineau 83912b2952 Massive fix of svn:keywords properties, and $URL$ keyword. 2009-10-20 08:59:26 +00:00
Peter Hachenberger 79e0f71d0b allow more complex simplification rules 2009-07-20 13:46:03 +00:00
Laurent Rineau b972b38b6d - Remove the capital P in "convert_to_Polyhedron". Add a wrapper function for
back-compatibility.
- Fill svn:ignore properties.
2009-06-30 09:40:14 +00:00
Peter Hachenberger 0d3ba40341 initialization of support hash should happen
once at the beginning
2009-05-03 11:32:35 +00:00
Sylvain Pion d357c66055 Rename ES and FS to avoid clashes with macros defined by <sys/reg.h>. 2009-04-26 13:33:57 +00:00
Peter Hachenberger e785c364bf make enum Intersection_mode publicly available 2009-04-21 01:04:28 +00:00
Peter Hachenberger 5ab25252e9 removed logical bug for intersection with plane 2009-04-20 09:53:01 +00:00
Peter Hachenberger 93611aa06b forgot indexes and dummy facets for vertex-vertex overlay 2009-04-16 08:58:30 +00:00
Marc Glisse bbf6abff28 (Base)*this=... seems to be illegal. Legal alternatives are:
(Base&)*this=...
*(Base*)this=...
this->Base::operator=(...)

I'll check the testsuite tomorrow to see if no compiler complains about
this version.
2009-02-26 10:48:53 +00:00
Andreas Fabri db682b1a91 first bug fix after 3.4Beta 2008-12-19 20:12:51 +00:00
Andreas Fabri f2f87a5ebc Add license header 2008-12-06 21:31:59 +00:00
Laurent Rineau 6e36415131 Initialized the base class, to remove a warning. 2008-11-12 08:52:02 +00:00
Peter Hachenberger bd01f3443c took out old and nowadays buggy assertion 2008-11-04 13:07:47 +00:00
Peter Hachenberger 86aff4bdcb took out old and nowadays buggy assertions. 2008-11-04 13:07:04 +00:00
Peter Hachenberger 5c32d1ec24 get rid of uninitialized variable warning 2008-10-27 14:45:52 +00:00
Sylvain Pion 6aba449434 Replace Nef's custom Object_handle by CGAL::Object.
There were some differences :
- CGAL::Object has no template constructor, so using make_object() was required.
- CGAL::Object had no comparison with NULL to check emptyness.  I added
  such comparison operators to CGAL::Object as *deprecated*.
2008-09-09 16:03:25 +00:00
Peter Hachenberger d8ff884f33 small interface change in functions for visual hull 2008-08-23 17:26:43 +00:00
Andreas Fabri 1119e5d024 fixed partial specialization 2008-08-21 07:44:16 +00:00
Peter Hachenberger 881aa271c3 took out trace output 2008-08-12 07:28:27 +00:00
Peter Hachenberger 208eaac1f6 now works with SNC_indexed_items 2008-08-11 09:37:24 +00:00
Peter Hachenberger c1655b06b9 corrected copy/paster error 2008-08-11 09:36:39 +00:00
Peter Hachenberger 0ef3b0c182 bug fix for GLU usage on mac 2008-08-01 15:38:58 +00:00
Peter Hachenberger 68efe20868 removed unused parameter 2008-08-01 09:25:29 +00:00
Peter Hachenberger e19ecac4e8 updated is_simple for more general conversion to Polyhedron_3 2008-08-01 09:23:39 +00:00
Peter Hachenberger daed689d95 added space to omit stupid warning 2008-08-01 09:22:29 +00:00
Peter Hachenberger f910be3796 removed #include<CGAL/functional.h> 2008-07-26 15:52:05 +00:00
Peter Hachenberger a426d8cfa3 new class gives the default value for the template
paramater Items of class Nef_polyhedron_3 dependend
upon the used Kernel
2008-07-25 15:25:54 +00:00