Commit Graph

58 Commits

Author SHA1 Message Date
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
Laurent Rineau 31e2cfc6dc - the ImplicitFunction concept now has a operator()(Point), instead of
operator()(FT, FT, FT). This implied the modification of:
    - the Gray_level_image_3 and its documentation Gray_level_image_3.tex
    (new template parameter, to have the type of point),
    - all examples or demo,
    - Mesh_3 examples or demo as well

  This modification was mandatory, before the CGAL-3.2 release, to avoid
  Implicit_surface to use methods x(), y() and z() of points.

  Fully tested, etc.
2006-04-06 22:52:38 +00:00
Laurent Rineau 11a9a960eb fix copyright year 2006-04-06 19:50:58 +00:00
Laurent Rineau 92b4745731 - change to include/CGAL/Weighted_point_with_surface_index.h, used by
Mesh_3 only.
2006-04-06 19:49:41 +00:00
Laurent Rineau 199321c88d - remove an unused code, in Surface_mesher (check_visits) 2006-04-06 11:55:00 +00:00
Laurent Rineau fa41f8dc68 remove an unused and buggy method 2006-04-06 11:52:05 +00:00
Laurent Rineau 45465d545e - fix the classes Surface_mesh_cell_base_3 and
Complex_2_in_triangulation_cell_base_3, so that Surface_mesh_cell_base_3
  corresponds to its documentation (the default base class was hidding the
  problem).
2006-04-06 11:44:34 +00:00
Laurent Rineau a32a18d1de Updated copyright years and ifndef macro name. Cannot break anything. 2006-04-05 20:58:48 +00:00
Laurent Rineau ba53fc3365 - demo now output an off file, probably non oriented.
- Mesh_3/application/off_to_medit.C helps to convert it to a medit file.
2006-04-05 08:57:15 +00:00
Laurent Rineau bf5b494f4f kill warnings 2006-03-29 15:39:54 +00:00
Laurent Rineau cc7dc178c7 - the handle of bad edges, in
include/CGAL/Surface_mesher/Surface_mesher_regular_edges.h, is now lazy,
  like in Surface_mesher_manifold.h
- include/CGAL/Surface_mesher/Surface_mesher_regular_edges_with_boundary.h 
  now longer exists: Surface_mesher_regular_edges is templated by a
  boolean (see the code)
- fix efficiency errors in Surface_mesher_manifold.h
2006-03-23 15:52:52 +00:00
Laurent Rineau 6e97eaa695 added CGAL/basic.h, just in case 2006-03-23 15:49:09 +00:00
Laurent Rineau cf4f92ec29 - change the way the parameter error_bound of the constructor of
Implicit_Surface_3 is multiplied by the radius of the bounding sphere.
- change some bug messages
2006-03-22 22:03:45 +00:00
Laurent Rineau 1fbd74b36b important patch: change the sign returned by Gray_level_image_3::operator() 2006-03-22 21:44:43 +00:00
Laurent Rineau 120f5224e9 - fix the (bool debug, bool verbose) parameters of
Surface_mesher::refine_mesh. It is now template parameters of the class
  Surface_mesher. I have verified that the optimizer of GNU/CC is able to
  strip the debug code when NO_DEBUG is use.
2006-03-22 13:47:31 +00:00
Laurent Rineau 28e3008ec3 Fix a comment. 2006-03-22 13:22:55 +00:00
Laurent Rineau 8152739c1b Remove an old debug code. 2006-03-22 12:43:43 +00:00
Laurent Rineau 91b8567695 remove default iso_value 2006-03-22 10:23:59 +00:00
Laurent Rineau 95a4d483bb FIX the crazy bug: rename the base class!!! 2006-03-21 15:24:26 +00:00
Laurent Rineau 2e1fe4c14a - changes template parameters of all classes
include/CGAL/Surface_mesher/Surface_mesher*.h and update of
  include/CGAL/make_surface_mesh.h
2006-03-21 15:04:50 +00:00
Laurent Rineau 5fb2bf0100 changes names "gt."->"GT()." and list fonctors 2006-03-21 13:50:14 +00:00
Laurent Rineau 4d49bd5c23 - new version of include/CGAL/Surface_mesher/Oracles/Implicit_oracle.h that
now uses include/CGAL/Surface_mesher/Oracles/Sphere_oracle_3.h
2006-03-21 03:30:55 +00:00
Laurent Rineau a42cf143e6 - fix include/CGAL/Gray_level_image_3.h 2006-03-20 18:58:11 +00:00
Laurent Rineau 688ba73466 - added a new class include/CGAL/Surface_mesher/Oracles/Sphere_oracle_3.h
and a specialization Surface_mesh_traits_generator_3<CGAL::Sphere_3<Kernel> >
- updated test test/Surface_mesher/implicit_surface_mesher_test.C to test
  the meshing of Kernel::Sphere_3(ORIGIN, 1.)
2006-03-17 19:22:53 +00:00
Laurent Rineau 99743eeb40 corrected typo 2006-03-17 19:21:26 +00:00
Laurent Rineau ee8ea5fc0f - try to workaround ICL and VC++ 8 bug (or not bug, I do not know), in
include/CGAL/Surface_mesher/Surface_mesher_manifold.h
2006-03-17 13:24:08 +00:00
Laurent Rineau 0b5c39287f - Added a test file test/Surface_mesher/internal-test-surface-mesher.C for
Andreas
2006-03-15 16:37:24 +00:00
Laurent Rineau 2229e83a45 - Added macro CGAL_SURFACE_MESHER_DEBUG_CONSTRUCTORS to strace constructors
calls of classes in include/CGAL/Surface_mesher/Surface_mesher*.h
2006-03-15 14:32:59 +00:00
Laurent Rineau f1cfb6bf15 oups! missed a coma.
C++ is really a strange language, carring of comas! :-)
2006-03-10 18:15:45 +00:00
Laurent Rineau 9739b9b85a remove unused Tr::* typedefs 2006-03-10 17:23:19 +00:00
Laurent Rineau 365c826473 rename "traits" to "surface_mesh_traits"
I do not like short names.
2006-03-10 17:22:08 +00:00
Laurent Rineau 912dacb1b9 completed the write of SurfaceMeshCriteria_3.tex
and changes in code correspondingly.
2006-03-09 11:25:53 +00:00
Mariette Yvinec 3a3e9b9a36 modified before_insertion of Surface_mesher_manifold:
added in_complex test of facets and remove in_comples test of vertices
after_insertion of Surface_mesher_manifold :
use is_regular_or_boundary_for_vertices
2006-03-09 09:54:29 +00:00
Laurent Rineau 635d80bed8 SURFACE_MESHER_VERBOSE -> CGAL_SURFACE_MESHER_VERBOSE 2006-03-09 09:25:59 +00:00
Laurent Rineau 8ea975e588 - modification of Complex_2_in_triangulation_vertex_base_3 and
Complex_2_in_triangulation_3: the result of
  union_find_of_incident_facets() is cached in the vertex.
- remove unwanted verbose output. It is now activable by defining
  the preprocessor macro SURFACE_MESHER_VERBOSE.
2006-03-09 08:31:02 +00:00
Laurent Rineau 6fadb288a3 - change some hard-coded "double" to "FT"
- change face_type() to face_status() in users of C2t3
- first testsuite
- renamed nested typedef Triangulation_3 to Triangulation, in C2t3
- added specializations for Manifold_tag and Manifold_with_boundaries_tag, 
  in include/CGAL/make_surface_mesh.h
- heavy changes of template parameters and constructors of:
     - Surface_mesher_regular_edges_without_boundary_base
     - Surface_mesher_regular_edges_base
     - Surface_mesher_manifold_base
- new classes Surface_mesher_manifold, urface_mesher_regular_edges and
  Surface_mesher_regular_edges_without_boundary, that are no longer
  copy-pasted from Surface_mesher.
- rename all triangulation objects to "tr", and all geom_traits objects to
  "gt". No longer "tri3", or "ker".
- updated the target "depends" of GNUmakefile files.
- testsuite compiles, but runtime problem in manifold version. Non manifold
  runs correctly.
- fix layout of this changes.txt file
2006-03-08 23:00:44 +00:00
Laurent Rineau 91e4b4128c Y-A-TODO markup! 2006-03-08 17:22:27 +00:00
Laurent Rineau e66e9ec948 - change some hard-coded "double" to "FT"
- fix syntax errors in include/CGAL/Complex_2_in_triangulation_3.h
- change face_type() to face_status() in users of C2t3
- updated test suite
2006-03-08 16:00:25 +00:00
Mariette Yvinec 3bc411e439 changed the booleans in Complex_2_in_triangulation_vertex_base_3 2006-03-08 15:43:32 +00:00
Laurent Rineau a3265101df removeold headers 2006-03-08 15:34:25 +00:00
Mariette Yvinec 8f3310e242 changes in Complex_2_in_triangulation_3 :
remove set_in_complex and remove_from_complex for vertices
    change  set_in_complex and remove_from_complex for facets
    add iterators on complex faces
2006-03-08 14:47:38 +00:00
Laurent Rineau 09e658a77a rename tri3 to tr, and minor syntax fixes 2006-03-08 14:44:48 +00:00
Mariette Yvinec 52d9682c58 changes in Complex_2_in_triangulatio_3 :
remove set_in_complex and remove_from_complex for vertices
    change  set_in_complex and remove_from_complex for facets
2006-03-08 13:28:51 +00:00
Mariette Yvinec 00db7952f9 changes in Complex_2_in_triangulatio_3 :
fixed operator Not_in_complex
    changed face_type into face_status
    changed is_in_complex 
    added is_regular_or_boundary_for_vertices
2006-03-08 10:45:51 +00:00
Laurent Rineau e4ee7201ba remove incorrect executable prop 2006-03-07 21:20:32 +00:00
Laurent Rineau 094d397054 Added a gray level image 3d mesher.
ImageIO (formerly known as libInrImage) is shipped in the 
examples/Surface_mesher/ImageIO/ subdirectory.
2006-03-07 18:40:32 +00:00
Laurent Rineau 5e9460e8e4 stupidly forgot to call refine_mesh() 2006-03-07 17:35:06 +00:00
Mariette Yvinec 3c07a5ba0c Move some include statements 2006-03-07 17:29:26 +00:00
Laurent Rineau 6fba1625ed Modified the API of SurfaceMeshVertexBase_3: code and documentation. 2006-03-07 12:46:22 +00:00
Laurent Rineau f2dbff8b5d (WARNING: partially compiles, runtime errors, temporary commit)
- Added an undocumented class Surface_mesh_triangulation_generator_3 which
  is a meta functor Kernel->Triangulation, that computes the right
  triangulation for make_surface_mesh()
- Added documented files:
    - include/CGAL/Implicit_surface_3.h
    - include/CGAL/Surface_mesh_default_criteria_3.h
    - include/CGAL/Surface_mesh_complex_2_in_triangulation_3.h
- In doc, rename:
    - SurfaceMeshCriteria to SurfaceMeshCriteria_3
    - Surface_mesh_default_criteria to Surface_mesh_default_criteria_3
- Added doc_tex GNUmakefile, for developers uses.

- Wrote the first test file!
- Find Triangulation_mesher_level_traits_3.h in include/CGAL/Mesh_2/, now.
- Major changes in template arguments, data members, and constructors of:
  - class Surface_mesher,
  - class Implicit_oracle,
- Minor changes everywhere (sorry for the imprecision, too long).
2006-03-02 16:40:43 +00:00