Commit Graph

133 Commits

Author SHA1 Message Date
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
Maxime Gimeno 7fa4b380d2 fixes in includes logic. 2018-02-02 12:08:05 +01:00
Simon Giraudot c52b32b744 Add trick to get FT right for general PointRange AND for CGAL::Point_set_3 2018-01-11 14:04:19 +01:00
Simon Giraudot b260c95d3e Fix memory leak 2018-01-10 16:39:34 +01:00
Simon Giraudot 85e98c8707 Fix typo 2018-01-10 16:39:33 +01:00
Simon Giraudot 208487f0a7 Update Point_set_3 user man 2018-01-10 16:39:32 +01:00
Simon Giraudot 0e81f39e07 Document parameters() in CGAL::Point_set_3 2018-01-10 16:39:32 +01:00
Simon Giraudot 210bb83123 Update Point_set_3 examples and tests, remove Point_set_processing overloads 2018-01-10 16:39:31 +01:00
Simon Giraudot fffefbaeaf add all_default() method with point set 3 overload 2018-01-10 16:38:36 +01:00
Simon Giraudot 165a111eb1 Update Point_set_3 example 2018-01-10 16:38:36 +01:00
Laurent Rineau 1c2e9df8cf Merge branch 'releases/CGAL-4.11-branch' 2017-12-19 16:29:10 +01:00
Simon Giraudot 9a7f07cd1d Reinitialize properties of Point_set_3 2017-12-08 10:18:09 +01:00
Sébastien Loriot ee57fc2d6c add SPDX identifier for files under the GPL-3+ license 2017-11-12 10:17:51 +01:00
Simon Giraudot 04283ffb3f Add undocumented way to write PLY comments in write_ply_point_set() 2017-10-04 10:11:44 +02:00
Simon Giraudot fcd6068858 Add undocumented way to recover PLY comments from read_ply_point_set() 2017-10-04 09:42:48 +02:00
Simon Giraudot b88deb3759 Rename Efficient_RANSAC_traits as Shape_detection_traits (same for concept) 2017-08-01 15:45:06 +02:00
Laurent Rineau 4594430aac Merge pull request #2138 from sgiraudot/Point_set_processing-Las_IO-GF
Point set processing: LAS I/O
2017-07-17 12:45:24 +02:00
Simon Giraudot 56919f961b Fix static assertion by using a templated tag false 2017-07-11 11:59:40 +02:00
Simon Giraudot 66cd564be4 Warning fix: missing return 2017-07-11 11:59:40 +02:00
Simon Giraudot 99bd05e72e Remove useless include in example 2017-07-11 11:59:39 +02:00
Simon Giraudot 914a6fe8b9 Add non-CXX11 overloads of PLY/LAS IO for Point_set_3 to display error messages 2017-07-11 11:59:39 +02:00
Simon Giraudot a576d01c65 Fix CMakeLists for Point_set_3 examples 2017-07-11 11:58:54 +02:00
Simon Giraudot 4b3a506d44 Fix detection of required C++11 features 2017-07-11 11:58:53 +02:00
Simon Giraudot 18dbc0677f Fix bad #ifdef #endif macros 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 c1f0815ed9 C++11 protection in point_set_3 overloads 2017-07-11 11:58:53 +02:00
Simon Giraudot 00a1149131 Fix LAS/PLY reading functions for Point_set_3 2017-07-11 11:58:51 +02:00
Simon Giraudot 9a8318e24c Update Point_set_3 doc 2017-07-11 11:58:50 +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 6da16852c6 LAS reader for Point_set_3 2017-07-11 11:58:48 +02:00
Simon Giraudot d30b7a4ef8 Update PLY IO for Point_set_3 2017-07-11 11:58:48 +02:00
Simon Giraudot a61d6e02a4 Fix Point_set_3::remove(const Index&) and add test 2017-07-04 15:18:51 +02:00
Simon Giraudot d005981b52 Bugfix: use find() to compare string to avoid carriage return problems 2017-05-29 11:08:32 +02:00
Simon Giraudot 800c16f2e1 Warning fix: explicit conversion to size_type 2017-04-07 11:49:59 +02:00
Simon Giraudot af78f66230 Use boost::uint32_t instead of std::size_t as size type 2017-04-05 15:29:53 +02:00
Simon Giraudot 4cfbe98564 Point_set_3: fix documentation bug (concept Index accepts constructor with std::size_t) 2017-04-05 15:18:28 +02:00
Laurent Rineau 7b2a150e84 Fix <CGAL/Surface_mesh/Properties.h> and its uses
The PR #1791 introduced `CGAL::Point_set_3`, and factorized the
`Property_map` implementation of `Surface_mesh` into a new class
template `CGAL::Properties::Property_map<Key, T>`.

The backward compatibility was supposed to be ensured by the fact that
`Surface_mesh<Point>::Property_map<Key,T>` had
`Properties::Property_map<Key, T>` as base class. But that compatibility
was only partial, and there could be ambiguities in the calls to `get`
and `put` with those property maps.

This commit/PR renamed `Properties::Property_map` to
`Properties::Property_map_base`, and added a third parameter, used as
the `Derived` class in the CRTP used by `boost::put_get_helper`. That
way, the `get` and `put` functions are defined directory on the real
class `Surface_mesh::Property_map<Key, T>` and not on its base class.

The same has been modified in `CGAL::Point_set_3`.

That makes the use of `Property_base_base` and `Property_container` a
little trickier, but that removes several ugly non-portable hacks, like
the `reinterpret_cast` that were used to convert a pointer to base class
of the pmap to the pointer the real pmap. Now that is a lot cleaner.

I have verified that the documentation is not modified. Actually, the
PR #1791 did modify the documentation of `Surface_mesh` (see the member
method `add_property_map` for example), and this PR fixes the situation:
the documentation of `Surface_mesh` is put back to the version in
CGAL-4.9.
2017-02-08 14:33:18 +01:00
Simon Giraudot d7eb45c37b Bugfix: point is marked as removed if iterator distance is lesser OR equal to 0 2017-01-30 08:45:22 +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
Sébastien Loriot f214bc332b Update project names 2017-01-19 11:10:03 +01:00
Sébastien Loriot f3251a5575 fix project names 2017-01-19 11:07:39 +01:00
Maxime Gimeno a01593e0bb Unify the links to the Polyhedron demo in the package descriptions. 2017-01-10 14:56:52 +01:00
Simon Giraudot 1dcd37b7dc Warning fix: implicit conversion 2017-01-06 07:33:30 +01:00