Simon Giraudot
2d433f9f79
Small enhancement: reserve memory when reading PLY point set
2018-03-26 11:02:58 +02: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
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
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
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
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
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
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
Simon Giraudot
7bcb5b02eb
Fix warnings
2017-01-05 07:57:05 +01:00
Simon Giraudot
f9dcc4b721
Fix warnings
2017-01-04 10:40:24 +01:00
Simon Giraudot
d08efe278c
Use max precision for stringstream
2016-10-28 14:48:25 +02:00
Simon Giraudot
5b7dea069e
Two bug fixes
2016-10-18 15:39:51 +02:00
Simon Giraudot
bdbd31ee11
Bugfix: do not define the prototype of Push_property_map beforehand
2016-10-18 15:27:38 +02:00
Simon Giraudot
17b25a50ac
Update with latest review
2016-10-14 14:31:06 +02:00
Simon Giraudot
69c6f96727
Fix properties() behavior
2016-10-12 12:16:03 +02:00
Simon Giraudot
8a18e754be
Fix boost demangle
2016-10-12 11:33:10 +02:00
Simon Giraudot
3a24b788c4
Fix some warnings/errors from testsuite
2016-10-12 10:36:57 +02:00
Simon Giraudot
6b17b65705
Update manual with latest review
2016-10-12 09:18:45 +02:00
Simon Giraudot
60377f2f10
Bugfix: update outdated method name
2016-10-11 14:22:34 +02:00
Simon Giraudot
8fbacbcf11
Add clear_properties() method
2016-10-11 09:08:58 +02:00
Simon Giraudot
62578b554c
Update doc with latest review
2016-10-11 08:54:27 +02:00
Simon Giraudot
de818c427e
Fixed operator<<
2016-09-30 10:02:40 +02:00
Simon Giraudot
e877b0f688
Move stream operators to IO
2016-09-28 11:15:29 +02:00