Commit Graph

434 Commits

Author SHA1 Message Date
Philipp Möller 6eb8e01438 Fix linking on MacOS after the link_libraries change 2012-10-11 17:59:04 +00:00
Eric Berberich e4136efc7b better verbosity 2012-10-10 12:50:40 +00:00
Eric Berberich 64c998cfa7 do not compile some example if ImageIO is not configured 2012-10-10 12:49:18 +00:00
Laurent Rineau 9a3998357f svn merge --reintegrate \^/branches/features/CGAL_foundations-fix_missing_headers-lrineau 2012-10-10 12:39:36 +00:00
Laurent Rineau f435be98fb Fix an efficiency bug, when FT is not double.
dihedral_angle() returns a double. So values must be converted to double
ASAP.
2012-10-10 12:24:15 +00:00
Laurent Rineau f0118a1311 Revert last commit (commited by error) 2012-10-09 09:28:37 +00:00
Laurent Rineau 648472bdac After a run of detect_packages_license 2012-10-09 09:26:23 +00:00
Laurent Rineau 795c71fc9b Fix headers of Mesh_2 and Mesh_3. All were missing #include.
I found out that way that <CGAL/Mesh_3/Refine_facets.h> and
<CGAL/Mesh_3/Protect_edges_sizing_field> were using global functions
instead of functors of the traits class.

Note also the funny bug that <CGAL/Regular_triangulation_cell_base_3.h> was
depending on <CGAL/Triangulation_vertex_base_3.h>!
2012-10-08 09:33:38 +00:00
Laurent Rineau 6b0bf6078c BUGFIX: backup points attributes before the call to c3t3.remove_from_complex
C3t3::remove_from_complex modifies the in_dimension() of the vertex

(That may have been a bug.)

It is actually a merge from r72577 of
/branches/features/Mesh_3-experimental-GF/Mesh_3
2012-10-04 14:56:03 +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
Laurent Rineau c151d1edfd Fix a detail in the Mesh_3 demo c3t3 i/o plugin
The I/O plugin for c3t3 can only save c3t3 items.
2012-10-02 09:03:48 +00:00
Laurent Rineau 212ab519b3 svn:ignore 2012-09-21 12:55: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 7647e7ec7e doc BUGFIX 2012-09-12 13:30:11 +00:00
Mariette Yvinec faa00e3d9e remove copyright headres from Mesh_3 examples 2012-09-11 15:15:02 +00:00
Laurent Rineau c94a2f43c2 BUGFIX. Fix the documentation
The documentation of parameters::features() was not synced with the actual code.
2012-08-31 14:01:37 +00:00
Laurent Rineau 45ed27fc82 reintegrate /branches/features/Mesh_3-refactoring-lrineau 2012-08-22 17:09:10 +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
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
Laurent Rineau 1838684a6a Fix compilation of Polyhedron and Mesh_3 demos on Windows 2012-08-09 14:26:24 +00:00
Laurent Rineau bd6ab03d21 UseCGAL no longer call link_libraries(${QT_LIBRARIES}) 2012-08-08 14:36:31 +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 876db341bc Fix the documentation of return types of CGAL mesh boost parameters 2012-05-28 15:40:45 +00:00
Philipp Möller d3ee04897c merged next 2012-05-09 13:50:00 +00:00
Laurent Rineau ce27872e4e merge changes from next 2012-04-19 12:11:21 +00:00
Laurent Rineau a4e2f8d4f5 Bug fixes in Mesh_3 documentation
1/ The requirement on the constructor of
Polyhedral_mesh_domain_with_features_3 was wrong: the argument must be
convertible to Mesh_polyhedron_3, and not to Polyhedron_3.

2/ The geom traits of Mesh_polyhedron_3<Gt> must be model of
PolyhedronTraits_3 *and* of IntersectionGeometricTraits_3.

(That patch passes the manual testsuite.)
2012-04-18 15:33:14 +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 1cc3ca5ace Fix documentation
Since CGAL-3.8, the API has changed (with MPL tricks to keep the backward
compatibility):
  - In the concepts Mesh(Facet|Cell)Criteria_3, the nested types
    (Facet|Cell)_badness were renamed to Is_(facet|cell)_bad.
That change was not fully done in the documentation.
2012-02-09 15:12:13 +00:00
Laurent Rineau 0b427c99eb Fix license headers 2012-02-06 11:39:56 +00:00
Laurent Rineau b2d0dcfc58 Remove a warning (unused variable) 2012-01-31 15:03:44 +00:00
Andreas Fabri 75f50a1513 Fix for Windows 'min/max' bug 2012-01-18 11:32:21 +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 a37c74d534 Add license files, per package 2012-01-16 15:54:22 +00:00
Laurent Rineau 2af2160942 Turn \ccLicenseQPL into \ccLicenseGPL 2012-01-13 17:13:55 +00:00
Laurent Rineau 8f59fd9592 Turn QPL into LGPLv3+ 2012-01-13 16:33:35 +00:00
Laurent Rineau 5b5dd33848 merge changes from next 2012-01-09 12:33:39 +00:00
Sébastien Loriot 6218ff55d6 make the plane plugin working with old version of QGLViewer too 2011-12-16 16:48:15 +00:00
Sébastien Loriot 8feec6a713 *add more path for finding GLEW
*pretty formatting of Cmake error when glew is not here 
 for the plane plugin
2011-12-16 16:31:31 +00:00
Philipp Möller bf3a5b414c * showing isovalues at pixels is now done with shift+click and is a lot smoother 2011-12-16 12:53:28 +00:00
Philipp Möller 15e8fee2ba Fixed an issue where the slider size would jump around when the cubeLabel grew by a digit 2011-12-16 11:27:19 +00:00
Philipp Möller c51a88d593 merged next prior to reintegration 2011-12-14 18:08:34 +00:00
Sébastien Loriot c18c7d57e2 revert commit 66805: the inherits was refering to the template parameter
not the concept. Added a no link instruction.
2011-12-14 15:08:29 +00:00
Sébastien Loriot ceaf6e3bca A class cannot inherits from a concept,
this "inheritance" notion is already done at the concept level.
2011-12-14 13:59:11 +00:00