Commit Graph

128 Commits

Author SHA1 Message Date
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
Stéphane Tayeb e87a55cf2e Bug fix in sliver perturber: the length of the move should depend on the parameter provided by the user. 2010-07-02 11:25:36 +00:00
Stéphane Tayeb 8b6a0cbc25 Fix warnings. 2010-07-01 08:27:03 +00:00
Stéphane Tayeb 52b0c5874c Add missing #include. 2010-06-21 15:32:30 +00:00
Stéphane Tayeb d1a0e71528 Add missing #include. 2010-06-21 15:28:31 +00:00
Stéphane Tayeb 623bd3e119 + Add visitors in Mesh_3 optimization classes (to be able to trace optimization execution in demo).
NB: there is no change in the public API or in the behaviour of the algorithms
2010-06-21 13:59:12 +00:00
Stéphane Tayeb c9e80127c9 + Add a new header file for optimization global function default parameters
+ Use this new header in Mesh_3_demo
2010-06-21 09:59:28 +00:00
Stéphane Tayeb cc820c185e Mesh_3_demo:
+ Add status report in meshing MessageBox
  + Fix a bug which could happened if user stops meshing process early: cells should be scanned to have tets in the mesh and not only facets
2010-06-18 16:16:50 +00:00
Stéphane Tayeb 8e01b3cd32 Mesh_3_demo:
+ A window now pops-up during meshing (with a 'stop' button)
2010-06-18 13:06:08 +00:00
Stéphane Tayeb 08e6269f08 Second step towards run of mesh optimization process in a separated thread:
+ A message box pops up when optimizer is launched.
  + Optimization can be stop using 'stop' button of this message box

  + todo: add (dynamic) information in message box about status of running optimizer
2010-06-17 14:02:02 +00:00
Stéphane Tayeb 038b2ec240 Optimize (efficiency) Mesh_3 refinement process:
+ do not update bad tet queue during the first surface refinement

  + rebuild restricted Delaunay uses adjacency informations during volume
  refinement (could be disabled by setting macro CGAL_MESH_3_USE_OLD_SURFACE_RESTRICTED_DELAUNAY_UPDATE)
2010-06-10 13:08:29 +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
Laurent Rineau 09e21e48d1 Merged revisions 56414-56415,56551-56552 via svnmerge from
svn+ssh://lrineau@scm.gforge.inria.fr/svn/cgal/branches/CGAL-3.6-branch

........
  r56414 | reichel | 2010-05-21 19:16:35 +0200 (Fri, 21 May 2010) | 2 lines
  
  Fix syntax error in generated VRML 2 file in IndexedFaceSet nodes.
........
  r56415 | reichel | 2010-05-21 19:22:44 +0200 (Fri, 21 May 2010) | 2 lines
  
  Add changelog entry for r56414.
........
  r56551 | stayeb | 2010-06-03 11:11:44 +0200 (Thu, 03 Jun 2010) | 8 lines
  
  Backport r54173 from trunk
  
    | New Revision: 54173
    | Author: stayeb
    | Date: 2010-02-15 09:55:02 +0100 (Mon, 15 Feb 2010)
    | 
    | Log message:
    | Add missing includes.
........
  r56552 | lrineau | 2010-06-03 11:57:44 +0200 (Thu, 03 Jun 2010) | 2 lines
  
  Add missing includes.
........
2010-06-03 12:22:15 +00:00
Stéphane Tayeb f8638f27cd Fix compilation on x86-64_Linux-2.6_llvm-clang-with-g++-4.4.1_F11: implement private classes before using their internal types. 2010-05-20 07:13:39 +00:00
Andreas Fabri 480ddb54f5 Remove ';' 2010-05-14 09:46:02 +00:00
Andreas Fabri 224606fadd Remove ';' after free function 2010-05-14 08:42:39 +00:00