Commit Graph

482 Commits

Author SHA1 Message Date
Laurent Rineau a53fd8c9c4 merge changes from next 2012-10-09 13:08:52 +00:00
Laurent Rineau 284de86348 A change to that file was commited by error.
Culprit revision:
  | ------------------------------------------------------------------------
  | r72283 | lrineau | 2012-09-21 14:55:27 +0200 (Fri, 21 Sep 2012) | 1 line
  | Changed paths:
  |    M /branches/next/Mesh_3/test/Mesh_3
  |    M /branches/next/Mesh_3/test/Mesh_3/CMakeLists.txt
  | 
  | svn:ignore
  | ------------------------------------------------------------------------
2012-10-04 12:43:28 +00:00
Clément Jamin 2366fee1e1 Merge from next 2012-09-28 14:51:02 +00:00
Laurent Rineau 5634b86bda merge changes from next 2012-09-27 14:32:12 +00:00
Laurent Rineau 139b8ce637 Add and test functions to save/load a c3t3 in binary format 2012-09-21 13:12:58 +00:00
Laurent Rineau 212ab519b3 svn:ignore 2012-09-21 12:55:27 +00:00
Laurent Rineau 787d19d6c3 Merge changes from next 2012-09-21 12:29:27 +00:00
Laurent Rineau 5db6778d2c Add export from c3t3 to tetgen
+ test output_to_medit and output_to_tetgen in test/Mesh_3/test_c3t3.cpp
2012-09-20 14:24:20 +00:00
Laurent Rineau 282aec41d1 Convert header files created by Jane to Unix style
Otherwise that really complicates merging operations!
2012-08-22 16:11:40 +00:00
Laurent Rineau a5cbb18b4b Merge change from next 2012-08-22 15:19:59 +00:00
Laurent Rineau e89993b723 Cherry-pick a fix from the Mesh_3 experimental branch
| ------------------------------------------------------------------------
  | r68577 | lrineau | 2012-04-17 15:14:37 +0200 (Tue, 17 Apr 2012) | 6 lines
  | Changed paths:
  |    M /branches/experimental-packages/Mesh_3-protecting_balls-branch/Mesh_3/test/Mesh_3/test_domain_with_polyline_features.cpp
  | 
  | Fix a compilation error in a test
  | 
  | There was a compilation error in the test suite, because of changed in
  | Mesh_3 headers. The error was about something not documented. The test
  | defines a dummy mesh domain Dummy_domain, that was no longer sufficient
  | for the test, in test/Mesh_3/test_domain_with_polyline_features.cpp
  | ------------------------------------------------------------------------
2012-08-22 15:09:34 +00:00
Laurent Rineau 2db4effa7e CMake: Fix the handling of cmake_policy
That is a followup-to my commit last year:
  | ------------------------------------------------------------------------
  | r63198 | lrineau | 2011-04-28 19:45:22 +0200 (Thu, 28 Apr 2011) | 5 lines
  | 
  | Try to fix my last revision about cmake_policy, with CMake-2.6.x
  | 
  | CMake gives an error if one tries to use cmake_policy(VERSION x.y.z) if
  | x.y.z is greater than the current CMake version.
  | 
  | ------------------------------------------------------------------------

The following check:
  if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" VERSION_GREATER 2.6)
is useless just after a call to:
 cmake_minimum_required(VERSION 2.6.2)



The script used to fix that was:


#!/usr/bin/env perl

$replacement=<<'END';
if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION}" VERSION_GREATER 2.8.3)
  cmake_policy(VERSION 2.8.4)
else()
  cmake_policy(VERSION 2.6)
endif()
END

while(<>) {
    if(/if\("\${CMAKE_MAJOR_VERSION}.\${CMAKE_MINOR_VERSION}" VERSION_GREATER 2.6\)/) {
        while(<>) {
            if(/^endif\(\)/) {
                print "$replacement";
                while(<>) {
                    print;
                }
                exit 0
            }
        }
    }
    print;
}
2012-08-22 12:35:03 +00:00
Jane Tournois dfbe03de54 Add a test of the I/O operators of C3t3, in ascii and binary modes, and when all indices are integers or not.
(part of r61189 from Mesh_3-experimental-GF)
2012-07-20 09:03:17 +00:00
Clément Jamin 41f9cbe411 Sequential Mesh_3 can now be compiled by GCC. 2012-07-09 15:44:58 +00:00
Clément Jamin b268598665 Replace LINKED_WITH_TBB by CGAL_LINKED_WITH_TBB. 2012-06-13 09:33:08 +00:00
Clément Jamin ac0ea90f4b Replaced the id by the timestamp 2012-05-02 15:30:27 +00:00
Clément Jamin 172bbb6716 "Streaming" XML exporter 2012-05-02 09:21:38 +00:00
Clément Jamin 9d86082455 Benchmark can now export performance data to an XML file
+ added Tanglecube function to benchmark
2012-04-26 17:11:59 +00:00
Clément Jamin dbe23f23c6 For Concurrent_compact_container testing. 2012-03-15 15:11:42 +00:00
Clément Jamin 9fb4537b7a To test the Concurrent_compact_container. 2012-03-09 11:59:17 +00:00
Laurent Rineau 8f59fd9592 Turn QPL into LGPLv3+ 2012-01-13 16:33:35 +00:00
Sébastien Loriot 91a5327fa8 change LGPLv2 -> LGPLv3 2011-10-10 13:48:25 +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 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 3c02e07b23 Try to fix my last revision about cmake_policy, with CMake-2.6.x
CMake gives an error if one tries to use cmake_policy(VERSION x.y.z) if
x.y.z is greater than the current CMake version.
2011-04-28 17:45:22 +00:00
Laurent Rineau c97205f085 Global handling of CMake policies (second part)
We declare 
  cmake_minimum_required(VERSION 2.6.2)
but we also use
  cmake_policy(VERSION 2.8.4)
to declare that our CMake scripts are OK with all the defaults of CMake policies
as of CMake-2.8.4. That shuts down the warnings of CMake-2.8.4.

That way, we no longer need any declaration of specific policies.

Those two lines must be present and maintained in all our CMakeLists.txt
files (the one for the libraries, and also the one for examples and demos,
and maybe tests).
2011-04-28 10:55:56 +00:00
Laurent Rineau 0631943153 Uniform capitalization in our CMake script: use lowercase for commands 2011-04-28 10:36:18 +00:00
Laurent Rineau ca5c92e034 Global maintenance of CMakeLists.txt: CMake minimal version is -2.6.2
The documentation of CGAL says that the minimal version of CMake must be
CMake-2.6.2.
  - change cmake_minimum_required to VERSION 2.6.2
  - no longer any need for the policy CMP0003 (was for 2.4.x)
  - no longer any need for CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS (was for 2.4)
2011-04-27 17:58:27 +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
Laurent Rineau f56460dce4 Add test of I/O operators of C3t3 2010-11-10 13:58:57 +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 87f968d928 Fix warning on Intel compiler. 2010-07-05 07:52:36 +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 f2973b7ff0 Fix warnings on MSVS2010. 2010-07-02 14:51:18 +00:00
Stéphane Tayeb 86ed389470 + Fix test suite wrt mesher efficiency improvement
+ Fix typo
2010-06-11 08:11:12 +00:00
Stéphane Tayeb 2ae782d74a Remove extra ';'. 2010-05-17 07:00:15 +00:00
Andreas Fabri 85462651e4 Replace derivation of a kernel by a typedef, as otherwise we do not profit from static filters in the EPIC kernels 2010-05-14 08:58:30 +00:00
Stéphane Tayeb ab513413a7 Add 'this->' for ansi-compliance. 2010-05-10 07:23:41 +00:00
Stéphane Tayeb d2572ea9e5 Enrich test_c3t3 2010-04-21 11:10:55 +00:00
Stéphane Tayeb 1f3332bf63 Move Mesh_3 from candidate-packages to trunk (2/2) 2010-01-06 13:46:02 +00:00
Stéphane Tayeb 313a28d9a2 Move Mesh_3 from candidate-packages to trunk (1/2) 2010-01-06 13:44:50 +00:00
Stéphane Tayeb 43fd508112 Merge r53086 from branches/experimental-packages/Mesh_3_with_optimizations
r53086 | stayeb
Use static filtered predicate Side_of_oriented_sphere_3 instead of Side_of_bounded_sphere_3.
2009-11-18 10:37:30 +00:00
Stéphane Tayeb 4874158276 Fix robust circumcenter construction (fix r52147). 2009-11-03 12:16:19 +00:00
Stéphane Tayeb 321c9893d6 use is_zero() comparison in traits. Add precondition check. 2009-10-05 16:06:14 +00:00
Stéphane Tayeb 7057ddc2d1 Merge [r51556-r51996]
From branches/CGAL-3.5-branch/Mesh_3 To trunk/Mesh_3.

r51758 | lrineau
* Fix all \ccPkgHowToCiteCgal at once to turn 08 into 09

r51937 | stayeb
* Fix polyhedral oracle issue: switch to exact intersection computation.

r51957 | stayeb
* cleanup example folder.

r51960 | stayeb
* Remove wrong using namespace statement.
2009-09-21 14:36:31 +00:00
Stéphane Tayeb a2682b9bc2 Merge [r51123-r51555]
From branches/CGAL-3.5-branch/Mesh_3 To trunk/Mesh_3.

r51555 | stayeb | 2009-08-27 15:10:21 +0200 (Thu, 27 Aug 2009) | 1 line
Fix missing svn properties.

r51552 | stayeb | 2009-08-27 13:45:47 +0200 (Thu, 27 Aug 2009) | 1 line
Fix test data size (gzip inr file).

r51431 | yvinec | 2009-08-24 12:08:59 +0200 (Mon, 24 Aug 2009) | 3 lines
fixed typo

r51382 | yvinec | 2009-08-20 17:59:49 +0200 (Thu, 20 Aug 2009) | 2 lines
fixed authors in reference manual

r51340 | yvinec | 2009-08-18 18:44:31 +0200 (Tue, 18 Aug 2009) | 2 lines
added package_info to Mesh_3
2009-08-27 13:46:14 +00:00
Laurent Rineau 07c73ca08d Remove no-longer-used GNUmakefile (and deps) 2009-08-20 13:58:10 +00:00
Stéphane Tayeb 149482f1f8 * Bug Fix: c3t3 cell/facet counter update during exudation 2009-07-09 14:17:51 +00:00
Stéphane Tayeb b0561461cc Remove old cgal_test file. 2009-07-08 11:26:02 +00:00
Stéphane Tayeb a32afb6637 * Bug Fix: c3t3 number of cells after refinment (Refine_cells_3.h)
* Bug Fix: c3t3 reconstruction (refine_mesh_3.h)
* Add assertions to check c3t3 number of cells & facets wrt std::distance (it was done only in test_c3t3) (test_meshing_*)
* Code factorization for dihedral angles computation (dihedral_angle_3.h, min_dihedral_angle.h)
* Cleanup
2009-07-08 09:00:25 +00:00
Stéphane Tayeb 13ce0db886 Attempt to fix warning on Inter Compiler. 2009-07-07 06:50:15 +00:00
Stéphane Tayeb 0e2c7a832d Fix robust weighted circumcenter. 2009-07-06 08:43:05 +00:00
Stéphane Tayeb 138d88f518 * Fix warnings
* Use adjacent_vertices instead of incident_vertices (which is deprecated)
2009-07-06 07:48:37 +00:00
Stéphane Tayeb 772f0ecd6b Split test_meshing into 3 files (less compilation memory consumption).\nDo not exude to verify mesher idempotence. 2009-07-03 12:32:32 +00:00
Stéphane Tayeb f7c6d2a847 Fix tests & compilation errors. 2009-06-28 17:39:25 +00:00
Stéphane Tayeb fe60ae5f4e Move Mesh_3 from branches/experimental-packages to trunk. 2009-06-26 15:29:26 +00:00
Laurent Rineau 3c6e2102f0 Move Mesh_3 into "experimental-packages" until accepted in CGAL.
(Request from Sylvain Pion.)
2007-03-19 07:32:03 +00:00
Andreas Fabri 871d9ab78f fix for min/max 2006-09-21 07:50:04 +00:00
Laurent Rineau cd4c32f716 fix GNUmakefil 2006-07-12 08:35:31 +00:00
Laurent Rineau 748fe298dc New test, that tests I/O operators of Mesh_3. 2006-07-11 23:34:00 +00:00
Laurent Rineau f3917f0301 fix symlinks 2006-07-10 10:22:28 +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 efefca1909 - in test/Mesh_3/combined_spheres*.C:
- new surface criterion class, named Uniform_size_multi_surface_criterion
    It does at the same time the job of
    CGAL::Surface_mesher::Vertices_on_the_same_surface_criterion
    and add size bounds, different for each surfaces.
  - This fixes the "combined_spheres hot spots" problem.
2006-07-07 18:03:24 +00:00
Laurent Rineau bf07fad719 new way of dealing with dependencies, in my packages 2006-07-05 16:28:34 +00:00
Laurent Rineau 76031c515c change the way of dealing with symlinks 2006-07-05 12:26:00 +00:00
Laurent Rineau 6672e3f6c1 new .C in test/Mesh_3, temporarely 2006-07-05 07:13:20 +00:00
Laurent Rineau a637714456 fix typo 2006-07-05 07:12:23 +00:00
Laurent Rineau 30ea24ae51 modified cgal_test, that allow not to clean the binaries 2006-07-05 07:03:44 +00:00
Laurent Rineau bcf0615024 *** empty log message *** 2006-06-28 17:07:51 +00:00
Laurent Rineau 9a1bd6b513 Fix Slivers_exuder so that it can pump vertices of surfaces too
(Note: I may have broken things. I'll check tomorrow.)
2006-06-27 17:01:46 +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 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 89c7daa0a5 exuding version of combined_spheres.C 2006-06-07 13:40:34 +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 b2a71386fa 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:16 +00:00
Laurent Rineau ebb3f7c912 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:21 +00:00
Laurent Rineau 629bb0c0ff - Too much changes, after Surface_mesher API changes.
- example/Mesh_3/implicit_surfaces_mesher_3.C compiles
- applications/ too.
- This package is still under reconstruction. Do no expect any from it!
2006-04-05 21:23:40 +00:00
Laurent Rineau 1ebedb3b02 Hacking of my personnal (dont submitted) makefiles: GNUmakefile 2006-03-20 15:10:14 +00:00
Joachim Reichel f582718758 rename create_makefile to cgal_create_makefile to avoid name clashes,
adjust all occurences of create_makefile and create\_makefile in the entire
repository (well, trunk only)
2006-03-15 22:10:02 +00:00
Laurent Saboret 541f5f7f0e Remove .cvsignore files (changed to svn:ignore properties) 2006-02-14 09:20:20 +00:00
Laurent Saboret 8b43d295ce Move packages to trunk root 2006-02-14 08:58:16 +00:00