Sébastien Loriot
ab48f63e30
update latest cmake version tested
2021-11-09 10:58:47 +01:00
Mael Rouxel-Labbé
8166579e55
Merge branch 'PM-Fix_pmaps_reference_types-GF' into PM-Fix_pmaps_reference_types_master-GF
2021-10-11 19:58:07 +02:00
Mael Rouxel-Labbé
590ddf8015
Various fixes for pmaps:
...
- Use `value_type` when the returned type is not a reference
- Enforce `reference = value_type` if the returned type is not
a reference (to avoid `typename PM::reference r = get(m, k)`,
which will take a ref to a temporary if the `reference`
typedef is an actualy reference)
- Do not use `put_get_helper` if the property map is not a `lvalue`
**mutable** property map: the `put()` is `map[k] = v`, which
is broken if `operator[]` does not return a reference
- The concept `boost::lvalue_property_map_tag` requires `operator[](key)`,
not a reference in `get(map, key)`. You can have a readable property map
returning a reference through its `get(map, key)`, but if there is
no `operator[]`, it's just a `boost::readable_property_map_tag`
- Some const correctness to avoid copying maps with state
or heavy keys in `get(map, key)` / `put(map, key, value)`
- Base the category of a wrapping pmap on what it offers instead
of just forwarding the base property map's category
- Tried to do something like mutable lvalue pmap:
* `value_type& operator[](key&)`
* `ref get(map, const key&)`
* `put(map, const key&, const value_type&)`
and non-mutable lvalue pmap:
* `const value_type& operator[](const key&)`
* `ref get(map, const key&)`
but not everything fits properly...
2021-10-08 15:38:47 +02:00
Sébastien Loriot
8a0b290478
char* -> string
2021-10-05 17:42:25 +02:00
Sébastien Loriot
efbd86df7f
extra manual fixes
2021-10-05 17:42:21 +02:00
Sébastien Loriot
6dad5b6922
rename file
2021-10-04 11:00:40 +02:00
Sébastien Loriot
8350dea94a
char* -> std::string
2021-10-04 09:49:24 +02:00
Sébastien Loriot
47028cd184
automatically move data files in data dir + update paths
...
Done for OFF/OBJ/STL/XYZ/PWN/PLY
2021-10-04 09:42:49 +02:00
Sebastien Loriot
1bd8e07743
Merge pull request #5851 from maxGimeno/PMP-Add_a_visitor_to_orient_polygon_soup-maxGimeno
...
PMP: Add a visitor to the orientation function
2021-08-30 10:45:41 +02:00
Sébastien Loriot
cc3db6bf60
rename variable
2021-08-09 10:43:08 +02:00
Sébastien Loriot
b539d4a301
extend the visitor to report non-manifold vertex in an umbrella without nm edge
2021-08-05 18:13:35 +02:00
Sébastien Loriot
bc1fe892d8
remove const&
2021-08-02 10:40:12 +02:00
Sébastien Loriot
d2a3f35d03
replace point -> vertex
2021-08-02 10:05:59 +02:00
Sebastien Loriot
a16105d548
fix phrasing
...
Co-authored-by: Mael <mael.rouxel.labbe@geometryfactory.com>
2021-08-02 09:58:54 +02:00
Maxime Gimeno
c99fdebafe
add a non_manifold_vertex() function to the visitor
2021-07-30 12:17:06 +02:00
Maxime Gimeno
e52775f943
Documentation
2021-07-29 11:32:35 +02:00
Maxime Gimeno
2e3ebb1916
Add a visitor to the example
2021-07-29 10:13:05 +02:00
Dmitry Anisimov
d37eb48ade
using new OFF reader from IO
2021-06-18 14:59:26 +02:00
Dmitry Anisimov
aaf55dbaa0
Merge remote-tracking branch 'maxGimeno/PMP-compare_faces_from_meshes-maxGimeno' into gsoc2019-PMPHDist-martinskrodzki
2021-06-18 14:45:24 +02:00
Dmitry Anisimov
859bae9036
sebastien review
2021-06-18 14:44:09 +02:00
Maxime Gimeno
553445a771
Changes after review 1
2021-05-26 11:16:09 +02:00
Maxime Gimeno
acd6bb3c57
Fix namespace and remove unused typedef
2021-05-20 09:00:29 +02:00
Maxime Gimeno
797c5ad08b
Merge remote-tracking branch 'cgal/master' into PMP-compare_faces_from_meshes-maxGimeno
2021-05-20 08:58:24 +02:00
Dmitry Anisimov
c4e23b5ced
tested with different concurrency tags, cleanup, added empty test for the new function
2021-05-05 15:29:48 +02:00
Dmitry Anisimov
3c0fc281e8
more optimizations, using boost any and factoring out kd tree, adding metis check
2021-05-05 13:17:23 +02:00
Sébastien Loriot
fb6f703b55
IO namespace for files in IO directories
2021-05-04 14:36:06 +02:00
Dmitry Anisimov
5fe5bb049c
Update Polygon_mesh_processing/examples/Polygon_mesh_processing/hausdorff_bounded_error_distance_example.cpp
...
Co-authored-by: Sebastien Loriot <sebastien.loriot@cgal.org>
2021-04-30 09:27:21 +02:00
Dmitry Anisimov
7fd291c588
added input-dependent infinity value + assertions
2021-04-29 17:43:00 +02:00
Sébastien Loriot
d4e7879464
make the code work with different input mesh types
2021-04-29 15:45:06 +02:00
Sébastien Loriot
93855b1af1
Merge PMP-compare_faces_from_meshes-maxGimeno into gsoc2019-PMPHDist-martinskrodzki
2021-04-29 10:36:22 +02:00
Sébastien Loriot
b4787adc19
allow difference mesh types
2021-04-29 10:35:26 +02:00
Laurent Rineau
c091c7f86e
Merge pull request #5532 from lrineau/Kernel_23-Do_interesect__without_division-GF
...
Remove operator/ from CGAL::Mpzf and implement Do_intersect_3 with RT only (without division)
2021-04-28 15:24:15 +02:00
Dmitry Anisimov
a2f460c9d6
Merge branch 'master' into gsoc2019-PMPHDist-martinskrodzki
2021-04-27 18:37:32 +02:00
Dmitry Anisimov
95ab1a57a0
tests moved to the test folder
2021-04-27 11:22:55 +02:00
Dmitry Anisimov
d5e1c1fdd9
shorter bunny test
2021-04-26 15:38:06 +02:00
Dmitry Anisimov
4cf4e2c50a
return a pair of realizing triangles, still to be discussed
2021-04-26 15:21:58 +02:00
Dmitry Anisimov
69c48308cc
added test for realizing triangles, updated how the bounds are stored, removed useless types
2021-04-26 13:04:59 +02:00
Dmitry Anisimov
f92e24f9c2
now we can return realizing triangles
2021-04-23 16:01:32 +02:00
Dmitry Anisimov
1b892e0558
subdivision tested - it works
2021-04-23 15:41:57 +02:00
Dmitry Anisimov
6bf1966012
partially fixed issue for match faces + added minimum example for that issue
2021-04-23 14:37:58 +02:00
Dmitry Anisimov
33d2f1073a
optimized AABB tree calls
2021-04-21 11:48:56 +02:00
Dmitry Anisimov
4ebbaba856
added bunny benchmarks versus original paper
2021-04-19 14:00:03 +02:00
Maxime Gimeno
c49152359c
update max version of cmake and announce the new minimal in CHANGE.md
2021-04-15 15:08:54 +02:00
Dmitry Anisimov
50fc1cabd9
faster queries for close meshes, now traversal traits initial bounds depend on error_bound
2021-04-09 18:19:54 +02:00
Dmitry Anisimov
63db510aef
epeck support, fixed bug with infinity value
2021-04-09 16:03:55 +02:00
Dmitry Anisimov
dc9e958503
removed some asserts and types, added const, make it compile with epeck, but epeck gives wrong results
2021-04-09 12:35:18 +02:00
Dmitry Anisimov
410b03bc1f
added z-shaped test
2021-04-09 10:46:01 +02:00
Dmitry Anisimov
a255f692dc
matching faces finished, still needs several more tests
2021-04-08 17:07:13 +02:00
Dmitry Anisimov
0333778b96
added face matching, not finished
2021-04-08 16:22:32 +02:00
Dmitry Anisimov
3b7931dcd9
added timings test
2021-04-08 15:50:49 +02:00