Mael Rouxel-Labbé
48185ac153
Filter out irrelevant (<= 0) natural and regular neighbor coordinates
...
- coord == 0 is possible in theory, but not interesting to output
- coord < 0 is not possible in theory, but since we do construction and use
signed (polygon_area_2()) area computations, we could in theory get
negative coordinates in output
2019-01-14 11:20:16 +01:00
Mael Rouxel-Labbé
14150ef95c
Revert commit b307771 ("bug fix for natural_neighbor_coordinates_2...
...
... using a small feature in the conflict zone functions of
Delaunay_triangulation_2")
See concerns raised in the (not-actually-approved) small feature:
https://cgal.geometryfactory.com/CGAL/Members/wiki/Features/Small_Features/DT2_strict_and_weak_conflict_zone
2019-01-14 11:19:21 +01:00
Guillaume Damiand
7d406fbb9c
Merge branch 'master' into CGAL-cmake_cleanup-gdamiand
2018-11-05 07:32:58 +01:00
Laurent Rineau
821f9c015e
Merge pull request #3311 from sloriot/Doc-Pkg_link_name
...
Update the name of package names reference links
2018-10-29 10:27:53 +01:00
Guillaume Damiand
92ba7fa6c9
Update minimum cmake required version in all CMakeLists.txt
2018-10-18 14:49:23 +02:00
Guillaume Damiand
0bd9088b5a
Remove all include( ) and include( CGAL_CreateSingleSourceCGALProgram ) in CMakeLists.txt; they are no more required.
2018-10-17 14:17:08 +02:00
Guillaume Damiand
7f09308d33
Remove all include_directories(BEFORE ../../include) in CMakeLists.txt
2018-10-17 13:07:22 +02:00
Andreas Fabri
3701140277
Remove unused variables
2018-10-10 07:59:20 +02:00
Sébastien Loriot
ea240cfac5
use \PkgXXX instead of \PkgXXXSummary
2018-10-08 10:28:44 +02:00
Sébastien Loriot
a2e8a1c68f
add the suffix Ref to doxygen link to reference
2018-10-08 10:26:56 +02:00
Andreas Fabri
660cb5d778
Add precondition that range is non-empty. This is more explicit than the precondition that norm>0
2018-10-02 11:07:43 +02:00
Andreas Fabri
77010f5f0a
Resimplify and fix the documentation
2018-09-26 16:17:35 +02:00
Andreas Fabri
c5f85b212d
Switch to make_zero()
2018-09-26 11:46:22 +02:00
Andreas Fabri
41946b72d6
Make linear_interpolation() work with non-scalar data
2018-09-26 09:06:34 +02:00
Mael Rouxel-Labbé
8b6826cb83
Renamed an internal function
...
Some compilers seem to get confused between different functions by the
<VF_arg_type> despite the functions having different numbers of arguments.
2018-06-28 11:57:06 +02:00
Mael Rouxel-Labbé
ff541caac8
Changed macro to detect whether lambdas should be used or not
2018-06-28 10:23:33 +02:00
Mael Rouxel-Labbé
49789ef3bb
Fixed namespace
2018-06-26 14:28:50 +02:00
Mael Rouxel-Labbé
68c8b797a6
Merge branch 'Interpolation-Use_result_of-GF-old' into Interpolation-Use_result_of-GF
2018-06-26 14:27:19 +02:00
Mael Rouxel-Labbé
14bda813d3
Workaround boost::is_constructible not being safe to use before C++11
...
Incidentally means that argument_type unfortunately must be defined
when not using C++11...
2018-06-25 12:13:46 +02:00
Mael Rouxel-Labbé
cdf325138a
Tiny indentation fix
2018-06-15 13:01:49 +02:00
Mael Rouxel-Labbé
fa5ff4993d
Improved the test of interpolation functions to test other types of functors
2018-06-15 12:54:59 +02:00
Mael Rouxel-Labbé
c76dace89b
Replaced uses of ::result_type and ::argument_type in Interpolation
...
This allows to pass more generic functors such as lambdas, for example.
2018-06-15 12:53:46 +02:00
Mael Rouxel-Labbé
77ab3dbd00
Added comments in examples about lambda support
2018-06-15 12:52:46 +02:00
Mael Rouxel-Labbé
c26d1f09a6
Fixed error in the documentation
2018-06-15 12:44:38 +02:00
Mael Rouxel-Labbé
bbb1431249
Fixed Construct_point_2 return type
...
Can't assume it is a const& otherwise we take references to temporaries
with kernels doing lazy constructions such as EPECK
2018-06-15 12:38:06 +02:00
Mael Rouxel-Labbé
b4a7f84562
Misc minor changes
2018-06-14 16:35:57 +02:00
Mael Rouxel-Labbé
26c857a431
Moved unary/binary_function to CGAL::cpp98
2018-06-13 15:58:19 +02:00
Mael Rouxel-Labbé
c1f7e536ca
Minor doc fix
2018-05-04 13:57:41 +02:00
Mael Rouxel-Labbé
1dcda5f58a
Reverted author change
2018-05-04 13:57:41 +02:00
Mael Rouxel-Labbé
10c073b8df
Doc improvements
2018-05-04 13:57:41 +02:00
Jane Tournois
0f787d4b28
fix typo
2018-05-04 13:57:41 +02:00
Andreas Fabri
bfaa3b7d6e
fix include
2018-05-04 13:57:41 +02:00
Mael Rouxel-Labbé
d5a2403ee2
Minor doc fixes
2018-05-04 13:57:41 +02:00
Mael Rouxel-Labbé
de5795936f
Fixed indentation
2018-05-04 13:57:41 +02:00
Mael Rouxel-Labbé
52dd29a635
Actualized traits concepts
2018-05-04 13:57:41 +02:00
Mael Rouxel-Labbé
a5b773b12d
Updated doc of the sibson gradient fitting functions
2018-05-04 13:57:41 +02:00
Mael Rouxel-Labbé
07cda962b6
Minor doc fix
2018-05-04 13:57:40 +02:00
Mael Rouxel-Labbé
44570bd7e0
Fixed broken backward compatibility
2018-05-04 13:57:40 +02:00
Mael Rouxel-Labbé
89e2b72d1e
Renamed template parameter in the documentation
2018-05-04 13:57:40 +02:00
Mael Rouxel-Labbé
5d2fa6b4c6
Updated documentation of (natural|regular)_neighbor_coordinates_2
2018-05-04 13:57:40 +02:00
Mael Rouxel-Labbé
7a2382ee7f
Factorized some calls to construct_point_d
2018-05-04 13:57:40 +02:00
Mael Rouxel-Labbé
13432343ea
Reference manual misc updates
2018-05-04 13:57:40 +02:00
Mael Rouxel-Labbé
a3dce1bb75
Updated doc of interpolation functions
2018-05-04 13:57:40 +02:00
Mael Rouxel-Labbé
ebe92dc1b1
User manual improvements
2018-05-04 13:57:40 +02:00
Mael Rouxel-Labbé
f69c1f734a
Replaced 'assert' with 'continue'
...
This function takes a vertex handle vh and computes the coordinates
in the hypothetical situation of vh being removed and querying at vh->point().
If vh is adjacent to the infinite vertex, then vh->point() will be outside
the convex hull (most likely, could be on the boundary too). The base function
taking a point can handle that case, it returns: (empty, 0, false). Rather
than crashing, let the other function return 'false'.
2018-05-04 13:57:40 +02:00
Mael Rouxel-Labbé
166f6d5624
Minor example improvements
2018-05-04 13:57:40 +02:00
Mael Rouxel-Labbé
b319d41f00
Added a simple example of nn_coordinates with OutputFunctor
2018-05-04 13:57:40 +02:00
Mael Rouxel-Labbé
dc7215b178
Improved examples (rn|nn)_coordinates_2.cpp
2018-05-04 13:57:40 +02:00
Mael Rouxel-Labbé
9085622fdd
Remade figures, added new figure for regular neighbor coordinates
2018-05-04 13:57:40 +02:00
Mael Rouxel-Labbé
0504519cb7
Fixed trailing whitespace in Interpolation/doc
2018-05-04 13:57:40 +02:00
Mael Rouxel-Labbé
4fba5c8db7
Cleaned output
2018-05-04 13:57:40 +02:00
Mael Rouxel-Labbé
cb7ea5a752
Added another test to regular neighbors
2018-05-04 13:57:39 +02:00
Mael Rouxel-Labbé
07f96f9ab5
Improved tests of interpolation functions
...
Made it exhaustive and add new tests using OutputFunctor
2018-05-04 13:57:39 +02:00
Mael Rouxel-Labbé
dc14d129a4
Readability changes
2018-05-04 13:57:39 +02:00
Mael Rouxel-Labbé
ae8b5bfaa4
Fixed documentation link
2018-05-04 13:57:39 +02:00
Mael Rouxel-Labbé
207fbb7efd
Changed functor's result type
...
Technically the point() function of the TriangulationVertexBase_2 concept
has return type Point and not const Point& so we can't take a const ref here
otherwise we might take refs to temporaries.
2018-05-04 13:57:39 +02:00
Mael Rouxel-Labbé
d32a4ff717
Fixed regular neighbor coordinates when the query point is hidden
2018-05-04 13:57:39 +02:00
Mael Rouxel-Labbé
ee4134317e
Improved tests of natural/regular coordinates (2D)
...
backward compatible + new tests
2018-05-04 13:57:39 +02:00
Mael Rouxel-Labbé
dbc48009bc
Various minor to natural/regular coordinates
2018-05-04 13:57:39 +02:00
Mael Rouxel-Labbé
c7b2757405
Readability changes in Interpolation/test
2018-05-04 13:57:39 +02:00
Mael Rouxel-Labbé
91620fbec6
Fixed the creative indentation of the Interpolation Pkg's doc
2018-05-04 13:57:39 +02:00
Mael Rouxel-Labbé
f6a7307a74
Fixed trailing whitespace in the Pkg Interpolation
2018-05-04 13:57:39 +02:00
Mael Rouxel-Labbé
c88b17f92e
Clarified functor names
2018-05-04 13:57:39 +02:00
Mael Rouxel-Labbé
751395e4fe
Fixed examples after parameter order change
2018-05-04 13:57:39 +02:00
Mael Rouxel-Labbé
e005946a67
Improvements to sibson_gradient_fitting.h
...
- better variable/template names
- better function order
- some simplifications and warning cleaning
2018-05-04 13:57:39 +02:00
Mael Rouxel-Labbé
ed823a875c
Fixed compilation after functor name change
2018-05-04 13:57:38 +02:00
Mael Rouxel-Labbé
efcafe4073
Added a comment
2018-05-04 13:57:38 +02:00
Mael Rouxel-Labbé
42c25d1c84
Readability changes (no real changes)
2018-05-04 13:57:38 +02:00
Mael Rouxel-Labbé
4f02f892cb
Added missing overloads and cleaned code in (nn|rn)_coordinates_2
2018-05-04 13:57:38 +02:00
Mael Rouxel-Labbé
d041642800
Generalized Interpolation helper functors and cleaned their names
2018-05-04 13:57:38 +02:00
Mael Rouxel-Labbé
67f99cc53d
Fixed trailing whitespace and (some of the) inconsistent indentation
...
No real changes.
2018-05-04 13:57:38 +02:00
Mael Rouxel-Labbé
118e5dc9c3
Re-ordered papers so that the compiled version shows up ordered
2018-05-04 13:57:38 +02:00
Sébastien Loriot
0a27019322
fix sibson interpolation
2018-05-04 13:57:38 +02:00
Sébastien Loriot
1e6806f6e1
add missing overloads
2018-05-04 13:57:38 +02:00
Andreas Fabri
d619587ffb
Add an example that not yet compiles
2018-05-04 13:57:38 +02:00
Andreas Fabri
6bb5deff4d
Add an example
2018-05-04 13:57:38 +02:00
Andreas Fabri
af093e3a15
Make it work for regular neighbors. Make Sibson geadient fitting write weighted points
2018-05-04 13:57:38 +02:00
Andreas Fabri
868266fa76
Clean up.
2018-05-04 13:57:38 +02:00
Andreas Fabri
5acd076dd5
Add an example and the implementation history
2018-05-04 13:57:38 +02:00
Andreas Fabri
2bc8e23653
move helper classes in a subdirectory/namespace/file
2018-05-04 13:57:38 +02:00
Andreas Fabri
abc19d9c9d
Add the possibility to store values and gradients in vertex_with_info
2018-05-04 13:57:38 +02:00
Andreas Fabri
de5c1e4d46
Add the possibility to store value and gradient in the triangulation vertices
2018-05-04 13:57:38 +02:00
Sébastien Loriot
742a615527
fix doc warnings triggered essentially by the improvement of doxygen
2018-04-25 23:36:21 +02:00
Laurent Rineau
0a74393dcf
Commit all new dependencies files
2018-03-06 18:44:48 +01:00
Maxime Gimeno
688b5dd06e
Move dependencies creation to package_info and add dependencies to git
2018-02-02 12:08:05 +01:00
Maxime Gimeno
8bde832931
Fix METIS headers in BGL
2018-02-02 12:08:05 +01:00
Maxime Gimeno
a676d5a60e
Try to fix errors in classification checks
2018-02-02 12:08:05 +01:00
Maxime Gimeno
acd0a72edf
Modify travis script to test dependencies
2018-02-02 12:08:05 +01:00
Maxime Gimeno
ae36b452bc
Add dependencies of all packages
2018-02-02 12:08:05 +01:00
Sébastien Loriot
8cdfad0d08
add missing URL and Id tags
2017-11-15 22:58:57 +01:00
Laurent Rineau
a9365554c9
Merge pull request #2550 from sloriot/CGAL-add_SPDX_tags
...
Add SPDX License Identifier
2017-11-15 16:48:27 +01:00
Laurent Rineau
3ff09bc549
Merge pull request #2580 from lrineau/CGAL-Support_CMake_3.10-GF
...
Renew the handle of policies, for CMake-3.10
2017-11-15 16:47:42 +01:00
Sébastien Loriot
ee57fc2d6c
add SPDX identifier for files under the GPL-3+ license
2017-11-12 10:17:51 +01:00
Laurent Rineau
62c70d41ca
Renew the handle of policies, for CMake-3.10
...
Now that we require CMake>=3.1, we can forget a lot of old CMake policies.
`CMP0053` `OLD` behavior is still needed, because of a bug in Qt5 CMake files, but it will
not be set with CMake>=3.10. Let's assume that a recent CMake version means
a recent Qt5 version.
2017-11-06 14:58:36 +01:00
Laurent Rineau
e73c95d4cd
Do not test demos
2017-10-20 17:01:43 +02:00
Laurent Rineau
7e9f756935
Replace all std::unary_function by CGAL::unary_function
2017-10-04 15:57:09 +02:00
Sébastien Loriot
5e7fba7c1b
change the scope of the functor
2017-09-14 08:15:55 +02:00
Mael Rouxel-Labbé
58bd2302e0
Added a test to gradient fitting functions
2017-09-13 16:24:54 +02:00
Mael Rouxel-Labbé
9a5e0f8a64
Modified gradient fitting concept
2017-09-13 16:24:47 +02:00
Mael Rouxel-Labbé
a926aa22cb
Fixed weighted point issue in gradient fitting functions
2017-09-13 16:24:39 +02:00