Sébastien Loriot
6c7bee5d0a
fix conversion warnings
2016-12-09 14:14:08 +01:00
Sébastien Loriot
fac4a6add5
fix the report of polyline in the visitor
...
the 2 first nodes were always reported twice
2016-12-09 13:36:55 +01:00
Sébastien Loriot
804f878556
fix warnings
2016-12-08 15:22:04 +01:00
Sébastien Loriot
ac2faf9fe1
fix doc
2016-12-05 18:28:29 +01:00
Andreas Fabri
10bd9897f3
Compare with 0 in order to avoid a warning
2016-12-05 17:18:11 +01:00
Sébastien Loriot
c3e1309181
update from master branch
2016-12-05 14:37:29 +01:00
Sébastien Loriot
845317a9fb
fix doc and remove todo done
2016-12-05 14:32:19 +01:00
Sébastien Loriot
f83a620087
fix warnings
2016-12-05 14:09:04 +01:00
Laurent Rineau
49ffa5ed81
Merge pull request #1730 from MaelRL/PMP-Fix_border_halfedges_compilation
...
Fixed a compilation issue in PMP's border_halfedges()
2016-12-05 11:49:54 +01:00
Sébastien Loriot
56b8908dac
remove a todo
...
if we unmark intersection edge inside a coplanar patch, we will have something
not consistant with what is done is corefine(). For now I keep it like this
2016-12-05 11:12:47 +01:00
Sébastien Loriot
fb68b3a6c2
add implementation of does_bound_a_volume + test
2016-12-05 11:06:13 +01:00
Sébastien Loriot
7b727ea7cf
expose the internal AABB-tree class
...
that was a bug as the constructor taking an AABB-tree could
not be used otherwise
2016-12-02 16:11:48 +01:00
Sébastien Loriot
3dc7076b79
add an function to check inward orientation when extreme vertex is known
2016-12-02 16:10:29 +01:00
Sébastien Loriot
6bc8caac43
use safer property choosing mechanism
2016-12-02 11:35:18 +01:00
Laurent Rineau
a80fc35561
Merge pull request #1696 from MaelRL/PMP-Fix_border_halfedges
...
Fixed an implementation of PMP's border_halfedges()
2016-12-02 11:35:07 +01:00
Laurent Rineau
78ae3414e4
Merge pull request #1693 from janetournois/PMP-fixes_for_isotropic_remeshing_4.9-jtournois
...
PMP : fixes for isotropic remeshing
2016-12-02 11:34:51 +01:00
Laurent Rineau
9bb29f0c75
Merge pull request #1628 from MaelRL/PMP-Fix_self_intersections
...
Fixed self intersection tests
2016-12-02 11:34:38 +01:00
Laurent Rineau
e559968307
Merge pull request #1682 from sloriot/PMP-use_readable_pmap_api
...
Use readable property map API
2016-12-02 11:33:54 +01:00
Sébastien Loriot
46cdd7f7dc
add testsuite for corefine
2016-12-02 08:43:25 +01:00
Sébastien Loriot
820ebd8eee
fix warnings and ambiguity of copy_edge_mark
2016-12-01 15:16:57 +01:00
Sébastien Loriot
834869c533
add a convenience overload
2016-12-01 15:16:57 +01:00
Mael Rouxel-Labbé
bfbba26124
Fixed a compilation issue in PMP's border_halfedges()
...
Previous code did not compile if a face index map was not given
in named parameters, nor as an internal property map
2016-12-01 12:04:12 +01:00
Sébastien Loriot
853c156c10
Handle transfer of marks from input to output
2016-11-30 14:18:42 +01:00
Sébastien Loriot
2671c4c922
bugfix: use the backuped face as the patch border halfedge was set on-border
2016-11-30 14:18:00 +01:00
Sébastien Loriot
812bc885d5
add function that I forgot to port
2016-11-30 10:29:28 +01:00
Sébastien Loriot
bc719ad192
fix copy-paste error
2016-11-23 15:52:50 +01:00
Sébastien Loriot
6db2bff67b
handle call to corefinement functions with identical meshes
2016-11-23 15:48:00 +01:00
Sébastien Loriot
3f316c9596
fix warnings and add missing include directive
2016-11-23 14:35:55 +01:00
Jane Tournois
e5dcef0528
deal with surface patch indices during collapse
...
for checking that faces do not get inverted
2016-11-21 17:55:25 +01:00
Jane Tournois
5a2eaa96a0
use Patch_id(-1) as invalid patch id
2016-11-21 17:46:22 +01:00
Jane Tournois
0b4ecf6531
is_corner should return true for a dart
2016-11-21 14:51:08 +01:00
Jane Tournois
c28dc6f210
avoid conversion warning
2016-11-21 14:47:46 +01:00
Jane Tournois
8f8ccc3c39
fix the case where patch2 was not met yet
2016-11-18 17:44:10 +01:00
Jane Tournois
f1cb55bf80
deal with boundaries by skipping null_face
2016-11-17 16:29:03 +01:00
Mael Rouxel-Labbé
92b4a49e38
Documentation changes for PMP's border_halfedges()
2016-11-17 14:17:26 +01:00
Jane Tournois
fb1af78ab5
check orientation of faces surface patch per surface patch
2016-11-17 11:45:17 +01:00
Mael Rouxel-Labbé
0851d2b4e8
Fixed an implementation of PMP's border_halfedges() returning interior edges
...
and the corresponding documentation.
2016-11-16 11:22:35 +01:00
Jane Tournois
b29c578d19
fix the boundary case
...
once the no-inversion test has been performed, check that we don't have
a boundary problematic case
It would require to reswap, and break the border of the patch to be remeshed
2016-11-15 17:18:13 +01:00
Jane Tournois
e4f9f9fea7
check that relaxation does not produce an inverted face
...
it can happen close to the boundary, where things are naturally
more constrained
2016-11-15 17:17:53 +01:00
Jane Tournois
2e6d55f813
remove a todo
2016-11-15 17:17:32 +01:00
Jane Tournois
7be46604ec
fix collapse step
...
the inverse orientation test should also be performed on the border
2016-11-15 17:17:16 +01:00
Jane Tournois
e8adc69337
rename function to improve code readability
2016-11-15 17:17:04 +01:00
Jane Tournois
33ef17760f
avoid collapsing an isolated constrained edge in the "middle" of a patch
2016-11-15 17:16:39 +01:00
Sébastien Loriot
f128addaca
fix order of the parameters
2016-11-13 19:54:13 +01:00
Sébastien Loriot
5ec738fcd8
qualify a call to choose_param
2016-11-13 19:53:46 +01:00
Sébastien Loriot
b34d8cd6b8
use readable property map API
...
operator[]() is only required in Lvalue property map
2016-11-11 10:04:35 +01:00
Sébastien Loriot
478a40c9aa
add an undocumented function to remove border edges
...
this works even if it does not satisfy the link condition
2016-11-10 18:52:20 +01:00
Sébastien Loriot
1501b4400c
int -> std::size_t for node ids
2016-11-10 14:38:10 +01:00
Sébastien Loriot
d7c6d30def
directly use the halfedge used to create the points
2016-11-10 14:27:10 +01:00
Sébastien Loriot
48fa75f829
the halfedges reported for intersection on a vertex or an edge was incorrect
...
copy-paste error...
2016-11-10 14:22:22 +01:00