Skip to content

Commit 4602dec

Browse files
committed
New documentation for triangular actions
1 parent 892286e commit 4602dec

File tree

8 files changed

+38
-5
lines changed

8 files changed

+38
-5
lines changed

docs/actions.md

Lines changed: 38 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,45 @@
99
However, in some configurations, flip action can lead to problematic configurations. That's why we choose to constraint flip action in these situations :
1010

1111
* **Boundary darts :** When a dart is on boundary of the mesh, we should'nt flip the edge. We can check this condition by looking if the dart to flip has a twin dart.
12-
* **Adjacency too high :** When nodes C and D already have an adjacency higher than 10, flip is possible.
13-
* **Configuration who tends to imply edge reversal**: To detect these situations, we look a the type of quad formed by the two adjacent faces, it means the **quad ADBC**.
12+
* **Adjacency too high :** When nodes C and D already have an adjacency higher than 10, flip is not possible.
13+
* **Configuration who tends to imply edge reversal**: To detect these situations, we look a the type of quad formed by the two adjacent faces, i.e. **quad ADBC**.
1414
* **concave quad:** When the quad is concave, flip operation necessarily lead to an edge reversal. We constraint it.
15-
Exemple:
1615

16+
<img src="img/actions/flip_c_bef.png" width="200"/>
17+
<img src="img/actions/flip_c_after.png" width="200"/>
18+
1719
* **triangular quad:** Avoid because it will create a flat triangle.
18-
Exemple:
20+
21+
<img src="img/actions/flip_before_tri.png" width="200"/>
22+
<img src="img/actions/flip_after_tri.png" width="200"/>
23+
24+
**The only configuration we accept is convexe quads**
25+
26+
## Split
27+
28+
The **split** operation split an inner edge adjacent to two triangles. A node is added in the middle of the edge and two faces are created.
29+
30+
<img src="img/actions/split.png" width="300"/>
31+
32+
However, in some configurations, split action can also lead to problematic configurations. That's why we choose to constraint split action in these situations :
33+
34+
* **Boundary darts :** When a dart is on boundary of the mesh, we decide to prohibit it. It can be possible if we add another boundary node, but we choose to not touch mesh boundaries. We can check this condition by looking if the dart to split has a twin dart.
35+
* **Adjacency too high :** When nodes C and D already have an adjacency higher than 10, split is not possible.
36+
* **Configuration who tends to imply null darts**: As other actions are restricted to not allow flat faces, or reversed faces, split action can be performed on each configuration, see figure xxx.
37+
38+
<img src="img/actions/split_concave.png" width="300"/>
39+
<img src="img/actions/split_triangular.png" width="300"/>
40+
41+
## Collapse
42+
43+
The **collapse** operation deletes an inner edge and also implies the deletion of its two adjacent faces F1 and F2.
44+
45+
<img src="img/actions/split.png" width="300"/>
46+
47+
However, in some configurations, collapse action can also lead to problematic configurations. That's why we choose to constraint collapse action in these situations :
48+
49+
* **Boundary darts :** When a dart is on boundary of the mesh, we decide to prohibit it. We choose to not touch mesh boundaries. We can check this condition by looking if the dart to split has a twin dart.
50+
* **Adjacency too high :** When nodes A already has an adjacency higher than 10, collapse is not possible.
51+
* **Configuration who tends to imply edge reversal**: To detect these situations, we look a the type of darts in the surrounding. When there are some darts with concave surrounding, collapse action can lead to edge reversal.
52+
1953

20-
**The only configuration we accept is convexe quads**
43.9 KB
Loading
46.7 KB
Loading

docs/img/actions/flip_c_after.png

47.9 KB
Loading

docs/img/actions/flip_c_bef.png

48.8 KB
Loading

docs/img/actions/split.png

34.4 KB
Loading

docs/img/actions/split_concave.png

35.9 KB
Loading
32.4 KB
Loading

0 commit comments

Comments
 (0)