Commit Graph

307 Commits

Author SHA1 Message Date
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
Peter Hachenberger 0f52071ad2 additional helper functions 2008-07-24 14:11:20 +00:00
Peter Hachenberger 8696b27fd6 forgot some renamings 2008-07-24 14:10:24 +00:00
Peter Hachenberger abcb52eb01 corrected error in Default_item mechanism 2008-07-24 14:09:40 +00:00
Peter Hachenberger fc66752f66 renamed Nary_union to Nef_nary_union_3 (same for Nary_interesection)
to avoid potential future name conflicts.
2008-07-15 15:26:56 +00:00
Peter Hachenberger b61c2b1f61 moved Nary_union and Nary_intersection to CGAL scope. 2008-07-15 15:23:47 +00:00
Peter Hachenberger f027f67612 removed inclusion of Edge_edge_overlay.h 2008-07-14 19:14:57 +00:00
Peter Hachenberger 6388e9579f corrected error in unused experimental code 2008-07-14 18:45:09 +00:00
Peter Hachenberger aa18c26b2e added #include line 2008-07-14 18:41:06 +00:00
Peter Hachenberger 80ad55f509 added function to determine whether an shalfedge is on an inner
or outer facet cycle.
2008-07-12 16:55:21 +00:00
Peter Hachenberger 775b8f868f - intersection with halfspace uses enum to distinguish intersections
with plane, open or closed halfspace.
- added constructor for polylines.
2008-07-12 16:45:05 +00:00
Peter Hachenberger 5f72e2c3fa -refactoring of binary operations
-conversion of a shell into a separate polyhedron
-fast edge-edge overlay
2008-07-05 22:00:05 +00:00
Peter Hachenberger b228e536ee refactored binary_operation 2008-06-27 11:40:38 +00:00
Peter Hachenberger b763918582 altered code 2008-06-27 11:40:00 +00:00
Peter Hachenberger 9bffced5b1 added unused experimental code 2008-06-27 11:39:34 +00:00
Peter Hachenberger 877f6d45b2 change in is_bounded 2008-06-27 11:39:02 +00:00
Peter Hachenberger 6fa0121254 new function added 2008-06-27 11:36:43 +00:00
Peter Hachenberger bb510c34bb removed GenPtr info 2008-06-27 11:36:20 +00:00
Peter Hachenberger 8446860a4f factored out edge_edge_overlay
added unused experimental code
2008-06-27 11:35:42 +00:00
Peter Hachenberger 566bbf0336 removed GenPtr info 2008-06-27 11:34:36 +00:00
Peter Hachenberger 826bbc618e set counter back after get_union(). 2008-06-27 11:34:13 +00:00
Peter Hachenberger 6ab177b4ac how did this work before? 2008-06-27 11:33:30 +00:00
Peter Hachenberger 401a3b9997 update of coordiante conversion 2008-06-27 11:32:54 +00:00
Peter Hachenberger 9d6f1a8eca now working with indexed items 2008-06-27 11:31:34 +00:00
Peter Hachenberger 0537be3cd9 small bug fix 2008-06-27 11:31:13 +00:00
Peter Hachenberger 6f3007d013 removed Genptr info 2008-06-27 11:30:32 +00:00
Peter Hachenberger 6a6c2cd3ed added currently unused experimental code 2008-06-27 11:29:12 +00:00
Peter Hachenberger bfb86352b6 added namespace 2008-06-27 11:28:28 +00:00
Peter Hachenberger 3dfab42e69 bug fix 2008-06-27 11:27:53 +00:00
Peter Hachenberger e722f28b59 removed bug in simplification 2008-06-27 11:27:06 +00:00
Peter Hachenberger 491b111f05 experimental code added 2008-06-27 11:26:21 +00:00
Peter Hachenberger 65c6d4491d optimization is not stable and therefore turned off 2008-05-22 15:04:50 +00:00
Peter Hachenberger b77c09dfe4 items moved to separate files 2008-05-22 15:04:20 +00:00
Laurent Rineau e62e053848 Fix the error
"../../include/CGAL/Nef_3/SNC_point_locator.h", line 311: Error: The function "strcpy" must have a prototype.
detected by Sun CC.
2008-03-11 11:38:02 +00:00
Peter Hachenberger db179833c8 small bug fix 2008-01-17 15:59:04 +00:00
Peter Hachenberger e47918c1f6 optimizations to prevent filter failures 2008-01-16 15:11:30 +00:00
Peter Hachenberger c38f558186 optimization to prevent filter failures 2008-01-16 15:10:16 +00:00
Peter Hachenberger 8b7653e094 corrected protective guards 2008-01-15 12:00:28 +00:00
Sylvain Pion 2fd547c229 Fix typo s/Point/Point_3/. 2008-01-14 21:14:54 +00:00
Peter Hachenberger 6d1dd4bb0e prevent filter failures 2008-01-04 17:36:01 +00:00
Peter Hachenberger 7a3d8afb8c plane(f) -> f->plane() and similar changes 2008-01-04 17:35:07 +00:00
Andreas Meyer 0f941fbcf2 again CGAL_error -> CGAL_error_msg 2007-11-09 15:27:44 +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
Peter Hachenberger 8a95600cc1 updated experimental code for edge/edge overlay by hand 2007-09-11 15:45:46 +00:00
Peter Hachenberger 1253f001ab added header 2007-09-11 15:43:18 +00:00
Peter Hachenberger 274ebeda7b bug in conversion Polyhedron3 to Nef_3 removed
Polyhedron was not cleared before conversion
2007-09-11 15:37:36 +00:00
Peter Hachenberger 6cd5535d24 new classes that efficiently handle the union or intersection of multiple polyhedra
OFF_to_nef_3 benefits from the new union
2007-08-01 12:54:10 +00:00
Peter Hachenberger ae4623ca2b constructor for OFF-files is more general, now
- can now handle several surfaces, which also need not to be closed any more
- orientation of Off-file does not matter any more; constructor constructs the 
  same polyhedron for both orientations.

conversion from Nef_3 to Polyhedron_3 now triangulates all facets to
- prevent rounding problems
- handle facets with holes
2007-07-31 11:41:47 +00:00
Peter Hachenberger f048a210f6 deleted redundant type definition 2007-07-31 11:35:46 +00:00
Peter Hachenberger c6fc1d29a8 adaptation to new ID_support 2007-07-18 19:36:44 +00:00
Peter Hachenberger 1163124b4b change of some privacy issues 2007-07-18 19:31:59 +00:00
Peter Hachenberger cdac42e3f1 adaptation to new ID_support 2007-07-18 19:31:03 +00:00
Peter Hachenberger 2faca5a6e5 adaptation to new ID_support 2007-07-18 19:04:10 +00:00
Peter Hachenberger 45c33082f0 adaptation to new ID_supporter 2007-07-18 19:02:25 +00:00
Peter Hachenberger 5fc8dda1ef bug fix: new comparison function for smallest vertex on facet 2007-07-18 19:01:23 +00:00
Peter Hachenberger a827d60975 check for empty triangulations 2007-07-18 18:55:49 +00:00
Peter Hachenberger 18b9a58077 new variable for finding common facet 2007-07-18 18:52:15 +00:00
Peter Hachenberger 676da58860 allows to perform binary operations with halfspaces (only used for intersections, yet) 2007-07-18 18:49:44 +00:00
Peter Hachenberger 4a6c01300a a nicer to handle 2007-07-18 18:45:44 +00:00
Peter Hachenberger ac4f9feb6a plain stupid bug fixed 2007-06-20 10:03:51 +00:00
Peter Hachenberger ff39279a5c for compatibility reasons, coordiantes can be read
like in old versions via precompiler directive
2007-06-19 16:22:04 +00:00
Peter Hachenberger fbf942721a help for debuging added 2007-06-19 16:20:34 +00:00
Peter Hachenberger 01c168cae1 small bug fix 2007-06-19 16:19:00 +00:00
Peter Hachenberger 4453f61c0e new ID_supporter 2007-06-19 16:15:51 +00:00
Peter Hachenberger 2d81f51000 - adaptation to indexed items requirements
- added intersection with plane
- added conversion of shell to Polyhedron_3
2007-06-19 16:12:16 +00:00
Peter Hachenberger 5ffaa24941 get rid of some warnings 2007-04-27 09:14:14 +00:00
Peter Hachenberger 36e414a397 bug fix; one should not increment the past-the-end
iterator
2007-04-26 11:21:32 +00:00
Peter Hachenberger 8d1f5c0a91 Box_d<FT> should be initialized with inital corners. 2007-04-24 15:09:03 +00:00
Peter Hachenberger 024552394d use Bouding bos with exact coordinates to come
around Gmp problem
2007-04-23 09:51:41 +00:00
Peter Hachenberger 57a83e2b80 initialize variable to remove warning 2007-04-20 10:11:38 +00:00
Peter Hachenberger cfb055ee35 specialized new Bounding box for extended kernel 2007-04-19 17:32:41 +00:00
Peter Hachenberger 890ef3b5a1 corrected rules when output is sorted and/or reduced 2007-04-19 17:29:45 +00:00
Peter Hachenberger 0de2dfac93 ouput is now only sorted for test suite. Sorted output
can be quite slow. Therefore, sorting should be omitted
if not needed
2007-04-18 15:09:43 +00:00
Peter Hachenberger 4dd297bdf9 removed warnings 2007-04-17 09:02:58 +00:00
Peter Hachenberger e908227c36 removed warnings 2007-04-17 08:46:38 +00:00
Peter Hachenberger 58514d2a6f removed g++-4.1.1 warning 2007-04-17 08:27:13 +00:00
Peter Hachenberger 298ea2941a remove warning 2007-04-16 17:17:55 +00:00
Peter Hachenberger 15720a2aed - exchanged old inefficient bounding_box
- tried to remove some compiler problems
2007-04-16 14:55:31 +00:00
Efi Fogel 2fdc01431c changed C++ static to C static to avoid redefinition 2007-04-12 20:56:22 +00:00
Peter Hachenberger c8c1420839 specialized output for Lazy_kernel<Simple_cartesian< > > > 2007-04-12 10:37:04 +00:00
Andreas Fabri 73f72ba5fa remove unused parameter 2007-04-06 08:57:25 +00:00
Andreas Fabri ad155d4f35 remove unused parameter 2007-04-06 08:53:48 +00:00
Peter Hachenberger e0981e5c48 forgot to take out debug code 2007-03-28 16:09:41 +00:00
Andreas Fabri bad244eabf Remove unused parameters 2007-03-28 14:48:40 +00:00
Joachim Reichel 142c8f5a3d fix copyright boilerplate 2007-03-27 20:20:17 +00:00
Peter Hachenberger ed8fc37c5c added virtual destructor 2007-03-27 12:09:05 +00:00
Peter Hachenberger 3464cac591 small bug fix 2007-03-27 12:08:32 +00:00
Peter Hachenberger fa8785ac84 removed unused parameter 2007-03-26 16:55:35 +00:00
Peter Hachenberger 4e39d6b29b added header 2007-03-26 11:19:56 +00:00
Peter Hachenberger 9a3bc255ca removed bug in constructor 2007-03-26 10:55:58 +00:00
Peter Hachenberger 6c8853c71f removed unnecessary template parameter 2007-03-26 10:55:37 +00:00
Peter Hachenberger ed2398dad3 put this class in separate file 2007-03-26 10:54:46 +00:00
Peter Hachenberger d402c20134 bug fix: now all facet cycles of a facet get the
same index
2007-03-23 21:24:03 +00:00
Peter Hachenberger 6c89b99853 removed unused parameter 2007-03-23 21:22:33 +00:00
Peter Hachenberger e1635f6053 removed unused parameters 2007-03-23 21:21:20 +00:00
Peter Hachenberger 4a02e032a1 removed unused parameters 2007-03-23 21:19:49 +00:00
Peter Hachenberger 1df25dca66 deleted ununsed parameter 2007-03-23 18:18:36 +00:00
Peter Hachenberger 7bb876265f function must be virtual 2007-03-23 18:15:31 +00:00
Peter Hachenberger df98d58da1 explicit construction of base class
removal of unused parameters
2007-03-23 18:09:20 +00:00
Andreas Fabri fb5be348f3 removed unused parameters 2007-03-20 08:15:46 +00:00