Commit Graph

1009 Commits

Author SHA1 Message Date
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