Commit Graph

1121 Commits

Author SHA1 Message Date
Mael Rouxel-Labbé aacf8db95f Fixed includes and typedefs in Weighted_point_23 2017-04-06 12:35:24 +02:00
Mael Rouxel-Labbé 2d2e675dac Fixed missing operators in Cartesian and homogeneous construct_weighted_point_23 2017-04-06 12:18:36 +02:00
Andreas Fabri 1a3a6e93ee Kernel_23: fix typesetting in the manual.
Leading whitespace has semantics, so we remove it
2017-03-22 17:13:28 +01:00
Andreas Fabri 32e3d1bebd Division free functors may use Mpzf 2017-03-01 17:16:31 +01:00
Sébastien Loriot 5212bb55a6 fix Core dependancies 2017-02-13 17:16:30 +01:00
Sébastien Loriot 1fc9b0976a fix Core dependancies 2017-02-13 16:21:02 +01:00
Laurent Rineau af64852edb test/Kernel_23 requires Core 2017-02-10 19:09:28 +01:00
Sébastien Loriot 9ae7b37845 Merge pull request #1745 from sloriot/Polyhedra_corefinement-enhancements-sloriot
Add corefinement operations in PMP
2017-01-12 12:05:18 +01:00
Sébastien Loriot cba8456715 add constructions for the intersection point of a plane by a line and of 2 lines
this is undocumented and allow to have a lazy node for this construction
2017-01-02 19:23:48 +01:00
Laurent Rineau 7e9d909602 Fix comments with wrong statements 2016-12-30 16:44:08 +01:00
Laurent Rineau aee5e80d74 Fix typos in the doc 2016-12-30 16:44:08 +01:00
Laurent Rineau 5457a85b6b Merge pull request #1656 from afabri/Kernel-Linfinity_distance-GF
Kernel_23: Add the function  FT  l_infinity_distance() for 2D and 3D points
2016-12-28 16:12:31 +01:00
Sébastien Loriot cad6cbbcf4 fix doc issues detected by recent doxygen
duplicated labels, missing bibtex entry and nested comments
2016-12-28 13:59:45 +01:00
Sébastien Loriot 5937892cc8 fix intersection links 2016-12-28 11:19:37 +01:00
Andreas Fabri 068078229d fix assertion in testsuite 2016-12-21 09:42:39 +01:00
Andreas Fabri 226da32579 std::max() does only take two arguments 2016-12-21 09:42:33 +01:00
Maxime Gimeno b0dd7d25cb Add Compute_L_infinity_distance_3. 2016-12-21 09:41:33 +01:00
Andreas Fabri eb7e38493c Add the function FT l_infinity_distance(Point_2, Point_2)
as well as the corresponding functor

This is a function where the implementation is in the file
Kernel_23/include/CGAL/Kernel/function_objects.h

When the implementation is different for Cartesia and Homogeneous coordinates
the code should go into the function_objects.h files
in the packages Cartesian_kernel and Homogeneous_kernel
2016-12-21 09:40:53 +01:00
Laurent Rineau bbf430b0b1 Merge pull request #585 from afabri/Kernel-Weighted_point-GF
Introduce Kernel::Weighted_point_3 together with functors
2016-12-20 19:52:02 +01:00
Laurent Rineau 2f4a32f089 fix Construct_projected_point_3 with degenerate triangles
`Construct_projected_point_3::operator()(Point_3, Triangle_3)` now
checks if the triangle is degenerated (actually it checks if its
supporting plane is degenerated). If it is, it falls back to
`operator()(Point_3, Segment_3)` with the segment that is equivalent to
the triangle. When using non-exact floating point numbers, it chooses
the edge of the triangle that has the biggest l-infinity length.
2016-12-02 13:14:14 +01:00
Jane Tournois e12697d2c7 improve doc 2016-11-24 16:59:01 +01:00
Jane Tournois e633fb0a3b add missing "-" needed for conversion from Sign to Bounded_side 2016-11-24 16:53:55 +01:00
Jane Tournois 3d99cc6e96 fix typo 2016-11-03 14:55:39 +01:00
Jane Tournois 306323d45c make doc and doc consistent
- add "model of Concept" as much as possible in the modified classes/concepts
- fix some links
- update package description of Kernel_23
2016-11-03 14:55:39 +01:00
Jane Tournois 6af2db1b91 Use Power_side_of_bounded_power_sphere instead of Side_of_bounded_orthogonal_sphere
both functors made the same computation, up the sign of the result.

The return type now is CGAL::Bounded_side, which makes things easier
 to understand and use
2016-11-03 14:55:39 +01:00
Jane Tournois de13b047dd remove from doc functor that does not exist anymore 2016-11-03 14:53:54 +01:00
Jane Tournois f3a021a195 rename in_smallest_orthogonal_sphereC3 to power_side_of_bounded_power_sphereC3 2016-11-03 14:53:54 +01:00
Andreas Fabri ec96a19052 fix links 2016-11-03 14:53:54 +01:00
Andreas Fabri 07e9997980 Add \sa 2016-11-03 14:53:54 +01:00
Jane Tournois 446004444e fix 2 typos 2016-11-03 14:53:54 +01:00
Jane Tournois c770b29928 fix typo 2016-11-03 14:53:54 +01:00
Jane Tournois 15f71af4ac add missing class 2016-11-03 14:53:54 +01:00
Jane Tournois cbf31a09f5 add missing concepts 2016-11-03 14:53:54 +01:00
Jane Tournois 358119f590 reorder things 2016-11-03 14:53:54 +01:00
Jane Tournois db37ec56c2 add documentation of concept PowerSideOfBoundedPowerSphere_3 2016-11-03 14:53:54 +01:00
Andreas Fabri 1ad7bfa202 Add Compute_weight_2/3 concepts and models to the doc 2016-11-03 14:53:54 +01:00
Andreas Fabri a8b9c92a68 Add signature of operators; todo: Add comment 2016-11-03 14:53:54 +01:00
Andreas Fabri dbb2cc3598 Sign -> Bounded_side; typo in code 2016-11-03 14:53:54 +01:00
Andreas Fabri 24b5993037 fix \sa links 2016-11-03 14:53:54 +01:00
Andreas Fabri ad9d2c369c Rename tests following Olivier's recommendations 2016-11-03 14:53:54 +01:00
Andreas Fabri d78735364b Fixes after review by Monique and Olivier 2016-11-03 14:53:15 +01:00
Andreas Fabri f488b9baf9 Changes after Laurent's review 2016-11-03 14:53:15 +01:00
Andreas Fabri e39f76b953 Add doc to concept Kernel 2016-11-03 14:07:26 +01:00
Andreas Fabri 6793ce53da typo 2016-11-03 14:07:26 +01:00
Andreas Fabri aa8b100a13 3 -> 2 2016-11-03 14:07:26 +01:00
Andreas Fabri 8e6264344a improve doc 2016-11-03 14:07:26 +01:00
Andreas Fabri a80e9ce7e0 polish 2016-11-03 14:07:26 +01:00
Andreas Fabri 842aad6e76 Fix which predicates can be done without division 2016-11-03 13:10:27 +01:00
Laurent Rineau 3302d997b6 Fix I/O of Weighted_point_3
@afabri You should have use a code similar to the one of
`CGAL::Sphere_3`, that would have avoided those errors.
2016-11-03 13:10:27 +01:00
Andreas Fabri fad0f195d5 Add operator!= for weighted points 2016-11-03 13:10:00 +01:00
Andreas Fabri 59cedfc7dd Fix Mesh_3 2016-11-03 13:08:31 +01:00
Andreas Fabri 44d0fa4d6f fix the 2D triangulations 2016-11-03 13:08:31 +01:00
Andreas Fabri dcf5f32dc0 Improve the doc 2016-11-03 13:07:50 +01:00
Andreas Fabri 881837ba2d start fixing doc 2016-11-03 13:07:50 +01:00
Andreas Fabri ea50fb811d Cleanup. The 2D and 3D triangulation testsuite pass 2016-11-03 13:07:50 +01:00
Andreas Fabri c2ee0ae9a8 Use Quotient<RT> as weight in the H2 power_tests 2016-11-03 13:07:50 +01:00
Andreas Fabri 9dde08c414 WIP 2016-11-03 13:07:50 +01:00
Andreas Fabri 9e94ee6178 Change the Power_test 2016-11-03 13:07:17 +01:00
Andreas Fabri 1375cd5c0a Rename Compute_critical_squared_radius_3 to Compute_power_distance_to_power_sphere_3 2016-11-03 13:07:17 +01:00
Andreas Fabri 514765a784 Documentation 2016-11-03 13:07:17 +01:00
Andreas Fabri 34eb29cac5 Documentation 2016-11-03 13:07:17 +01:00
Andreas Fabri 95027822f5 move predicates and constructions in Kernel packages 2016-11-03 13:07:17 +01:00
Andreas Fabri ea6e48e1e4 Don't use the internal traits adapter 2016-11-03 13:07:17 +01:00
Andreas Fabri aee3b86b1f cleanup 2016-11-03 13:06:42 +01:00
Andreas Fabri 8c72cf69aa Add operator< for weighted points. Note that it ignores the weight 2016-11-03 13:06:02 +01:00
Andreas Fabri 54ec8f9d92 the VC++ testsuite should pass now 2016-11-03 13:06:02 +01:00
Andreas Fabri af6c2e185e remove Compute_point_3 2016-11-03 13:06:02 +01:00
Andreas Fabri 0f3edb5cf5 Add the most impotant file 2016-11-03 13:06:02 +01:00
Andreas Fabri 9eca152dca No need for a Weighted_converter 2016-11-03 13:06:02 +01:00
Andreas Fabri cf1e513c83 cleanup 2016-11-03 13:04:43 +01:00
Andreas Fabri 6a8f77c5ff Added CGAL::Weighted_point_3<K> and the predicates and constructions of the Regular Traits to the kernel
- The Regular 3 testsuite passes
- only 3D
- not documented
2016-11-03 13:04:43 +01:00
Sébastien Loriot 125d190ebd disambiguate p and P 2016-10-28 14:00:15 +02:00
Laurent Rineau 26c803b6af Merge pull request #1574 from afabri/Filtered_kernel_init_double_to_avoid_warning-GF
Kernel_23: Initialize numbers in operator>>(istream&, Point/Vector/..)
2016-10-24 11:46:54 +02:00
Laurent Rineau c6cf01c7f6 Merge pull request #1562 from afabri/Kernel_Compute_dihedral_angle-GF
Add doc of functor class and concept corresponding to dihedral_angle()
2016-10-20 09:48:05 +02:00
Laurent Rineau 9dbff15b59 Merge pull request #1592 from afabri/Kernel_23-set_failbit-GF
Kernel_23:  Set the failbit in operator>> for Kernel objects
2016-10-20 09:48:00 +02:00
Laurent Rineau 3e0ab881c1 Merge pull request #1584 from afabri/Installation-compute_dependencies-GF
Make Algebraic_kernel_d independent from CGAL/Arr_enum.h
2016-10-20 09:47:42 +02:00
Andreas Fabri 5eb7b4ed4f set the failbit 2016-10-18 13:35:54 +02:00
Andreas Fabri 554bd0fd26 Make Algebraic_kernel_d independent from CGAL/Arr_enum.h
Introduce Box_parameterization_2 in CGAL/enum.h
Add a typedef and constants in the Arrangement package to stay bw compatible
2016-10-17 11:56:43 +02:00
Laurent Rineau f2e7050364 Merge pull request #1428 from sloriot/AABB_tree-fix_Closest_point
Fix implementation of AABB_traits::Closest_point
2016-10-17 10:03:20 +02:00
Laurent Rineau 8dda7b3cd1 Merge pull request #1362 from sloriot/Kernel_23-add_compound_assignement_operator_for_vectors
Add compound assignment operators for 2D and 3D vector classes
2016-10-17 10:00:53 +02:00
Andreas Fabri 5ca5877104 Initialize numbers in operator>>(istream&, Point/Vector/..)
When we do not do that, and after the reading access a coordinate
some versions of g++ warn on -Wmaybe-uninitialized

The initialization costs nothing compared to the IO operation itself.
2016-10-13 09:14:17 +02:00
Andreas Fabri 423242be31 dihedral_angle() -> approximate_dihedral_angle() 2016-10-11 15:35:20 +02:00
Sébastien Loriot 5c02296eb9 move internal code 2016-10-11 11:31:19 +02:00
Laurent Rineau 2d90c88b6a Fix warnings
```
Kernel_23/include/CGAL/Kernel/nearest_point_segment_3.h:86:26: warning: typedef ‘FT’ locally defined but not used [-Wunused-local-typedefs]
   typedef typename K::FT FT;
                          ^~
Kernel_23/include/CGAL/Kernel/nearest_point_triangle_3.h:176:26: warning: typedef ‘FT’ locally defined but not used [-Wunused-local-typedefs]
   typedef typename K::FT FT;
                          ^~
```
2016-10-10 18:22:11 +02:00
Andreas Fabri aebcc9534a s -> d And fill in the dots 2016-10-10 15:36:15 +02:00
Andreas Fabri d76f120e41 Add doc of functor class and concept corresponding to dihedral_angle; Also replace ... 2016-10-10 15:07:38 +02:00
Laurent Rineau 223c1cf5a4 Merge pull request #1530 from lrineau/Installation-compute_dependencies-GF
Compute and fix packages dependencies
2016-10-05 13:11:04 +02:00
Laurent Rineau 9a0bb54922 Merge pull request #1438 from sloriot/CGAL-clean_up_projects_name_cmake
Clean up projects name in cmake scripts
2016-10-05 13:02:25 +02:00
Sébastien Loriot c0bed6e759 replace \sa by \cgalHasModel and \cgalModels 2016-10-03 08:50:41 +02:00
Andreas Fabri c58582b5ec Add global function dihedral_angle() 2016-09-30 15:23:15 +02:00
Laurent Rineau 1aefb3b0f3 include <CGAL/config.h>, not <CGAL/basic.h> 2016-09-30 15:23:14 +02:00
Laurent Rineau 51f5697d3d Add missing #include 2016-09-30 15:23:14 +02:00
Andreas Fabri 371613ed33 Fix package NewKernel_d: include headers 2016-09-30 15:22:27 +02:00
Andreas Fabri c12f285ee4 Dispatch the files in Kernel_23, Cartesian, Homogeneous 2016-09-22 08:38:53 +02:00
Sébastien Loriot 7e2ee496de update project name of cmake scripts of tests 2016-09-08 00:26:37 +02:00
Sébastien Loriot 6b338eeb1f improve the name of projects in cmake scripts of examples 2016-09-08 00:02:55 +02:00
Sébastien Loriot a44e21b8eb use Kernel functor instead of free functions 2016-09-01 16:36:01 +02:00
Sébastien Loriot c751ab4310 Add operators for segment and triangle types in Construct_projected_point_3
the original implementation comes from the AABB-tree package
2016-09-01 16:04:55 +02:00
Sébastien Loriot a412d93c34 do not add a nested typedef that make some free function calls ambiguous 2016-08-30 16:58:00 +02:00
Laurent Rineau 0c690014b7 Remove all usage of CGAL_LEDA_VERSION
Now, LEDA version >= 6.0 is required if `CGAL_USE_LEDA` is toggled.
2016-08-25 14:38:16 +02:00
Sébastien Loriot 6c447e37f2 add compound assignement operator for points 2016-08-25 10:45:10 +02:00
Sébastien Loriot 151d52bb84 add compound assignment operators for 2D and 3D vector classes 2016-08-24 15:16:18 +02:00
Sébastien Loriot e2ed53ec63 fix backtick issue 2016-08-22 14:43:30 +02:00
Laurent Rineau 2cd9a15bb9 Merge remote-tracking branch 'cgal/releases/CGAL-4.8-branch'
Merge the following merge commits:
> 12b92f5 Merge pull request #1271 from lrineau/Mesh_3-distance_criterion_sizing_field-GF
> 9c3d0b0 Merge pull request #1295 from lrineau/CGAL-add_test-GF

Conflicts:
	Maintenance/release_building/BUGFIX_NUMBER
	Maintenance/release_building/public_release_name
2016-07-22 18:31:02 +02:00
Laurent Rineau c46e983139 Allow parallel execution of tests in test/Kernel_23 2016-07-21 14:42:35 +02:00
Andreas Fabri 3f22b1e049 Add doc of free function for 2D 2016-07-07 14:56:20 +02:00
Andreas Fabri 5c1a2bd835 Add global function scalar_product(Vector_2,Vector_2) 2016-07-07 14:42:57 +02:00
Andreas Fabri 6273a0a247 Add global function scalar_product(Vector_3,Vector_3) 2016-07-07 14:30:10 +02:00
Guillaume Damiand a53f16edac Merge branch 'CGAL_headers_only_step1-gdamiand_cjamin-old' into CGAL_headers_only_step1-gdamiand_cjamin 2016-06-09 19:09:38 +02:00
Sebastien Loriot b13b098d3b Merge pull request #1066 from ws4u/Cone_spanners_2-new_package-UWS
Cone spanners 2 new package uws
2016-06-08 14:49:13 +02:00
Guillaume Damiand 10469f9c4e Update with master 2016-05-25 10:58:55 +02:00
Sebastien Loriot ee093122bc Merge pull request #803 from afabri/Periodic_3-approx-GF
Periodic_3: Use static filters also for Epeck and make  it faster
2016-05-13 12:10:42 +02:00
Andreas Fabri 79b0257e59 Merge branch 'Cone_spanners_2-new_package-UWS-old' into Cone_spanners_2-new_package-UWS 2016-04-26 09:01:56 +02:00
Laurent Rineau 2a9ab3e7d8 Merge pull request #1005 from afabri/Kernel-compare_distance-GF
Add specializations for Compare_distance_3::operator() for points/segments
2016-04-22 15:25:52 +02:00
Andreas Fabri 2613be3c1b Add specializations for Compare_distance_3 for points/segments 2016-04-13 12:35:00 +02:00
Andreas Fabri 2443b7d1a6 Moved squared_distance(Point_3,Triangle_3 2016-03-30 16:58:22 +02:00
Sébastien Loriot 4c29bf1b44 CMAKE_SOURCE_DIR -> CMAKE_CURRENT_SOURCE_DIR 2016-03-24 16:33:46 +01:00
Guillaume Damiand 5f44614b07 Replace iword(CGAL::IO::mode) by get_mode 2016-03-09 10:37:57 +01:00
Sébastien Loriot 9c8cd5ad31 Make the boolean flag requirements optionals 2016-03-08 09:09:34 +01:00
Sébastien Loriot 881e4d3199 request Core only in examples, tests and demos when really needed 2016-03-07 22:36:57 +01:00
Sébastien Loriot 2d191d6651 commit CMakeLists.txt for all examples and tests 2016-03-07 17:39:36 +01:00
Sébastien Loriot 103687fbc7 move documentation file 2016-03-04 14:13:30 +01:00
Sébastien Loriot 5c5f59ba58 fix doc typo 2016-02-18 16:59:31 +01:00
Sébastien Loriot ca6c606b96 simply init to 0 to avoid confusion 2016-02-17 11:49:24 +01:00
Andreas Fabri 9b830970f0 default constructed Bbox_{2,3} is now initialized empty [+inf,-inf]^dim 2016-02-16 17:04:47 +01:00
Philipp Möller 0a04a3a48f Use CGAL_DOC_VERSION 2016-02-11 15:37:54 +01:00
Andreas Fabri 7657a5dda5 Use CGAL_USE to avoid g++6.0 warning 2016-01-20 11:57:51 +01:00
Sebastien Loriot 32a3972c33 Merge pull request #592 from afabri/CGAL-dont_submit_cleanup-GF
Towards getting rid of dont_submit files
2016-01-08 14:14:08 +01:00
Sébastien Loriot e64ae35a6e Merge pull request #542 from bo0ts/Documentation-release_build2-pmoeller
Allow to build the documentation in a release
2016-01-07 09:21:46 +01:00
Andreas Fabri 206420c77b backquote 2016-01-06 08:22:27 +01:00
Andreas Fabri a41165b6eb various 2016-01-05 18:04:14 +01:00
Andreas Fabri a48faa00e8 Remove lines with non-existing files 2015-12-31 17:24:57 +01:00
Andreas Fabri 4d324c704f Move Triangulation_structural_filtering_traits and specialize in Epic and Epec headers 2015-12-31 09:17:18 +01:00
Philipp Möller 71b4e9c515 Use CGAL_FULL_VERSION in all Doxyfile.in 2015-12-17 16:33:28 +01:00
Philipp Möller 0ad467b321 Use generic example directories 2015-12-10 17:05:53 +01:00
Philipp Möller 81a8f982dc Handle the easy INPUT cases
If INPUT is just PKG/doc/PKG, handle it automatically.
2015-12-10 17:00:26 +01:00
Carsten Brandt 5c0b043e4c Fixed code example for Upgrading intersection
The variable names in the example do not make sense, hope my changes are correct.
2015-12-05 04:25:15 +01:00
Laurent Rineau 8d7ab98b4e Merge pull request #374 from sakrist/bbox_fixes
Silence for warnings

Conflicts:
	Kernel_23/include/CGAL/Bbox_2.h
2015-10-15 12:03:01 +02:00
Laurent Rineau 330a0e75a2 Merge pull request #385 from cjamin/CGAL_headers_only-gdamiand_cjamin
CGAL headers only, step 0
2015-10-13 16:37:38 +02:00
Andreas Fabri 760e4d1b4e prefix cpp11::result_of with CGAL:: 2015-10-13 15:06:50 +02:00
Volodymyr Boichentsov c21f308d04 fix for Microsoft compiler 2015-10-13 11:15:24 +01:00
Sébastien Loriot 93e1a78a40 document missing do_intersect overloads for Iso_cuboid_3 2015-10-06 08:16:38 +02:00
Sebastien Loriot e58486a077 Merge pull request #351 from afabri/Intersections_3-snippet2example-GF
Convert <code> sections into cgalExamples
2015-10-01 14:41:12 +02:00
Guillaume Damiand e4342d50d2 Merge remote-tracking branch 'cgal-dev/CGAL_headers_only-gdamiand_cjamin' into CGAL_headers_only-gdamiand_cjamin 2015-10-01 09:48:54 +02:00
Guillaume Damiand cf1c0ea0ca Merge branch 'CGAL_headers_only-gdamiand_cjamin-OLD' into CGAL_headers_only-gdamiand_cjamin 2015-10-01 09:12:55 +02:00
Volodymyr Boichentsov 5b26f782ab silence for warnings 2015-09-29 09:35:25 +01:00
Andreas Fabri 3f18e99c53 fix a bug; change at the same time the line 2015-09-23 08:59:27 +02:00
Laurent Rineau 5655fec149 fixed three documentation typos
(cherry picked from commit eb8d2f5752)

See https://github.com/CGAL/cgal/pull/356
2015-09-22 12:28:15 +02:00
Andreas Fabri 2323c38b2e use variables to avoid warnings 2015-09-22 09:31:20 +02:00
Andreas Fabri eb8d2f5752 fixed three documentation typos 2015-09-22 09:26:10 +02:00
Andreas Fabri 43b5136fe0 fix of example 2015-09-21 09:02:37 +02:00
Andreas Fabri e27d5632ce typo 2015-09-18 14:24:17 +02:00
Andreas Fabri 531a32afe3 Add examples that were in the code 2015-09-18 14:15:21 +02:00
Andreas Fabri a2f954ebf9 Merge branch 'Intersections_3-snippet2example-GF-old' into Intersections_3-snippet2example-GF 2015-09-18 12:56:29 +02:00
Jane Tournois feb76b7439 add missing namespaces for msvc2015
avoid ambiguity of calls
2015-08-11 15:48:55 +02:00
Philipp Möller 47cae427d7 Add a description of the issue 2015-08-06 12:35:59 +02:00
Philipp Möller 5f99e2da4e Make FT typedef public
This way we no longer trigger a hard error in strict C++03.
This is only a stop-gap solution. The actual issue is that the internal
namespace is full with unrelated components and does not fulfill its
purposee as an SFINAE barrier anymore.

Fixes #129
2015-08-06 12:17:17 +02:00
Philipp Möller 27ac9b621a Add test case for issue 129 2015-08-06 12:17:16 +02:00
Andreas Fabri 61f61f96fd R -> R as VC2015 has a matching problem 2015-07-29 16:56:17 +02:00
Andreas Fabri 20c1b1a1f6 Merge branch 'Polygon_mesh_processing-GF-old' into Polygon_mesh_processing-GF
Conflicts:
	BGL/include/CGAL/boost/graph/Euler_operations.h
	BGL/include/CGAL/boost/graph/iterator.h
	Documentation/doc/Documentation/Doxyfile.in
	Documentation/doc/Documentation/dependencies
	Polyhedron/demo/Polyhedron/Polyhedron_demo_point_inside_polyhedron_plugin.cpp
	Polyhedron/demo/Polyhedron/Scene_polygon_soup_item.cpp
	Polyhedron/demo/Polyhedron/Selection_widget.ui
2015-07-01 13:52:44 +02:00
Laurent Rineau f5343911a6 fix the link to the developers manual, in the code 2015-06-19 11:15:55 +02:00
Guillaume Damiand 4bbe2a82e9 Add missing #include; add some case IO::PRETTY to avoid some warning. 2015-06-12 14:08:29 +02:00
Laurent Rineau 40c629a3b4 Merge pull request #90 from janetournois/Mesh_2-add_optimizers-GF
Add optimizer methods in Mesh_2

https://cgal.geometryfactory.com/CGAL/Members/wiki/Features/Small_Features/lloyd_optimize_mesh_2
2015-06-10 11:57:53 +02:00
Guillaume Damiand 8df781d3da Merge branch 'CGAL_headers_only-gdamiand_cjamin-old' into CGAL_headers_only-gdamiand_cjamin 2015-06-09 14:56:48 +02:00
Sébastien Loriot 7cabb0c508 Merge branch 'rebase/Mesh_2-add_optimizers-GF-old' into rebase/Mesh_2-add_optimizers-GF
Conflicts:
	GraphicsView/demo/Triangulation_2/Constrained_Delaunay_triangulation_2.cpp
	GraphicsView/demo/Triangulation_2/Constrained_Delaunay_triangulation_2.ui
	Triangulation_2/include/CGAL/Constrained_Delaunay_triangulation_2.h
2015-05-19 09:01:20 +02:00
Laurent Rineau a2ffb7d6f8 Merge pull request #80 from afabri/CGAL-array_as_property_map_example-GF
Add an example for an array as property map
2015-05-18 11:17:23 +02:00
Andreas Fabri b7f9849599 Replace CGAL::get() with CGAL::get_pointee_or_identity() and remove using get:: 2015-04-30 11:31:21 +02:00
Michael Hemmer 7d562833e0 rm warnings 2015-04-27 13:29:50 +02:00
Michael Hemmer a754942869 update see also 2015-03-26 14:18:33 +01:00
Michael Hemmer 0cdc653281 add typedef for:
Exact_predicates_exact_constructions_kernel_with_kth_root
Exact_predicates_exact_constructions_kernel_with_root_of

add documentation
add testing
2015-03-26 13:46:23 +01:00
Sébastien Loriot 3346aed52b make Kernel_traits<T>::type::FT usable as return type of free function
in a free function that has such a return type, if there are several
overloads the return type of each should be instanciable.
This fix will make incorrect usages break later while enabling the use
in free function.
2015-03-17 16:20:38 +01:00
Guillaume Damiand 9c78897ba5 Merge branch 'CGAL_headers_only-gdamiand_cjamin-old' into CGAL_headers_only-gdamiand_cjamin 2015-03-16 14:00:43 +01:00
Sébastien Loriot 5dc1b3e30d move functions out of the wrong group 2015-02-20 07:54:48 +01:00
Andreas Fabri 1f989622e7 replace \code with real examples 2015-02-09 10:54:24 +01:00
Sébastien Loriot b28b4607ae use UTF8 for letters with accent 2015-01-31 13:58:08 +01:00
Laurent Rineau ff62595012 Merge branch 'CGAL-fix_compilation_boost_1_56-lrineau'
Fix compilation issues with Boost-1.56 and later.

Approved by the Release Manager.
2015-01-26 11:42:29 +01:00
Andreas Fabri f97bd9fb33 fixed typo 2015-01-19 09:07:11 +01:00
Andreas Fabri 9b4a1f219f no \cite in \brief as doxygen stops the brief description right before the \cite 2015-01-14 09:15:26 +01:00
Laurent Rineau be079cb5a3 Fix compilation with Boost-1.56 and later
In Boost-1.56 and later, with C++11, boost::optional::operator bool() is
explicit.
2015-01-13 16:21:04 +01:00
Andreas Fabri babaa99826 Merge branch 'CGAL-Getting_Started-GF'
Approved by the release manager
Conflicts:
	Documentation/doc/Documentation/main.txt
2015-01-12 11:29:26 +01:00
Sébastien Loriot 0218954ea6 Merge branch 'barycentric_coordinates_2-dmitry'
Tested in CGAL-4.6-Ic-99 and CGAL-4.6-Ic-100
  Approved by the release manager

Conflicts:
	Installation/changes.html
	Kernel_23/include/CGAL/internal/Projection_traits_3.h
2015-01-09 10:35:20 +01:00
Andreas Fabri a801f9e185 Improve the examples which illustrate problems with double 2015-01-08 12:28:14 +01:00
Sébastien Loriot ce6342d629 Merge remote-tracking branch 'origin/Stream_support-fix_reading_double-GF'
improve reading double from streams on windows

Tested in CGAL-4.6-Ic-79
Approved by the release manager
2014-12-17 22:36:46 +01:00
Laurent Rineau 057924e1d4 Merge remote-tracking branch 'origin/releases/CGAL-4.5-branch'
That merges the following:
  | commit 5dbfeec3ae
  | Merge: fc407cf 5b9be0f
  | Author: Sébastien Loriot <sebastien.loriot@cgal.org>
  | Date:   Fri Dec 12 15:29:51 2014 +0100
  |
  |     Merge branch 'BSO_2-fix_kernel_conflict-local' into releases/CGAL-4.5-branch
  |
  |     Tested in CGAL-4.5.1-Ic-171
  |
  | commit fc407cfebf
  | Merge: bd2c6f8 0c6153c
  | Author: Laurent Rineau <laurent.rineau@cgal.org>
  | Date:   Mon Dec 1 17:38:48 2014 +0100
  |
  |     Merge branch 'Mesh_3-fix_with_time_stamps-GF' into releases/CGAL-4.5-branch
  |
  |     Bug-fix in Mesh_3 with time stamps.
  |
  |     Tested in CGAL-4.5.1-Ic-168.
  |     Approved by the Release Manager.
  |
  | commit bd2c6f890f
  | Merge: ad53e42 c904f77
  | Author: Laurent Rineau <laurent.rineau@cgal.org>
  | Date:   Fri Nov 28 12:04:55 2014 +0100
  |
  |     Merge branch BGL-make_property_map_lightweight-For_4.5_bugfix-GF' into releases/CGAL-4.5-branch
  |
  |     Bug fix: a property map was not lightweight.
  |
  |     Tested in CGAL-4.5.1-Ic-167.
  |     Approved by the Release Manager.
  |
  | commit ad53e42fb3
  | Merge: 044660e b281d86
  | Author: Laurent Rineau <laurent.rineau@cgal.org>
  | Date:   Fri Nov 28 12:03:30 2014 +0100
  |
  |     Merge remote-tracking branch 'remotes/origin/BGL-fix_example-GF' into releases/CGAL-4.5-branch
  |
  |     Fix the example examples/BGL_triangulation_2/emst.cpp:
  |     the filtered (finite) triangulation was not used.
  |
  |     Tested in CGAL-4.5.1-Ic-167.
  |     Approved by the Release Manager.
  |
  | commit 044660eb48
  | Merge: a096cdf 4464116
  | Author: Laurent Rineau <laurent.rineau@cgal.org>
  | Date:   Fri Nov 28 12:01:50 2014 +0100
  |
  |     Merge branch 'CGAL-fix_sse2_mingw-lrineau' into releases/CGAL-4.5-branch
  |
  |     Fix the SSE macros when MinGW is used.
  |
  |     Tested in CGAL-4.5.1-Ic-167.
  |     Approved by the Release Manager.

Tested in CGAL-4.6-Ic-79.
2014-12-17 17:05:01 +01:00
Guillaume Damiand d96bdd9d4b According the modifs in master, variables TRANSLATION ROTATION SCALING REFLECTION IDENTITY are always const. 2014-12-17 14:59:19 +01:00
Guillaume Damiand bff2e043dc Initialize consts. 2014-12-16 10:30:14 +01:00
Sébastien Loriot 63406293e1 Merge branch 'Projection_traits-add_more_functors-sloriot' into barycentric_coordinates_2-dmitry
Conflicts:
	Documentation/biblio/cgal_manual.bib
	Documentation/doc/Documentation/Doxyfile.in
	Documentation/doc/Documentation/dependencies
2014-12-12 14:24:17 +01:00
Sébastien Loriot 5b9be0f8c7 workaround ambiguous call in kernel intersection functions when including BSO_2 2014-12-11 16:33:29 +01:00
Guillaume Damiand 1251bf8b58 Add const for TRANSLATION, ROTATION, SCALING, REFLECTION, IDENTITY 2014-12-04 21:41:38 +01:00
Laurent Rineau af90b1d6bc Restore the initial indentation incorrectly modified by this branch 2014-12-04 13:45:26 +01:00
Andreas Fabri 73d4fe8fee Add % 2014-11-28 18:17:07 +01:00
Andreas Fabri 6f4123db35 cleanup 2014-11-28 16:12:50 +01:00
Andreas Fabri 13928cd516 add missing 'i' and parenthesis 2014-11-27 08:51:46 +01:00
Andreas Fabri 2916850771 use iformat for reading doubles 2014-11-26 16:53:50 +01:00
Jane Tournois 0f9ff7e619 add a typedef for Ray_2 to have Mesh_2 tests compiling
this actually was a bug.
In the documentation, Projection_traits_xy_3 is said to implement the concept
DelaunayTriangulationTraits_2, that has the type Ray_2.
Now, it's the case
2014-11-18 12:20:33 +01:00
Guillaume Damiand 87968c0b6e Keep non const version for non header version (TRANSLATION, ROTATION, SCALING, REFLECTION, IDENTITY and primes) 2014-11-15 18:23:55 +01:00
Guillaume Damiand ebc4300334 Header only for random.cpp.
For the header only version, the global variable default_random no more exist => we need to replace all occurences of default_random by a call to the global function get_default_random().
As usual, no modification for the non header only version.
2014-11-14 14:20:26 +01:00
Guillaume Damiand e8fe29c79c Ok for the compilation version header only (only for the treated files). 2014-10-31 17:09:48 +01:00
Guillaume Damiand 1182319f5d Redo all the modifs to remove all the cpp files from cgal.
First step where all the XXX.cpp are copied into XXX_impl.h files.
The macro CGAL_HEADER_ONLY allows to know if impl files need to be
included or not into header files; and allow to decide if functions are
in impl files are inline or not.

Next step: process with static variables for the header only version.
2014-10-30 16:05:22 +01:00
Andreas Fabri 4be974b230 Improve Getting Started 2014-10-14 18:38:18 +02:00
Sébastien Loriot 0e25bfb122 bug fix in projection traits, Angle_3 != Angle_2 when z is taken into account
(cherry picked from commit 6c4cd29fb1)

Conflicts:
	Kernel_23/include/CGAL/internal/Projection_traits_3.h
2014-10-09 10:36:04 +02:00
Sébastien Loriot 6c4cd29fb1 bug fix in projection traits, Angle_3 != Angle_2 when z is taken into account 2014-10-09 10:27:39 +02:00
Sébastien Loriot 6ae7d56bc7 fix dimension typo 2014-10-06 08:13:54 +02:00
Sébastien Loriot 61e40e74a1 add additional functors in the projection traits and a test file
* Compute_scalar_product_2
  * Collinear_2,
  * Collinear_are_ordered_along_line_2
  * Compute_squared_length_3
2014-10-03 08:58:33 +02:00
Sébastien Loriot 0b353bb85b Merge remote-tracking branch 'origin/CGAL-use_leda-GF'
Reintroduce the possibility to use CGAL without GMP
  (to use LEDA number types instead for example).
  The cmake option to set to switch off GMP when building
  the lib is CGAL_DISABLE_GMP.

Tested in CGAL-4.5-Ic-86
Approved by the release manager

ge is necessary,
2014-07-04 12:02:37 +02:00
Marc Glisse 3b3993aa19 Merge branch 'Kernel_d-rewrite-glisse-old' into Kernel_d-rewrite-glisse
Conflicts:
	Installation/changes.html
2014-06-23 17:13:29 +02:00
Sébastien Loriot 0230e979e2 Merge branch 'CGAL-use_leda-GF-OLD' into CGAL-use_leda-GF
Conflicts:
	Arrangement_on_surface_2/test/Arrangement_on_surface_2/construction_test_suite_generator.cpp
	Arrangement_on_surface_2/test/Arrangement_on_surface_2/test_construction.cpp
	Documentation/doc/Installation.txt
	Kernel_23/include/CGAL/Exact_predicates_exact_constructions_kernel.h
2014-06-18 22:50:06 +02:00
Sébastien Loriot 0e46afa617 Merge branch 'Convex_hull_3-traits_class_fixes-sloriot'
Fixes bugs in the 3D convex hull traits concept, in particular due to the
  handling of coplanar points

  Tested in CGAL-4.5-Ic-72
  Approved by the release manager

Conflicts:
	Installation/changes.html
2014-06-18 09:41:53 +02:00
Sébastien Loriot 4ed2497f2e add missing possible return value 2014-06-10 22:37:27 +02:00
Laurent Rineau 2463459ce6 Doc for the two overloads of Angle_3::operator() 2014-05-21 12:19:13 +02:00
Laurent Rineau 6500bd907f Add Angle_3(Vector_3, Vector_3)
...by similarity with Angle_2.
2014-05-21 12:18:49 +02:00
Laurent Rineau 191b01b13b Add Angle_3()(Point_3, Point_3, Point_3, Point_3) 2014-05-21 11:04:59 +02:00
Laurent Rineau 73f4734525 Fix permissions 2014-05-15 18:33:36 +02:00
Marc Glisse 2a387ede81 Remove unused check_dimension_lt. 2014-05-07 19:37:53 +02:00
Marc Glisse cb4ca9d8c8 Don't use Dynamic_dimension_tag::value. 2014-05-07 19:28:33 +02:00
Marc Glisse 897f585f12 Merge branch 'Kernel_d-rewrite-glisse-old' into Kernel_d-rewrite-glisse
Need the Interval_nt/long interoperability for Eigen.
2014-05-07 18:41:17 +02:00
Efi Fogel 016c40fdbc Fixed typos in documentation---minor fix for master 2014-03-31 23:52:31 +03:00
Efi Fogel 8f80982272 Fixed typos in documentation---minor fix for master 2014-03-31 23:51:23 +03:00
Marc Glisse 09f3db2025 define CGAL_CXX11. 2014-03-12 14:07:47 +01:00
Marc Glisse 3168c851a1 Merge branch 'Kernel_d-rewrite-glisse-old' into Kernel_d-rewrite-glisse
Conflicts:
	Kernel_d/doc_tex/Kernel_d/kernel_representation_d.tex
	Kernel_d/doc_tex/Kernel_d_ref/Homogeneous_d.tex
	Kernel_d/doc_tex/Kernel_d_ref/Kernel.tex
	Kernel_d/doc_tex/Kernel_d_ref/main.tex

Resolved by dropping those files.
2014-03-12 12:38:08 +01:00
Sébastien Loriot 9114db9085 restore figure source files removed in 0fa2cacb
| commit 0fa2cacb60
  | Author: Sébastien Loriot <sebastien.loriot@cgal.org>
  | Date:   Tue Dec 3 17:27:02 2013 +0100
  |
  |     remove doc_tex documentation (including developer manual) and old manual tools
2014-02-10 14:54:23 +01:00
Sébastien Loriot cc30859ea1 fix typedef
doc bugfix
2014-01-30 08:36:36 +01:00
Andreas Fabri a020773bbc fix #include in the manual 2014-01-17 12:42:52 +01:00
Laurent Rineau 972befcc01 Merge branch 'CGAL-fix_io_bad-lrineau'
Fix the uses of std::basic_ios::bad() across the whole CGAL code, and
use fail() instead.

Tested in CGAL-4.4-Ic-84.
2014-01-09 17:52:46 +01:00
Laurent Rineau afd4cfbfef Fix a typo
Equal_2 is not related to Point_3.
2014-01-08 16:10:58 +01:00
Sébastien Loriot b3de157a24 linking bug in documentation 2013-12-18 17:45:51 +01:00
Laurent Rineau 269ae1ca61 Fix the uses of std::basic_ios::bad(), and use fail() instead.
bad() implies fail() but std::basic_ios::operator! is actually equivalent
to std::basic_ios::fail(), not bad().

For example,
    std::ifstream is(argv[1]);
    if (is.bad()) {
is probably wrong because, in case the file does not exist, only the failbit it set,
and not the badbit.

Other example:
   double x;
   is >> x;
If the stream 'is' does not contains a string that can represent a double,
then failbit is set (and maybe the eofbit if the stream is actually too
short), but not the badbit.

bad() can be used, in case fail() returned true, to discriminate between a
I/O error and a logical error.

See:
  http://en.cppreference.com/w/cpp/io/basic_ios/operator_bool
  http://en.cppreference.com/w/cpp/io/ios_base/iostate
2013-12-12 16:13:40 +01:00
Jane Tournois a92d14aa35 Merge branch 'master' of ssh://scm.cgal.org/var/git/cgal 2013-12-06 09:55:20 +01:00
Jane Tournois fa530983dd documentation bug fix 2013-12-06 09:54:21 +01:00
Sébastien Loriot 0fa2cacb60 remove doc_tex documentation (including developer manual) and old manual tools 2013-12-03 17:27:02 +01:00
Marc Glisse 8ddf8255d5 Merge branch 'Kernel_d-rewrite-glisse-old' into Kernel_d-rewrite-glisse
Hopefully the doc will be easier to build this way.
2013-11-23 12:34:18 +01:00
Sébastien Loriot 435077021e rename function in test 2013-09-27 16:09:31 +02:00
Sébastien Loriot 91705599c9 add a test checking all linear intersection computations with API v1 and v2 2013-09-26 17:30:43 +02:00
Sébastien Loriot c8495dea58 add missing return type for Intersect_2 when using intersection API v1 2013-09-25 18:06:06 +02:00
Laurent Rineau fa7588e6e5 Restore correct permissions of files
File created by the Windows port of Emacs, and then commited using the
Cygwin version of Git, have incorrect permissions: they are all executable!
Andreas works using that combination of software.
2013-09-24 11:05:57 +02:00
Laurent Rineau 0ea21c36ab Add more "See Also": refer to the general BoundedSide_[23] functor 2013-09-04 14:04:55 +02:00
Laurent Rineau 61393efa4f Add some "See Also" to HasOn((B|Unb)oundedSide|Boundary)_[23] 2013-09-04 14:02:32 +02:00
Laurent Rineau bc03aaf30b Put doc/ in the global dont_submit file 2013-08-20 10:57:03 +02:00
Sébastien Loriot 9c2f35ed1a using cgalHeading instead of h3 2013-08-07 10:06:49 +02:00
Sébastien Loriot d282ade623 use \cgalCite instead of \cite
using perl -i -pe 's/\\cite\s*{?([a-zA-Z0-9:-]+)}?/\\cgalCite{$1}/g'
2013-08-05 18:25:26 +02:00
Sébastien Loriot b2ef3b8673 Merge branch 'doc-remove_gif-local'
Successfully test in CGAL-4.3-Ic-102

This commit fixes a few issues in the doxygen documentation and in particular
the figure for the generation of latex doc.

Approved by the interim release manager

xplain why this merge is necessary,
2013-07-26 17:50:07 +02:00
Sébastien Loriot 2dfe8a3d73 workaround for a doxygen bug: remove space after /!* to avoid a verbatim env
this happens if you have an empty line or the text directly after /!*
to find them in the generated documentation, grep for "pre class=\"fragment\""
(a few of them are legitimate however)
2013-07-25 14:58:53 +02:00
Sébastien Loriot 143a2181b3 add latex format for \imagei doxygen command
perl -pe 's/^(\s*)\\image\s+html\s+(.*)\s*$/$1\\image html $2\n$1\\image latex $2\n/' -i
2013-07-25 11:50:53 +02:00
Sébastien Loriot 74a1ac055e remove pdf files from doxygen doc include path 2013-07-25 11:15:18 +02:00
Sébastien Loriot 519b301130 remove gif files from doxygen doc include path 2013-07-25 11:14:16 +02:00
Sébastien Loriot 4389b0bac8 remove the usage of gif in the doxygen doc as pdflatex does handle them
replace the files with png
2013-07-25 11:06:13 +02:00
Marc Glisse 14d2073dd2 Move Dimension.h back to its place. 2013-07-22 15:44:50 +02:00
Sébastien Loriot 08c9214275 doc: last replacements of \R by \mathbb{R} 2013-07-11 07:29:53 +02:00
Sébastien Loriot d4d9bc212b replace in the doc \R by \mathbb{R}
\R is not a valid latex command
I used: sed -i 's/\\f$\s*\\R/\\f$ \\mathbb{R}/g'
2013-07-10 17:07:43 +02:00
Sébastien Loriot cd5e88f11f Merge branch 'Kernel_23-Bbox_more_friendly-local'
Implements Features/Small_Features/More_friendly_bbox
Successfully tested in CGAL-4.3-Ic-74
Approved by the release manager
2013-06-28 15:05:31 +02:00