Commit Graph

143 Commits

Author SHA1 Message Date
Laurent Rineau be658460eb Merge changes from next 2012-08-21 09:04:51 +00: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
Laurent Rineau aa19d9f3ad Minor whitespace changes, to fit 80 columns 2012-04-18 14:56:31 +00:00
Laurent Rineau 34ea09bc75 Minor whitespace changes, to fit 80 columns 2012-04-18 14:52:49 +00:00
Laurent Rineau bedc217022 Whitespace changes + Polyline renamed to Polyline_and_context
- Rename Polyline to Polyline_with_context: the name was not good
- Reformat the whitespace, to fit 80 columns
2012-04-18 14:45:43 +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
Laurent Rineau eb52def3db Restore indentation (one line) after a modification by a Windows developer 2012-04-10 12:08:05 +00:00
Laurent Rineau b2d0dcfc58 Remove a warning (unused variable) 2012-01-31 15:03:44 +00:00
Laurent Rineau dbf52257f8 In Polyhedral_mesh_domain_3, add a check that the input polyhedron is
triangulated.
2012-01-18 11:06:11 +00:00
Laurent Rineau 83f0d35e52 Protect calls to min and max with parenthesis 2012-01-17 15:54:58 +00:00
Laurent Rineau 8f59fd9592 Turn QPL into LGPLv3+ 2012-01-13 16:33:35 +00:00
Laurent Rineau ab6628060a Fix a bug in a debug message 2011-12-07 18:10:32 +00:00
Philipp Möller e9748fdf9a Set but not used variables removed for smoother compiling with -Wextra 2011-11-25 14:04:37 +00:00
Laurent Rineau 9d7bc3fcd7 Typo. To be coherent with current documentation of the concept MeshDomain_3
In Mesh_domain_with_polyline_features_3, the type FT must be taken from the
geom traits, and not from the base, because the concept MeshDomain_3 does
not ask for the type FT.
2011-09-30 13:41:09 +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
Laurent Rineau 15f5aea274 Patch so that SWIG can use this class
For SWIG, iterators must be default-constructible.
2011-05-11 12:44:01 +00:00
Laurent Rineau ffc1186215 - Add a function overload that was documented but not implemented!
- Fix a call in a deprecated function.
- In the tests, add the test of the deprecated functions.
2011-05-11 12:34:50 +00:00
Laurent Rineau 6d500f3605 Make the code conform to the documentation: add C3t3::edges_in_complex_end(Curve_segment_index) 2011-04-19 12:15:22 +00:00
Laurent Rineau aad9d073da Bug in Construct_initial_points if the non-bounding polyhedra are coplanar.
Before this patch, Construct_initial_points did not try to intersect with
the bounding polyhedron, but only with the other polyhedra. That can lead
to a crash if the given polyhedra are a bounding one, and a second
polyhedron that is coplanar. Then the initial points are *all* coplanar,
and then tr.dimension()==2 and an assertion is triggered.

Now Construct_initial_points uses construct_intersection_object(), and the
later tries to intersect with all polyhedra, including the bounding one.
2011-03-23 14:24:26 +00:00
Laurent Rineau c6a63ce5f9 Add an error if the class template Triangle_accessor is instantiated.
Only its specialization (partial or not) should be instantiated.
2011-03-23 11:42:49 +00:00
Sébastien Loriot 0ebdccfa4e update URL and Id tag 2011-03-02 14:59:51 +00:00
Sébastien Loriot 4fc6788be8 *add contains function to mutable_queue
*use mutable_queue instead of relaxed_heap in Sliver_perturber
2011-02-15 16:03:46 +00:00
Sébastien Loriot f9ea578db9 Insert cells in container of cells (not container of facets) 2011-01-26 07:40:10 +00:00
Laurent Rineau 433bc6eb50 The previous patch for Polyline::locate was not correct. Now we really
project the point on the polyline (ie find the nearest segment).
2011-01-19 13:53:28 +00:00
Laurent Rineau c537b7cc27 In this file, fix the method Polyline::locate: the previous implementation
was using predicates on intermediate construction, and thus this was not
exact. Now the implementation only uses predicates, that are exact in the
filtered kernel.
2011-01-19 11:57:21 +00:00
Laurent Rineau 574d50aa3b Remove unused header file: Mesh_criteria_3.h is the new equivalent. 2011-01-18 09:01:20 +00:00
Laurent Rineau 6bb54466d8 Fix the CGAL_CFG_MATCHING_BUG_6 version: missing operator() for Sphere_3 and Circle_3. 2011-01-11 13:22:14 +00:00
Laurent Rineau 95cde53b17 Merge "Mesh_3 with features" in trunk, so that it is in CGAL-3.8, at last!
https://cgal.geometryfactory.com/CGAL/Members/wiki/Features/Mesh_3_with_features
2011-01-10 15:43:22 +00:00
Michael Hemmer adf5b2bc4a added missing includes 2010-11-07 11:53:20 +00:00
Sébastien Loriot 930af080a9 add comment 2010-10-11 10:52:26 +00:00
Sébastien Loriot 1c7208f137 allow default constuctor of Facet_iterator 2010-10-11 10:45:12 +00:00
Sébastien Loriot 74f0d49f78 add missing const
allow default constructor for Cell_iterator.
2010-10-11 08:48:38 +00:00
Sébastien Loriot 72188d60e3 add missing but documented function 2010-10-08 11:48:25 +00:00
Sébastien Loriot d64265a379 correct indentation 2010-10-06 13:49:59 +00:00
Sébastien Loriot f60852ba5c less restrictive specialization 2010-10-06 13:40:04 +00:00
Laurent Rineau 7606b93406 Merge last unmerged revision from the branch CGAL-3.7-branch:
| ------------------------------------------------------------------------
  | r57979 | lrineau | 2010-08-11 15:24:20 +0200 (Wed, 11 Aug 2010) | 1 line
  | 
  | Global fix of all uses of qt4_generate_moc: the destination file path must be absolute.
  | ------------------------------------------------------------------------
  | r58026 | stayeb | 2010-08-12 17:40:41 +0200 (Thu, 12 Aug 2010) | 2 lines
  | 
  | Bug fix: ensure that c3t3 contains no in complex cell when starting a new refinement process. We need this because the first refinement of the surface does not update the volume, so c3t3 can't know that in complex cells have been deleted.
  | 
  | ------------------------------------------------------------------------

(That shows it is difficult to avoid to merge the release branch in the
trunk from time to time.)
2010-08-20 13:09:22 +00:00
Sylvain Pion 74dfad8dad Avoid throwing memory out of the window. 2010-08-18 14:09:32 +00:00
Stéphane Tayeb b54f2dc130 Bug fix: ensure that c3t3 contains no in complex cell when starting a new refinement process. We need this because the first refinement of the surface does not update the volume, so c3t3 can't know that in complex cells have been deleted. 2010-08-12 15:40:41 +00:00
Stéphane Tayeb caa4afd04d Merge from CGAL-3.7-branch/Mesh_3. 2010-08-05 09:41:38 +00:00
Stéphane Tayeb a5f7a4357e Fix facet encroachement test:
+ some encroached facet could be missed with the old version of the code (seems to happen in some cases where facet_size > tet_size in the meshing criteria). This leads to a possible crash with the new optimized version of the volume refinement.
2010-08-03 06:34:02 +00:00
Michael Hemmer ef787e82df added missing include <CGAL/Origin.h> 2010-07-19 14:01:28 +00:00
Stéphane Tayeb 4d8c7e19c9 Bug fix: remove a call to timer.stop() in verbose mode to avoid calling twice timer.stop() (that leads to a precondition failure). 2010-07-09 08:02:20 +00:00
Stéphane Tayeb 3759e0c596 Fix warning: remove unused parameter. 2010-07-07 07:30:34 +00:00
Stéphane Tayeb 2ec1dd5eb9 Fix warnings: fix r57304: use std::size_t instead of strange casts to unsigned int. 2010-07-02 15:37:13 +00:00
Stéphane Tayeb 82f725fa95 Fix warnings: remove unused variables. 2010-07-02 15:13:57 +00:00
Stéphane Tayeb f2973b7ff0 Fix warnings on MSVS2010. 2010-07-02 14:51:18 +00:00
Stéphane Tayeb d15a229e8a Fix typo (from commit r57297). 2010-07-02 13:01:58 +00:00
Stéphane Tayeb 751a789e9e Parameter factor is actually a squared factor (see r57295)
+ fix parameter and function namings
  + fix numerical values used in perturb_mesh_3()
  + fix numerical values used in demo
2010-07-02 12:54:56 +00:00