Skip to content

Commit da9f582

Browse files
authored
Skip duplicates by default (#218)
1 parent 9134c8e commit da9f582

24 files changed

+132
-77
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,5 @@ docs/Manifest.toml
99
/.vscode
1010
LocalPreferences.toml
1111
docs/src/applications/cell_simulation.mp4
12+
varying_weight_power.mp4
13+
varying_weight.mp4

NEWS.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## 1.6.4
4+
5+
- An error is no longer thrown for inputs with duplicate points. Instead, a warning is thrown and any duplicates are merged into the `skip_points` keyword argument. With this, `DuplicatePointsError` has been removed. To silence the new warning, use `DelaunayTriangulation.toggle_warn_on_dupes!()`.
6+
37
## 1.6.1
48
- Fix issue with clipping Voronoi tessellation dual to a single right-angled triangle. See [#207](https://github.com/JuliaGeometry/DelaunayTriangulation.jl/pull/207)
59

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "DelaunayTriangulation"
22
uuid = "927a84f5-c5f4-47a5-9785-b46e178433df"
33
authors = ["Daniel VandenHeuvel <[email protected]>"]
4-
version = "1.6.3"
4+
version = "1.6.4"
55

66
[deps]
77
AdaptivePredicates = "35492f91-a3bd-45ad-95db-fcad7dcfedb7"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ ax = Axis(fig[2, 3]; title = "Curve-Bounded", wh...); triplot!(ax, tr
124124
ax = Axis(fig[2, 4]; title = "Disjoint Curve-Bounded", wh...); triplot!(ax, tri8)
125125
ax = Axis(fig[3, 1]; title = "Weighted", wh...); triplot!(ax, tri9)
126126
ax = Axis(fig[3, 2]; title = "Power Diagram", wh...); voronoiplot!(ax, vorn10)
127-
ax = Axis(fig[3, 3]; title = "Generic Clipped Voronoi", wh...); voronoiplot!(ax, vorn11)
127+
ax = Axis(fig[3, 3]; title = "Clipped Voronoi", wh...); voronoiplot!(ax, vorn11, color=:white, strokewidth = 4)
128128
```
129129

130130
![](readme.png)

docs/src/api/triangulation.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ refine!
1212
retriangulate
1313
convert_boundary_points_to_indices
1414
check_args
15+
toggle_warn_on_dupes!
1516
get_points
1617
get_triangles
1718
get_boundary_nodes
4.79 KB
Loading
4.84 KB
Loading
-97 Bytes
Loading

docs/src/figures/voronoi_ex_1.png

-93 Bytes
Loading

docs/src/figures/voronoi_ex_2.png

-755 Bytes
Loading

0 commit comments

Comments
 (0)