Commit Graph

107 Commits

Author SHA1 Message Date
Laurent Rineau 7d31a00e9f Copyright year range. 2007-04-04 10:19:50 +00:00
Laurent Rineau eefbb701ce Remove debug outputs. 2007-04-04 10:04:29 +00:00
Laurent Rineau 61e2a2ebfd - New codebase for <CGAL/Polyhedral_surface_3.h>, that uses
Polyhedron_3.
- Added "Facet neighbor(Facet f, int j) const;" in
  <CGAL/Complex_2_in_triangulation_3.h>.
- New code for output_surface_facets_to_off() in
  <CGAL/IO/Complex_2_in_triangulation_3_file_writer.h>. Now uses
  Polyhedron_3 I/O operators (maybe temporarily), and *orients the output*,
  as mush as possible, without any call to any surface oracle.
  The ordering code is adapted from reorient_faces() in TDS_2.
- Updated demo/Surface_mesher/polyhedron_remesher.cpp, so that it works.

Notes for the CGAL-3.3 release manager: 
  - Surface_mesher/demo/Surface_mesher is "dont_submitted".
  - The changes in Surface_mesher/include/CGAL/ only impact undocumented
  features of the package. Actually, maybe output_surface_facets_to_off()
  should be documented (with an adapted API) now that it orients the facets.
2007-04-04 09:52:34 +00:00
Laurent Rineau cb2e689c05 fix SVN keywords 2007-04-03 13:59:17 +00:00
Laurent Rineau bce1a7694c CGALimageIO is now a C++ library: 'extern "C"' are removed. 2007-04-02 09:50:40 +00:00
Laurent Rineau 418d827071 Remove the enum Debug_flag from Surface_mesher (conflicts with VC++ macros). 2007-03-20 14:41:50 +00:00
Laurent Rineau 9e1dd1fee9 Gray_level_image_3 objects are copy-constructed a lot of time, during the
execution of the Surface_mesher algorithm.  I do not know how to deal with
the destruction of *image. Maybe a smart pointer. We need to bench. I delay
that until somebody really need to have that memory leak fixed.
2007-03-20 14:27:13 +00:00
Laurent Rineau 814a039ead Double free => I comment the _freeImage call. 2007-03-18 21:04:42 +00:00
Laurent Rineau 73c07dece1 - add a missing destructor for Gray_level_image_3.
- add an undocumented static function print_supported_file_format()
2007-03-15 11:13:03 +00:00
Laurent Rineau a9c8fdf162 Fix warnings about unreachable "break"s. 2007-03-14 23:29:49 +00:00
Laurent Rineau e9196b3173 quick fix for a bug found by gcc-4.3 2007-03-01 10:04:27 +00:00
Laurent Rineau 035da295a4 commit several things that change only debug outputs, or the polyhedral oracle 2007-02-28 18:22:28 +00:00
Laurent Rineau 349d29a80c Fix two typos and a linker bug (extern "C"). 2007-02-16 19:18:00 +00:00
Laurent Rineau 86307ba0e2 Fix libCGALimageIO, so that <CGAL/Gray_level_image_3.h> compiles. 2007-02-16 18:59:35 +00:00
Laurent Rineau e55e35a3e0 Move ImageIO.h into src/CGALimageIO/. We need to define a licence for src/CGALimageIO! 2007-02-15 14:50:41 +00:00
Laurent Rineau 6c6cbdcb1c The commit that will break everthing:
- New library: libCGALimageIO
- make shared libraries for CORE, and Benchmark.
2007-02-02 16:10:06 +00:00
Laurent Rineau d3dca6fd3c fix ifndef/define macro names 2006-09-13 14:35:27 +00:00
Laurent Rineau 66b7d8b7f9 - massive fix of const-correctness in Surface_mesher, Mesh_3 and
Head_mesher.
  (A nice feature of C++ is that, when you need to add *one* const
   somewhere, then you have to fix const-correctness of all the World!)
2006-09-13 13:31:45 +00:00
Laurent Rineau 007eeef2a7 use Robust_circumcenter_traits_3<K> by default, in
Surface_mesh_default_triangulation_3
2006-08-10 16:10:58 +00:00
Laurent Rineau be5ac4b19e make make_surface_mesh() take the surface by reference, to avoid copies. 2006-08-10 16:04:54 +00:00
Laurent Rineau 782ca4aad2 ** In DS_for_queries_3:
- added a public member function
       Bbox bbox() const;
     to Data_structure_using_octree_3<>.
   - fix several bad coding patterns, in Data_structure_using_octree_3.h
   - fix the header of Data_structure_using_octree_3.h
   - trivial destructor for Constrained_Element, to delete the "type"
   member.
** In Surface_mesher:
   - added a public member function
       Bbox bbox() const;
     to Polyhedral_surface_3<>.
2006-08-10 16:00:25 +00:00
Laurent Rineau 5b79951cce - fix last patch: the vertex iterator class needs a little more sugar
(thanks to Mariette how spotted this out).
- extend the testsuite to check that
2006-07-28 14:02:07 +00:00
Laurent Rineau 7967427be6 - fix a bug: c2t3::Vertex_iterator should be convertible to Vertex_handle,
as usuall vertex iterators of CGAL triangulations.
2006-07-26 12:46:44 +00:00
Laurent Rineau 1d23a00b1a - fixed i/o operators, in binary mode, of Point_with_surface_index and
Weighted_point_with_surface_index
2006-07-12 01:04:05 +00:00
Laurent Rineau b275743f60 - fixed i/o operators, in binary mode, for C2t3_cell_base_3,
- fixed input operator of c2t3. It know deals correctly (I hope), with the
  edge_facets_counter member.
- added a new class Surface_mesh_default_triangulation_3
- use Surface_mesh_default_triangulation_3 in test_c2t3_iterators.cpp, as a
  test.
2006-07-12 00:10:41 +00:00
Laurent Rineau f5c912e666 - major switch from .C to .cpp. Andreas's script left a lot of things that
had to be fixed manually.
- new debug macro in <CGAL/Surface_mesher/Standard_criteria.h>
  - CGAL_MESH_3_DEBUG_CRITERIA
  Used in test/Mesh_3/combined_spheres*.cpp
2006-07-10 10:12:38 +00:00
Laurent Rineau 7923326287 - add a new macro CGAL_MESHES_DEBUG_REFINEMENT_POINTS (see Mesh_2 changelog
too) in <CGAL/Surface_mesher/Surface_mesher.h>
2006-07-10 09:41:01 +00:00
Laurent Rineau 457f890f8b attempt to add an operator<< to Quality 2006-07-10 09:37:57 +00:00
Laurent Rineau afc214fb76 fix of CGAL_SURFACE_MESHER_DEBUG_CONSTRUCTORS in Sphere_oracle_3.h 2006-07-10 09:37:33 +00:00
Laurent Rineau 6698d77abc - remove a buguy debug output, in
include/CGAL/Surface_mesher/Point_surface_indices_oracle_visitor.h
2006-07-10 09:36:53 +00:00
Laurent Rineau adc307ab63 - move Point_traits.h from Mesh_3 to Surface_mesher, to avoid an unneeded
dependancy
2006-07-05 06:59:41 +00:00
Laurent Rineau 5f53f7668e - fix the oracle Sphere_oracle_3
- added a test in Surfacer_mesher
2006-07-05 06:57:28 +00:00
Laurent Rineau 9e9034e412 fix s/intersect/intersection in the octree 2006-06-30 15:38:27 +00:00
Laurent Rineau ed1f7bcdfd fix operator>> for c2t3, so that number_of_facets is computed correctly 2006-06-28 17:05:41 +00:00
Laurent Rineau 931b4cfb11 extends Robust_circumcenter_traits_3 so that this class is model of
ConstructCicumcenter_3.
2006-06-28 17:04:31 +00:00
Laurent Rineau 768c783d89 fix a warning: comp. between signed and unsigned int 2006-06-27 16:59:04 +00:00
Laurent Rineau d0d24488f5 - in Surface_mesher:
- remove deprecated include/CGAL/Surface_mesher/Implicit_surface.h
  - rename CGAL::Surface_mesher::Implicit_surface_oracle to
           CGAL::Surface_mesher::Implicit_surface_oracle_3
    and then, rename include/CGAL/Surface_mesher/Implicit_surface_oracle.h
    to include/CGAL/Surface_mesher/Implicit_surface_oracle_3.h
- in Mesh_3: adapt code to the above change.
2006-06-26 12:42:39 +00:00
Laurent Rineau 00e588aed7 modified a comment, to be more explicit 2006-06-26 12:29:39 +00:00
Laurent Rineau 9eaa9ee75b - fix all iterators of C2t3!!
- added a test to test that these iterators works...
2006-06-23 15:35:33 +00:00
Laurent Rineau 65519abd31 prefix filter_iterator with CGAL::, to prevent ADL 2006-06-17 05:42:30 +00:00
Laurent Rineau 5c6b881a1d ** In Surface_mesher:
- remove subdirectories of include/CGAL/Surface_mesher: files of Criteria/
  and Oracles/ are moved one step back.
- repear the polyhedral oracle
- Implicit_oracle.h is now Implicit_surface_oracle.h (and the class has
been renamed too.
- no longer "Kernel_point" trick in Implicit_surface_oracle.h
- *but* "Kernel_point" trick is needed in Polyhedral_oracle.h! :-(

** In Mesh_3:
- repear examples/Mesh_3/polyhedral_surface_mesher.C
- add two input files in ./inputs/*.off (with their medit files)
2006-06-13 13:08:19 +00:00
Laurent Rineau ab88dda917 temp commit 2006-06-13 06:38:16 +00:00
Laurent Rineau f90b94529d I forgot this file, in the previous commit. 2006-06-07 12:55:35 +00:00
Laurent Rineau 171707f114 - sliver exuder fixed,
- Combining_oracle fixed too.
2006-06-07 12:55:01 +00:00
Laurent Rineau 58d9d6ad87 remove the old code Multi_implicit_oracle.h (in Surface_Mesher), and
multi_spheres.C (in Mesh_3).
2006-06-06 14:44:44 +00:00
Laurent Rineau 8d43b786ae Copy Mesh_2, Mesh_3 and Surface_mesher, from the branch
"cannot_wait_for_CGAL-3.2" to the trunk.

My idea: the branch is the real working version, and I want it to be joined
back to the trunk:

          __________________________         cannot_wait_for_CGAL-3.2 branch
         /                          \
        /                            \ 
-------------------------------------------- trunk
        S                             M

The modification of the trunk between the splitting point S and the merging
point M has already been merged into "cannot_wait_for_CGAL-3.2".

The trunk versions of these three packages have been removed already.
2006-06-06 13:38:17 +00:00
Laurent Rineau 24535549b2 Remove trunk of Mesh_2, Mesh_3 and Surface_mesher.
Do not worry: I will "svn cp" the branch "cannot_wait_for_CGAL-3.2" into the
trunk, and the trunk will inherit from the logs of the branch.

My idea: the branch is the real working version, and I want it to be joined
back to the trunk:

          __________________________         cannot_wait_for_CGAL-3.2 branch
         /                          \
        /                            \ 
-------------------------------------------- trunk
        S                             M

The modification of the trunk between the splitting point S and the merging
point M has already been merged into "cannot_wait_for_CGAL-3.2".
2006-06-06 13:36:22 +00:00
Marc Glisse b13e3b5ec0 Last round of missing std:: before 3.2 (Andreas permission) 2006-04-19 16:56:12 +00:00
Laurent Saboret 87d65f75e3 Fixed svn properties of ASCII files (as defined by Maintenance/svn_client/config) 2006-04-18 12:42:52 +00:00
Laurent Rineau 781e40adc0 - Performance issue, in Standard_criteria.h:
Quality were not defined correctly, and then facets were not ordered
  correctly, in the Double_map.
2006-04-06 23:01:25 +00:00