Commit Graph

237 Commits

Author SHA1 Message Date
Laurent Rineau a13cf08d5b #warning is not correct C++. 2010-06-24 16:08:07 +00:00
Andreas Fabri 6e5a6f74b6 static_cast 2010-06-23 14:20:14 +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 48bb6afcf6 Remove extra ';' 2010-05-17 14:19:22 +00:00
Andreas Fabri 629bf20530 Remove ';' 2010-05-14 10:03:19 +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
Laurent Rineau 2378e3ebfc Add missing #include <set> 2010-01-13 22:32:38 +00:00
Laurent Rineau 570ede6437 Fix the name of the header protection macro. 2009-08-27 14:13:55 +00:00
Laurent Saboret a332a2dc4e Partially fixed the global orientation of the output mesh:
Complex_2_in_triangulation_3_polyhedron_builder used to orient coherently the facets but not globally: the mesh was randomly oriented towards inside or outside.
This fix orients the facet with max z towards +Z axis, in order to orient the mesh towards outside.
This is a naive algorithm but is works most of the time.
2009-08-03 10:57:57 +00:00
Laurent Saboret 1f05a2989a Moved output_surface_facets_to_polyhedron() from Surface_reconstruction_points_3 to Surface_mesher 2009-06-29 13:31:24 +00:00
Laurent Rineau a80352f38c Make Surface_mesher crash when a looping condition is detected, instead of
just displaying a warning (with the loop, the warning is a DoS on the CGAL
testsuite).
2009-05-05 14:10:13 +00:00
Laurent Saboret 1ee7c2d2ff Port to Linux/g++ 4.3 2009-04-14 15:24:57 +00:00
Laurent Saboret 005aefcf8a Fixed compilation error in class Complex_2_in_triangulation_3_polyhedron_builder 2009-04-10 09:14:14 +00:00
Sylvain Pion 55b427d531 lenght -> length 2009-04-07 19:30:59 +00:00
Laurent Rineau dff123ffcb Minor edit: comments, and update of the copyright. 2009-02-27 14:00:51 +00:00
Laurent Rineau fb51f5046d Had a forgotten #include 2009-02-27 14:00:22 +00:00
Laurent Rineau 1183905c3d Add the following function, which is documented:
Face_status face_status (const Cell_handle c, const int i, const int j) const
2009-02-07 13:30:04 +00:00
Laurent Rineau 1c91006892 More profiling instructions (beurk!) 2009-01-26 15:22:57 +00:00
Laurent Rineau f709e20493 - Add two header <CGAL/Surface_mesher/Profile_timer.h> and
<CGAL/Surface_mesher/Profile_counter.h> that wrap the one in CGAL/.
- Add profilers to several parts of Surface_mesher code.
2009-01-23 15:01:25 +00:00
Laurent Rineau b0cc8d2337 Remove check_restricted_delaunay, and assertions using it: that check is not robust, and is pretty useless now. 2009-01-23 13:49:56 +00:00
Laurent Rineau 38abf96ec8 Fix is_in_volume for images.
Note: That should impact only Mesh_3, which is not in CGAL-3.4-I.
2008-12-03 17:23:34 +00:00
Laurent Rineau f17c90018c Add parenthesis so that g++ does not complain about that. 2008-11-17 09:41:33 +00:00
Laurent Rineau afddfdcb23 Fix a warning 2008-11-10 14:37:48 +00:00
Laurent Rineau ec782e7c64 Fix Surface_mesher: remove all references to Singular_edges_allowed_tag,
which is a feature that I will not commit.
2008-10-29 13:42:19 +00:00
Laurent Rineau afa5e5203b Split <CGAL/make_surface_mesh.h> in two
files. <CGAL/Surface_mesher_generator.h> will not be documented. It can be
used to apply rules step be steps.
2008-10-28 17:42:27 +00:00
Laurent Rineau 813e25942d Commit a function that will be soon documented. 2008-10-28 17:34:02 +00:00
Andreas Fabri 9020359238 avoid VC++ warning 2008-10-14 08:27:53 +00:00
Laurent Rineau f4f78646d2 Fix <GL/gl.h> -> <CGAL/gl.h> (the latter is a workaround for Windows and 2008-10-08 11:49:36 +00:00
Laurent Rineau 43cc745311 Commit work of previous days (week-end, yesterday and this morning):
The surface mesher Qt4 demo can now deal with labellized images.
2008-10-07 13:00:59 +00:00
Laurent Rineau 9c8d626c30 Fix a bug in Surface_mesher: one cannot have two constructors for
CGAL::Surface_mesher::Implicit_surface_oracle_3<>.
2008-10-07 08:48:50 +00:00
Laurent Rineau 4028bff30a Multi_label_oracle is dead. 2008-10-03 14:38:24 +00:00
Laurent Rineau 01bcb32cb9 Internal and non documented stuff: gives access to the function object. 2008-10-03 13:58:08 +00:00
Laurent Rineau 201c494728 Remove #error introduced by revision 44887. 2008-09-30 12:50:31 +00:00
Michael Hemmer 28575ad723 rename Real_embeddable_traits::Sign -> Sgn 2008-09-18 16:32:35 +00:00
Sylvain Pion d167660a73 Remove the explicit To_double<> argument to Cartesian_converter<>: the default is fine. 2008-08-27 15:25:39 +00:00
Sylvain Pion c278a43b16 Follow-up of use of Robust_construction. 2008-08-27 15:16:57 +00:00
Sylvain Pion 3526c73a06 Use Robust_construction<>. 2008-08-27 15:11:20 +00:00
Sylvain Pion a76ed463b1 Bool -> bool in comment 2008-08-26 13:25:42 +00:00
Laurent Saboret a9e6b6fdfc Fixed compilation errors (Visual C++ 2005) 2008-08-19 16:00:52 +00:00
Andreas Fabri bb8c3dc397 Put verbose output in an #ifdef 2008-08-12 05:16:07 +00:00
Pierre Alliez 5a97fd3863 removed messages during surface meshing 2008-08-11 18:03:28 +00:00
Laurent Rineau 92e073f1db Add missing include. 2008-08-03 21:54:17 +00:00
Laurent Rineau 12e0e4ecc8 Add the output of remeshing to a new polyhedron. 2008-07-28 19:59:22 +00:00
Sylvain Pion 79864c0c8e Remove Arity_tag. 2008-07-22 12:29:01 +00:00
Laurent Rineau 6579b41282 Fix a segfault in Mesh_3. 2008-06-12 15:37:06 +00:00
Laurent Rineau 5bc7e76e17 Add an assertion, that checks if a facet is in conflict with its refinement
point. It MUST be (otherwise Surface_mesher enters an infinite loop).

If the assertion fails, its "what() string" is a set of debugging
informations.
2008-06-10 14:06:24 +00:00
Laurent Rineau b5bad15aa7 Fix an old nasty bug: the clipping for segment with a sphere was incorrect! 2008-06-09 14:20:14 +00:00
Laurent Rineau 6990082221 - New macro CGAL_SURFACE_MESHER_DEBUG_IMPLICIT_ORACLE
- More debug instructions in <CGAL/Surface_mesher/Implicit_surface_oracle_3.h>
2008-06-09 13:33:37 +00:00
Laurent Rineau e6b1bb3ae2 Put some debugging code between #ifdef/#endif CGAL_SURFACE_MESHER_DEBUG_CRITERIA 2008-06-06 12:28:14 +00:00
Laurent Rineau ddfc10e8e0 Minor changes:
- Add two const& 
  - Let before_insertion_impl in Surface_mesher_manifold and
    Surface_mesher_regular_edges pass its argument of type Facet to the same
    function in the base class.
2008-06-06 12:22:22 +00:00