Releases: JuliaGeometry/DelaunayTriangulation.jl
Releases · JuliaGeometry/DelaunayTriangulation.jl
v1.6.1
DelaunayTriangulation v1.6.1
Merged pull requests:
- Fix refimages (#204) (@DanielVandH)
- 1.11 (#205) (@DanielVandH)
- Fix issue with clipped Voronoi tessellation for a single right-angled triangle (#207) (@DanielVandH)
Closed issues:
- Make
liang_barsky
public (#202)
v1.6.0
DelaunayTriangulation v1.6.0
- Define
reverse
forAbstractParametricCurve
s, making it easier to reverse the orientation of a curve. See #195. - Fixed an issue with
LineSegment
not returning the exact endpoints att=1
, which can be problematic when joining boundary nodes. This has been fixed. See #195. - Introduced
is_linear
to fix issues with boundary enrichment of domains withLineSegment
s. In particular,LineSegment
s are no longer enriched. See #195. orientation_markers
now usesuniquetol
instead ofunique
for the final set of markers (it already did it for the intermediate markers). See #195.- For large
Tuple
s, functions likeeval_fnc_at_het_tuple_two_elements
are problematic and allocate more than their non-type-stable counterparts. To get around this, forTuple
s of lengthN > 32
, the non-type-stable version is used. See #195. - Fixed issue with
use_barriers
when a ghost edge is selected at random during point location. See #196. - Introduced the (currently internal) function
get_positive_curve_indices
for finding curves with positive orientation in aTriangulation
. See #196. is_exterior_curve
,is_interior_curve
,num_exterior_curves
, andis_disjoint
are now defined based onget_positive_curve_indices
rather thanget_exterior_curve_indices
. See #196.- PrecompileTools.jl is now used. See #200.
- Introduced the (currently internal) function
get_positive_curve_indices
for finding curves with positive orientation in aTriangulation
. #196. PointLocationHistory
was not marked as public. This has been fixed. See #198.- Fixed an issue with missing docstrings and duplicate docstrings in the documentation. See #198.
copy
anddeepcopy
are now correctly implemented forPolygonTree
s andPolygonHierarchy
s. See #199- Implemented
copy
anddeepcopy
forTriangulation
andVoronoiTessellation
. See #201. - Fixed a bug with
Triangulation
spolygon_hierarchy
not being correctly aliased with thepolygon_hierarchy
from theBoundaryEnricher
, and similarly for theboundary_edge_map
. See #201. - Implemented
==
forVoronoiTessellation
. See #201.
Merged pull requests:
- Implement
reverse
forAbstractParametricCurve
and other changes (#195) (@DanielVandH) - Fix issue with exterior ghost vertices (#196) (@DanielVandH)
- Add Makie tests (#197) (@DanielVandH)
- Fix issue with missing and duplicate docstrings (#198) (@DanielVandH)
- Fix
copy
anddeepcopy
forPolygonTree
s andPolygonHierarchy
s (#199) (@DanielVandH) - Use precompiletools.jl (#200) (@DanielVandH)
- Implement copy/deepcopy for Triangulation/VoronoiTessellation (#201) (@DanielVandH)
Closed issues:
- Delete_point doesn't work on the boundary (#104)
- Added points which are on the boundary are added to the constrained segments (#105)
- Add Makie.jl's reftests of
tricontourf
/voronoiplot
/triplot
into tests (#120) - Re-enable
deepcopy
onPolygonTree
s (#129) - Use tools like PrecompileTools, JET, and SnoopCompile to improve package quality (#134)
- Implement
copy
forTriangulation
(#142) - [Documentation]: Not all public functions are listed on the overview (#173)
- [BUG]:
find_triangle
not finding visible point (#188) - LineSegment should return the endpoints at t=0/t=1 (#194)
v1.5.1
v1.5.0
v1.4.2
DelaunayTriangulation v1.4.2
v1.4.1
DelaunayTriangulation v1.4.1
Merged pull requests:
- Software comparison (#191) (@DanielVandH)
Closed issues:
- [JOSS] Review comments (#189)
v1.4.0
DelaunayTriangulation v1.4.0
- Updated to AdaptivePredicates.jl v1.2, now allowing caches to be passed to the predicates involving
incircle
andorient3
. These are only useful when using theAdaptiveKernel()
kernel. Outside of triangulating, these caches are not passed by default, but can be provided. The functionsget_incircle_cache
andget_orient3_cache
can be used for this purpose on a triangulation (without a triangulation, refer to AdaptivePredicate.jl'sincircleadapt_cache
andorient3adapt_cache
). See #185.
Merged pull requests:
- Upgrade to AdaptivePredicates 1.2 (#185) (@DanielVandH)
v1.3.1
DelaunayTriangulation v1.3.1
Merged pull requests:
- Improve the README (#182) (@DanielVandH)
- Fix degenerate weighted triangulation (#184) (@DanielVandH)
Closed issues:
v1.3.0
This release finally introduces weighted triangulations and power diagrams, and also allows for users to provide a generic convex polygon to for clipping a Voronoi tessellation instead of only the convex hull.
- Weighted triangulations have now been implemented, as have power diagrams. The weights are also no longer restricted to
Float64
type. See #180. intersection_of_edge_and_bisector_ray
now accepts aproject
keyword argument. See #180.get_weight(w, i)
now returns, wheni
is not an integer, eitheri[3]
if it represents a point in space or0
. See #180.- Define
project_onto_line(p, q, r)
for projecting a pointr
onto the line defined byp
andq
. See #180. - Fixed a bug with clipping Voronoi tessellations in cases where there are no intersections of any Voronoi polygon with the convex hull. See #180.
voronoi
now accepts an optionalclip_polygon
keyword argument, defaulting tonothing
(corresponding to the convex hull), allowing for a convex clip polygon to be used instead of the convex hull. Theclip_polygon
should be aTuple
of the form(points, boundary_nodes)
where theboundary_nodes
give vertices ofpoints
adhering to the usual convention. Note that this could be used as an alternative to looping overget_polygon_coordinates
for clipping to a rectangle. See #180.centroidal_smooth
now acceptsclip_points
andclip_vertices
as keyword arguments, defaulting tonothing
(corresponding to the convex hull), to accommodate the newclip_polygon
keyword argument invoronoi
. See #180.has_multiple_curves
,has_multiple_sections
, andnum_boundary_edges
now have methods forTuple
s of integers. A bug was also fixed withnumber_type
of aTuple
ofTuple
s of coordinates returning theTuple
type instead of the coordinate type. See #180.
What's Changed
- Implement weighted Delaunay triangulations and power diagrams by @DanielVandH in #180
Full Changelog: v1.2.0...v1.3.0
v1.2.0
DelaunayTriangulation v1.2.0
Merged pull requests:
- Better default
set_point!
for matrices, and check for dimension of the user's points (#178) (@DanielVandH)
Closed issues:
- [BUG]: centroidal_smooth fails when applied to the triangulation of a sphere, Möbius strip, or Swiss roll. (#177)