Sébastien Loriot
0779373835
extra run of the script to remove tabs and trailing whitespaces
...
right after the merge of 4.14 release branch
+ manual fix on one line in:
* Arrangement_on_surface_2/include/CGAL/IO/Arr_text_formatter.h
* .travis/generate_travis.sh
2020-03-26 14:16:06 +01:00
Sébastien Loriot
1a97dcfb8e
Merge pull request #3441 from afabri/PMP-centroid-GF
...
[Small Feature] Add centroid(TriangleMesh) to Polygon Mesh Processing
2019-04-12 15:45:48 +02:00
Sébastien Loriot
d60f5645aa
replace BOOST_FOREACH by c++ ranged-based for loop
...
some of the command used for the replacement:
ack --cpp BOOST_FOREACH -l | xargs sed -i -E "s/BOOST_FOREACH\(([a-zA-Z_:&0-9]+)\s(\w+)\,/for(\1 \2 :/"
ack --cpp BOOST_FOREACH -l | xargs sed -i -E "s/BOOST_FOREACH\((const [a-zA-Z_:&0-9]+)\s(\w+)\,/for(\1 \2 :/"
ack --cpp BOOST_FOREACH -l | xargs sed -i -E "s/BOOST_FOREACH\((const typename [a-zA-Z_:&0-9]+)\s(\w+)\,/for(\1 \2 :/"
ack --cpp BOOST_FOREACH -l | xargs sed -i -E "s/BOOST_FOREACH\((typename [<>a-zA-Z_:&0-9]+)\s(\w+)\,/for(\1 \2 :/"
ack "boost/foreach.hpp" -l --cpp | xargs sed -i '/boost\/foreach.hpp>/d'
2019-03-29 13:22:15 +01:00
Andreas Fabri
e758a7ddb0
Correct implementation of centroid of surface mesh
2019-03-21 13:36:30 +01:00
Andreas Fabri
f1f6e0dc52
Do not test the centroid with Epec
2019-03-21 13:36:30 +01:00
Andreas Fabri
a38b7e7b3d
Add typename
2019-03-21 13:36:30 +01:00
Andreas Fabri
2f4cb13faf
Test centroid()
2019-03-21 13:36:30 +01:00
Laurent Rineau
5181cd7474
Merge branch 'releases/CGAL-4.10-branch' into releases/CGAL-4.11-branch
...
# Conflicts:
# Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/measure.h
2017-12-19 16:19:22 +01:00
Laurent Rineau
68cf051563
Fix <CGAL/Polygon_mesh_processing/measure.h>
...
It requires `CGAL::exact(FT)` from `<CGAL/Lazy.h>`.
Fixes #2654 .
2017-12-07 10:07:16 +01:00
Mael Rouxel-Labbé
fd6825acbf
Fixed return type in measure_tests
2017-06-22 16:17:13 +02:00
Andreas Fabri
7997925bf8
Add a function longest_border(PolygonMesh&) to PMP
2017-06-22 16:11:38 +02:00
Andreas Fabri
51bbe5d1f6
License check for Geometric Measures and Miscellaneous
2017-03-22 10:05:39 +01:00
Jane Tournois
f9fe9a5e6a
add assertions to the PMP testsuite
2017-03-14 15:46:48 +01:00
Sébastien Loriot
9cf49ff733
remove _3 suffix left
2017-01-31 18:09:22 +01:00
Sébastien Loriot
a675fa60e4
rename bbox_3 functions
...
free functions in CGAL have no dimension suffix
2017-01-31 14:33:56 +01:00
Sébastien Loriot
f9ecd715b5
Revert "rename functions computing simplex bbox to bbox_3"
...
This reverts commit 357f261231 .
The names have to be different otherwise for models of FaceGraph
have face, vertex and edge descriptors being pure integer the
overloads will be ambiguous
2016-10-19 14:14:09 +02:00
Sébastien Loriot
357f261231
rename functions computing simplex bbox to bbox_3
...
overloads are possible thanks to a specialization of graph_traits
for named parameter being empty.
That way, the compiler do not try to instantiate the one from boost,
which was looking for vertex_descriptor and edge_descriptor in the
name parameters.
2016-09-30 10:04:12 +02:00
Sébastien Loriot
ce13630917
rename overload as there are some ambiguities that cannot be overcame
2016-09-29 14:09:50 +02:00
Sébastien Loriot
5143325085
add function to get the bounding box of a vertex, an edge, or a face
2016-09-29 14:09:46 +02:00
Jane Tournois
d03be65935
rename test function
...
it makes a conflict with ‘template<class U, U x> struct boost::detail::test’
2016-06-14 14:17:44 +02:00
Jane Tournois
5b41ca088b
avoid stack overflow in Epeck due to +=
2016-06-14 14:17:40 +02:00
Jane Tournois
5446dcbf6b
measures don't support Epeck yet. Comment the tests
2016-06-14 14:17:38 +02:00
Sébastien Loriot
27d983255d
remove unused typedef instruction
2016-06-14 14:17:32 +02:00
Sébastien Loriot
8b10e64260
add missing typename and template keywords
2016-06-14 14:17:31 +02:00
Andreas Fabri
702149cd93
Also test EPEC in the testsuite
2016-06-14 14:17:26 +02:00
Andreas Fabri
ae1f695208
Document where sqrt is done approximately
2016-06-14 14:17:04 +02:00
Sébastien Loriot
3bafb67964
add missing typenames
2015-11-25 09:13:24 +01:00
Jane Tournois
91bec07354
fix tests to avoid preconditions failures
2015-11-24 14:19:37 +01:00
Jane Tournois
6f718be591
rename functions to make it consistent with face_area
2015-09-10 09:30:16 +02:00
Jane Tournois
55ab0f5b06
rename area() to face_area() to avoid ambiguities
...
also add geom_traits as a named parameter
2015-09-08 09:56:29 +02:00
Jane Tournois
2d251049dd
add volume function and test it
2015-09-07 15:11:14 +02:00
Jane Tournois
2160da4ceb
add area function for the complete triangulated Surface
...
use CGAL_PMP_NP_TEMPLATE_PARAMETERS and CGAL_PMP_NP_CLASS
to avoid ambiguities
2015-09-04 17:37:36 +02:00
Jane Tournois
2bb201c0ef
add documentation and rename file
2015-09-04 16:58:53 +02:00
Jane Tournois
af719e41b5
add simple test
2015-09-04 14:10:23 +02:00