Commit Graph

865 Commits

Author SHA1 Message Date
Simon Giraudot 86634b3c17 Use new API of PSP with named parameters in include+example 2018-01-10 16:38:36 +01:00
Simon Giraudot 814ad5adf4 Fix pmap -> map 2018-01-10 16:38:35 +01:00
Simon Giraudot c58ea477f1 compute_average_spacing() with named parameters 2018-01-10 16:38:35 +01:00
Simon Giraudot 670346ba86 Add deprecated PSP V1 API macro 2018-01-10 16:38:35 +01:00
Simon Giraudot 79e423fadb Create a Point_set_processing_3 folder to move internal 2018-01-10 16:38:35 +01:00
Laurent Rineau 42b11ddf29 Revert the merge of PR #2478
This reverts the merge commit 46cc91e787 onto
488c3e2879.
2018-01-04 17:54:08 +01:00
Laurent Rineau 1c2e9df8cf Merge branch 'releases/CGAL-4.11-branch' 2017-12-19 16:29:10 +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
Sébastien Loriot 082d9005da use reference type of the pmap 2017-12-08 14:45:54 +01:00
Sébastien Loriot 8cdfad0d08 add missing URL and Id tags 2017-11-15 22:58:57 +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 037d1149f5 Merge pull request #2477 from sgiraudot/Polyhedron_demo-Fix_load_ply_empty_soup-GF
Polyhedron demo: several fixes and enhancements for PLY I/O
2017-10-13 16:54:19 +02:00
Laurent Rineau 7e9f756935 Replace all std::unary_function by CGAL::unary_function 2017-10-04 15:57:09 +02:00
Simon Giraudot 813f128e57 Add method to recover comments of PLY input 2017-10-04 09:30:01 +02:00
Simon Giraudot 38663431a1 Merge branch 'Classification-GF-old' into Classification-GF 2017-09-11 11:53:13 +02:00
Simon Giraudot 6c4b27c743 Merge branch 'Classification-GF-old' into Classification-GF 2017-08-25 14:28:10 +02:00
Simon Giraudot 1e4b63c606 Fix face properties bug 2017-08-24 11:42:29 +02:00
Sebastien Loriot 74409b2b3c Merge pull request #2239 from sgiraudot/Shape_detection-Region_growing-GF
Region Growing (Shape Detection)
2017-08-18 16:27:19 +02:00
Simon Giraudot 335abd45dd Fix warnings 2017-08-14 09:58:33 +02:00
Simon Giraudot 86e5ad850b Add method to test if tag exists for list property 2017-08-09 09:48:21 +02:00
Simon Giraudot 63732f6415 Remove useless and error-prone overload with std::size_t 2017-08-04 10:03:29 +02:00
Simon Giraudot 8999312f16 Fix reference forwarding everywhere 2017-08-02 14:10:44 +02:00
Simon Giraudot 45ffa0af52 Fix reference forwarding (+ property map error) 2017-08-02 14:10:44 +02:00
Simon Giraudot f0e03e997a Some more internal adaptions of read_ply_points 2017-08-02 14:10:44 +02:00
Simon Giraudot 8556215aae Explicit cast 2017-08-02 14:10:43 +02:00
Simon Giraudot 89d610f047 Add functions to write PLY list properties 2017-08-02 14:10:42 +02:00
Simon Giraudot 71be7b4935 Generalize and simplify generation of PLY properties macro 2017-08-02 14:10:42 +02:00
Simon Giraudot c190be7993 Add methods to handle PLY lists 2017-08-02 14:10:41 +02:00
Simon Giraudot 4c99c7be33 Fix doc 2017-08-01 15:47:58 +02:00
Simon Giraudot be69b2bdd9 Update doc and API 2017-08-01 15:47:58 +02:00
Simon Giraudot 6a119fef11 Unify APIs of structuring and regularization 2017-08-01 15:47:58 +02:00
Simon Giraudot 85634b7a27 Change structure_point_set() with generalized API 2017-08-01 15:46:04 +02:00
Simon Giraudot b88deb3759 Rename Efficient_RANSAC_traits as Shape_detection_traits (same for concept) 2017-08-01 15:45:06 +02:00
Simon Giraudot 8043d342e7 Merge branch 'Classification-GF-old' into Classification-GF 2017-07-21 12:06:19 +02:00
Simon Giraudot c59454e45f Fix wrong inclusions/warning protections 2017-07-13 10:36:56 +02:00
Simon Giraudot 41edf00aae Deactivate visual studio warning on LASlib DLL 2017-07-12 08:13:41 +02:00
Jane Tournois b4bf70caf2 use the import instruction of LasReader_LAS 2017-07-11 11:58:54 +02:00
Jane Tournois dce27d7ecc add missing includes 2017-07-11 11:58:54 +02:00
Simon Giraudot fbe9e78ef0 Use std:: everywhere for tuples (make_tuple, get, etc.) 2017-07-11 11:58:54 +02:00
Simon Giraudot 955100bb48 Force using std::tuple 2017-07-11 11:58:54 +02:00
Simon Giraudot b3723b7e3d Document needed specialization of Output_rep 2017-07-11 11:58:53 +02:00
Simon Giraudot e01f62a09f Use Output_rep to output colors 2017-07-11 11:58:53 +02:00
Simon Giraudot 4b3a506d44 Fix detection of required C++11 features 2017-07-11 11:58:53 +02:00
Simon Giraudot a644f31cd9 Include CGAL/config.h to test macros 2017-07-11 11:58:53 +02:00
Simon Giraudot 40ae0436e1 Add C++11 conditions/tests/warnings for LAS and PLY IO functions and related files 2017-07-11 11:58:53 +02:00
Simon Giraudot d118bc7600 Add license headers 2017-07-11 11:58:52 +02:00
Simon Giraudot bd94c3005b Move USE_AS_DLL as a temporary definition around LASlib header 2017-07-11 11:58:52 +02:00
Simon Giraudot 622bb6f691 Replace LAS_property classes using a Base class with templated types 2017-07-11 11:58:51 +02:00
Jane Tournois 5fb14a891a extract #include in non-GNUC context 2017-07-11 11:58:51 +02:00
Simon Giraudot 0354290268 Fix forgotten namespaces changes 2017-07-11 11:58:51 +02:00
Simon Giraudot 32bd5265dd Use cpp11::tuple and cpp11::get instead of std::tuple and std::get 2017-07-11 11:58:51 +02:00
Simon Giraudot ce362930f0 Separate PSP functions in groups 2017-07-11 11:58:51 +02:00
Simon Giraudot 61f1276a07 Update API with review (remove PLY/LAS namespaces) 2017-07-11 11:58:50 +02:00
Simon Giraudot 237a19037b Some corrections in the manual 2017-07-11 11:58:50 +02:00
Simon Giraudot 5027c9af2c Some corrections 2017-07-11 11:58:49 +02:00
Simon Giraudot ffd7af06ef Some typo corrections 2017-07-11 11:58:49 +02:00
Simon Giraudot 4027ef814c Capitalize tag classes 2017-07-11 11:58:49 +02:00
Simon Giraudot cb6e739f0e Replace namespaces Ply/Las to PLY/LAS 2017-07-11 11:58:49 +02:00
Simon Giraudot d0b760a9e2 User and reference manuals 2017-07-11 11:58:49 +02:00
Simon Giraudot ced26cc733 First version of LAS writer 2017-07-11 11:58:49 +02:00
Simon Giraudot 952c5a4984 Some corrections 2017-07-11 11:58:48 +02:00
Simon Giraudot 9ff95550e9 Use CGAL::IO::BINARY instead of a Binary template boolean 2017-07-11 11:58:48 +02:00
Simon Giraudot 54b7ef95ea Add all possible types for PLY header 2017-07-11 11:58:48 +02:00
Simon Giraudot 9175f39c86 Use cpp11::tuple instead of std::tuple 2017-07-11 11:58:48 +02:00
Simon Giraudot 5663a6836f Change API of PLY writer similarly to PLY reader 2017-07-11 11:58:48 +02:00
Simon Giraudot c394369d29 Update doc, examples and API 2017-07-11 11:58:48 +02:00
Simon Giraudot 24b1a690f3 Use empty structs to handle attributes 2017-07-11 11:58:47 +02:00
Simon Giraudot d827e9d65d First version of LAS reader 2017-07-11 11:58:47 +02:00
Simon Giraudot 731b4c27fe Change full API of PLY reader 2017-07-11 11:58:47 +02:00
Simon Giraudot 19f09d634b Changing API of PLY reader: first steps 2017-07-11 11:58:47 +02:00
Simon Giraudot ef57586cb8 Add read_las_points.h file with skeleton of functions 2017-07-11 11:58:47 +02:00
Simon Giraudot 3ce8e9fc64 Merge branch 'Classification-GF-old' into Classification-GF 2017-03-13 07:51:54 +01:00
Laurent Rineau f60275ff28 Merge pull request #1933 from janetournois/Polyhedron_demo-fix_warnings_msvc-jtournois
Polyhedron demo : fix warnings
2017-03-02 16:55:15 +01:00
Jane Tournois 60fd6aa27a fix conversion warning for msvc 2013, 32 bits 2017-02-28 10:32:03 +01:00
Simon Giraudot b7a0c704d5 Revert changes from std::floor to cast (risk of overflow) 2017-02-27 14:27:12 +01:00
Simon Giraudot 93f5f6276e Replace set by unordered_set (speed up 70%) 2017-02-27 09:57:18 +01:00
Simon Giraudot 0d92e5f2e1 Use cast to int instead of std::round without constructing Point (speed up 25%) 2017-02-27 09:33:43 +01:00
Laurent Rineau c8530ed22d Merge pull request #1909 from sgiraudot/Point_set_processing-Wlop_bugfix_radius2-GF
WLOP Bugfix: use radius2 in parallel version too
2017-02-16 17:34:23 +01:00
Simon Giraudot 57de2171ce Bugfix: use radius2 in parallel version too 2017-02-16 16:44:26 +01:00
Sébastien Loriot 50510c05ea add include directive for license of all GPL header files
done using:
ack-grep "^GPL" */package_info/*/license.txt -l | awk -F "/" '{print $1}' > /tmp/gpl_packages
for i in `cat /tmp/gpl_packages | \
          grep -v Operations_on_polyhedra | \
          grep -v Algebraic_kernel_for_circles | \
          grep -v Algebraic_kernel_for_spheres | \
          grep -v Polyhedron_IO`;
do
  echo $i
  python Scripts/developer_scripts/add_license_in_pkg_header.py $i
done
python Scripts/developer_scripts/add_license_in_pkg_header.py Operations_on_polyhedra Polygon_mesh_processing
python Scripts/developer_scripts/add_license_in_pkg_header.py Algebraic_kernel_for_circles Circular_kernel_2
python Scripts/developer_scripts/add_license_in_pkg_header.py Algebraic_kernel_for_spheres Circular_kernel_3
python Scripts/developer_scripts/add_license_in_pkg_header.py Polyhedron_IO Polyhedron
2017-01-19 15:20:25 +01:00
Simon Giraudot 1beb340550 Merge branch 'Point_set_3-GF-old' into Point_set_3-GF 2017-01-03 15:23:23 +01:00
Sébastien Loriot 303ee311be Merge pull request #1776 from sgiraudot/Point_set_processing-Automatic_scale_selection-GF
Automatic Scale Selection
2017-01-02 19:10:22 +01:00
Sébastien Loriot 3d637745fe Merge pull request #1633 from sgiraudot/Point_set_processing_3-Point_set_structuring-GF
Point Set Structuring
2017-01-02 19:10:14 +01:00
Simon Giraudot 3fe7678874 Warning fix: forgot to remove pragma warning pop 2017-01-02 07:53:18 +01:00
Sébastien Loriot fe5e925367 Merge pull request #1701 from afabri/Convex_hull_3-FaceGraph-GF
Convex_hull_3: Switch to FaceGraph
2016-12-30 15:14:34 +01:00
Simon Giraudot 136a4806e8 Fix warning on Windows 32bits: use boost::intmax_t for difference 2016-12-30 14:30:06 +01:00
Andreas Fabri ab78464470 Fix VC++ min/max problem 2016-12-30 10:59:07 +01:00
Simon Giraudot 5edb6e1459 Warning fix: explicit conversion from size_t to unsigned int 2016-12-30 07:38:44 +01:00
Simon Giraudot d423e5e6f8 Fix warning with explicit casts 2016-12-29 09:28:36 +01:00
Simon Giraudot 2a37790e47 Add license header 2016-12-21 13:50:18 +01:00
Simon Giraudot fb9aae74c6 Merge branch 'Point_set_processing-Automatic_scale_selection-GF-old' into Point_set_processing-Automatic_scale_selection-GF 2016-12-21 13:06:36 +01:00
Andreas Fabri 552e8f9de6 Use halfspace intersection that has better vertex coordinates (even if the topology of the CH might not be fuly correct) 2016-12-01 12:54:19 +01:00
Andreas Fabri 466995a31b Add typedef for Polyhedron_3 2016-11-30 11:56:52 +01:00
Andreas Fabri 86a252c074 min -> (min) ; std::fabs -> CGAL::abs 2016-11-30 08:11:30 +01:00
Simon Giraudot 0d0e28ea68 Bugfix: do not delegate constructor 2016-11-28 08:02:56 +01:00
Simon Giraudot 310d81864e Merge branch 'Classification-GF-old' into Classification-GF 2016-11-23 08:55:57 +01:00
Simon Giraudot 0df67413eb Fix EfficientRANSACTraits requirements 2016-10-31 15:11:55 +01:00
Simon Giraudot db30ed1a82 Update with remarks from code review 2016-10-31 12:38:18 +01:00
Simon Giraudot 94b2fe7206 Better API: fulfill at least one of the threshold 2016-10-31 08:59:57 +01:00
Simon Giraudot 2d325b958a Document property maps and add alternative 2016-10-31 07:57:35 +01:00
Simon Giraudot 0ca9eccec8 Bugfix: missing typename 2016-10-31 07:47:26 +01:00
Simon Giraudot 40e273d5af Add possibility to give custom point_map and normal_map 2016-10-28 15:30:50 +02:00
Simon Giraudot f65db046b1 Merge branch 'Point_set_processing_3-Point_set_structuring-GF-old' into Point_set_processing_3-Point_set_structuring-GF 2016-10-28 15:02:48 +02:00
Simon Giraudot b6f68584fa Change API of remove_outliers: add distance based threshold 2016-10-28 11:19:10 +02:00
Simon Giraudot 22f0b2c1f8 Merge branch 'Point_set_3-GF-old' into Point_set_3-GF 2016-10-24 15:17:38 +02:00
Simon Giraudot 886ad42a7e Add method to get raw readers 2016-10-21 10:28:39 +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 50675b9734 Merge pull request #1418 from afabri/Point_set_processing-static-GF
PSP: No need for thread local storage as readonly
2016-10-05 13:02:13 +02:00
Laurent Rineau 51f5697d3d Add missing #include 2016-09-30 15:23:14 +02:00
Andreas Fabri ed472c0904 Fix package Point_set_processing_3: include headers 2016-09-30 15:22:30 +02:00
Andreas Fabri 5136f5dda4 Fix package Point_set_processing: Add #include and rename variable _N -> N 2016-09-30 15:22:27 +02:00
Simon Giraudot 65910da1a6 Merge branch 'Point_set_3-GF-old' into Point_set_3-GF 2016-09-28 11:25:36 +02:00
Simon Giraudot 3a356505c8 Merge branch 'Point_set_3-GF' into Point_set_classification-GF 2016-09-21 09:42:41 +02:00
Simon Giraudot 401fa82461 Merge branch 'Point_set_classification-GF-old-old' into Point_set_classification-GF-old 2016-09-21 09:38:27 +02:00
Simon Giraudot 7034fe00a9 Remove lines about tparam that can be omitted (this was wrong) 2016-09-14 16:36:26 +02:00
Simon Giraudot ef4b531560 Add method to get raw readers 2016-09-13 17:14:12 +02:00
Simon Giraudot 80a8d49860 Add missing const 2016-09-09 14:28:22 +02:00
Simon Giraudot 2d035b3e6c Move Point_set_3 to its own package 2016-09-09 08:30:26 +02:00
Simon Giraudot 1e985f5ecd Merge branch 'Point_set_processing_3-Point_set_3-GF-old' into Point_set_processing_3-Point_set_3-GF 2016-09-08 12:58:25 +02:00
Simon Giraudot 29535531bb Fix constness of reference 2016-09-08 12:22:55 +02:00
Simon Giraudot bb7f153763 Improve Property_pmap and Property_back_inserter 2016-09-08 10:42:25 +02:00
Andreas Fabri 80541b6405 No need for thread local storage as readonly 2016-08-31 12:00:19 +02:00
Sébastien Loriot ff1b240a37 replace assert by CGAL_assertion in CGAL code 2016-08-25 11:12:17 +02:00
Simon Giraudot ea24e3ccde Add reference to user manual in ref manual 2016-08-25 09:31:20 +02:00
Simon Giraudot a3e4a8b927 Terminology correction (value type) 2016-08-25 09:05:02 +02:00
Simon Giraudot cb7914f1ec Document output iterators 2016-08-25 08:22:58 +02:00
Simon Giraudot d94a7a6316 Unify: location -> query 2016-08-25 08:06:24 +02:00
Simon Giraudot 00381feae4 Return output iterators 2016-08-25 07:53:00 +02:00
Simon Giraudot 7c633e8acc Remove useless and ambiguous template typenames 2016-08-18 14:52:38 +02:00
Simon Giraudot 08e4f7e6c8 Minor corrections in doxygen doc 2016-08-10 16:13:10 +02:00
Simon Giraudot 0de675ff3b Add doxygen doc and useful overloads 2016-08-09 11:37:45 +02:00
Simon Giraudot e9464de8f2 A bit more optimizations 2016-08-08 17:29:17 +02:00
Simon Giraudot c1fc95dc9f Code optimization 2016-08-08 16:52:21 +02:00
Simon Giraudot e99d74aefc Minor corrections 2016-08-08 10:30:33 +02:00
Simon Giraudot cbad1f375c Increase precision by keeping track of clusters' weights 2016-08-05 15:41:06 +02:00
Simon Giraudot 5b7d0a99cb Add 2D case 2016-08-05 08:30:59 +02:00
Simon Giraudot 11d59640a9 Add possibility to look for a range scale (instead of a K scale) 2016-08-04 15:34:56 +02:00
Simon Giraudot cd0ccf07c4 New algorithm: automatic scale selection for reconstruction 2016-08-04 15:27:14 +02:00
Simon Giraudot 4a03949eec Merge branch 'Point_set_classification-GF-old' into Point_set_classification-GF 2016-07-22 11:58:16 +02:00
Sébastien Loriot 3e9796e1ed remove unused types 2016-07-18 10:26:23 +02:00
Sébastien Loriot efa3e3b654 avoid relying on reference 2016-07-15 14:29:29 +02:00
Sébastien Loriot d9fb49f2dd fix all calls to get() free function for property maps
the return type of get is reference
2016-07-13 13:53:06 +02:00
Simon Giraudot 08b0711ee4 Merge branch 'Point_set_processing_3-Point_set_structuring-GF-old' into Point_set_processing_3-Point_set_structuring-GF 2016-07-05 14:16:54 +02:00
Simon Giraudot 85a5ef28dc Merge branch 'Point_set_classification-GF-old' into Point_set_classification-GF 2016-07-05 13:49:33 +02:00
Sébastien Loriot e3a44a9d75 remove the flag CGAL_USE_PROPERTY_MAPS_API_V1 and keep only new API 2016-07-04 10:17:38 +02:00
Simon Giraudot ace0238a7c Bugfix: deactivate corners if bad intersection 2016-05-17 15:37:41 +02:00
Simon Giraudot a6b11751b1 Merge branch 'Point_set_processing_3-Point_set_structuring-GF-old' into Point_set_processing_3-Point_set_structuring-GF 2016-05-17 10:00:03 +02:00
Simon Giraudot 02fa465c39 Use const ref in wlop get() 2016-05-09 15:37:39 +02:00
Simon Giraudot 345fe1f444 Use put() operator instead of using ref of get() 2016-05-09 14:44:28 +02:00
Simon Giraudot 3955da6b6e Fix API of property maps (get and put in same class + other minor corrections) 2016-05-09 11:35:10 +02:00