Commit Graph

526 Commits

Author SHA1 Message Date
Laurent Rineau acc2ae58a6 If CGAL_Qt4 is not a DLL, declspec must not be used. 2011-06-14 10:13:51 +00:00
Laurent Rineau 28bc7ca5c0 Add some decl spec (import|export) to CGAL_Qt4
That allows to build libCGAL_Qt4 and the Polyhedron demo with
-fvisibility-ms-compat on Linux.

That may allow to build CGAL_Qt4 as a DLL on Windows, one day.
2011-06-10 17:14:27 +00:00
Sébastien Loriot ed73c849d1 remove unused variable warning 2011-06-09 10:16:29 +00:00
Sébastien Loriot 218f4abf1d BUGFIX: when using clear button, really hide the rectangles 2011-06-09 08:36:32 +00:00
Sébastien Loriot dafa949e75 BUGFIX: do not run rectangular_p_center_2 if the number of points is less than p
+cosmetic
2011-06-08 13:39:09 +00:00
Sébastien Loriot 69b97b4ad2 remove unsed var warnings 2011-06-08 09:56:42 +00:00
Sébastien Loriot 75980ac1c0 remove unused var warnings 2011-06-08 09:53:06 +00:00
Sébastien Loriot 4fdb182b99 BUGFIX: Even if a polyline is closed, it needs at least 3 points to be a polygon. 2011-06-08 09:31:44 +00:00
Sébastien Loriot f9c4053a0d do not execute discoverComponent if the dimension of the triangulation
is not 2 (avoid seg fault when inserting a segment or a point)
2011-06-08 09:00:08 +00:00
Sébastien Loriot 1a6c568887 remove unused var warning 2011-06-08 07:50:16 +00:00
Laurent Rineau 0a363c52b5 Fix a bug introduced in trunk: criteria for Mesh_2 needs a geom traits 2011-06-04 17:00:31 +00:00
Laurent Rineau 7f7a8dc358 merge from trunk 2011-05-16 11:28:24 +00:00
Ophir Setter 83e1cfa332 Removing unnecesary comment 2011-05-06 05:58:11 +00:00
Laurent Rineau 704571e29d Fix cmake_minimum_required 2011-04-28 18:04:28 +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 4b795c56f4 Global handling of CMake policies
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.
2011-04-28 10:33:17 +00:00
Laurent Rineau 6f05e72cef 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 18:06:32 +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
Eric Berberich eb7a5ed11e branch-build is now HOT on next ;-) 2011-04-15 09:12:06 +00:00
Laurent Rineau 5a115a6792 Remove erroneous executable permission 2011-03-15 10:23:40 +00:00
Laurent Rineau 6036b7ca4b Typo: a resource was not found because its path was wrong. 2011-03-14 12:51:17 +00:00
Laurent Rineau 59356984de In the popup "About CGAL...", do not display the SVN revision number if the
release is a public release.

If the CGAL_Qt4 library is configured while there is an environment
variable CGAL_FAKE_PUBLIC_RELEASE, then the release version string is
stripped from its -I-.* part, so that is it equivalent to the version
string of the public release.
2011-03-09 12:49:30 +00:00
Sébastien Loriot 3698d4528c use CGAL namespace 2011-02-28 07:40:38 +00:00
Sébastien Loriot ae62b2ae4d remove warnings 2011-02-24 16:36:04 +00:00
Laurent Rineau da95064578 Update the \ccPkgHowToCiteCgal tag for CGAL-3.8 (2011). 2011-02-24 15:21:10 +00:00
Ophir Setter 2f91e1af2e Changing name to L1_Voronoi_diagram_2 and removing .scm-urls files 2011-02-04 06:12:32 +00:00
Ophir Setter a5d3cbc877 Adding L1_voronoi_diagram_2 example for the Envelope_3 package 2011-02-03 05:31:34 +00:00
Eric Berberich 987c9bbcd5 added Minkowski sum with itself (AF has accepted this extension) 2010-12-20 14:15:46 +00:00
Andreas Fabri 7520c27371 ItemUsesExtendedStyleOption is available only starting from Qt 4.6 2010-12-13 19:28:34 +00:00
Andreas Fabri de2413466a Reorder initialization 2010-12-12 20:34:18 +00:00
Andreas Fabri 716d469af5 cleanup 2010-11-12 09:03:43 +00:00
Laurent Rineau 3af1511a79 A polygon with two vertices... well, that is not a polygon! Then do not
insert its single edge twice!
2010-11-10 18:50:19 +00:00
Laurent Rineau f1549b69ba PainterOstream can now paint bboxes 2010-11-09 09:12:58 +00:00
Laurent Rineau 11b8bf1ce9 Open files whose names/paths are given on the command line.
(Maybe that should go to CGAL::Qt::DemosMainWindow.)
2010-11-09 08:46:31 +00:00
Marc Glisse 4177858be9 Use types consistently to avoid warning. 2010-10-29 13:12:27 +00:00
Andreas Fabri caf090bfff Conditional use of more recent Qt feature 2010-09-27 11:45:15 +00:00
Andreas Fabri 181646f64b Add some QT_USE_.. as this is the only difference I see to the Alpha shapes demo which finds Qt4 in the 3.8-I-39 testsuite 2010-09-27 11:28:10 +00:00
Andreas Fabri 818e9909f6 Add max area k-gon 2010-09-23 15:58:54 +00:00
Andreas Fabri 93712c46cd Add recenter and improve help 2010-09-23 14:42:13 +00:00
Andreas Fabri 20e83656cf cleanup and use of CrossCursor only in the GraphicsView 2010-09-23 12:22:24 +00:00
Andreas Fabri 8ecb2bd1f2 Draw points on the fly in an output iterator without first collecting them into a container 2010-09-23 11:35:09 +00:00
Andreas Fabri b8db07094a Draw points with line width 0, otherwise it is too slow when we have 1mio points 2010-09-23 09:25:29 +00:00
Andreas Fabri 2b8df41cdb cleanup 2010-09-23 07:52:35 +00:00
Andreas Fabri ef0c072342 Switch to PointsGraphicsItem that uses a kd-tree to quickly determine what points to redraw 2010-09-23 07:52:12 +00:00
Andreas Fabri 4306b967ee cleanup 2010-09-23 07:32:53 +00:00
Andreas Fabri 044dab1d6d Add typename 2010-09-23 07:30:03 +00:00
Andreas Fabri 476713ca97 Add a graphics item for a point set in a kd-tree 2010-09-22 20:22:58 +00:00
Andreas Fabri e42710f1d2 cleanup 2010-09-22 20:22:00 +00:00
Andreas Fabri 569850f2f3 Access value type of iterator of container instead of value type of container 2010-09-22 14:34:35 +00:00