Meshes.jl v0.18 is out with new algorithms, tons of improvements and bug fixes:
https://juliageometry.github.io/Meshes.jl/stable
A few breaking changes that deserve extra attention:
-
Coordinates of points constructed with
Integer
literals in expressions such asPoint(1, 2)
are converted toFloat64
. Most algorithms in geometric processing assume a continuousR^n
and passing discreteInteger
coordinates just leads toInexactError
everywhere. This will improve the experience of first-time users of the language who are not familiar with its rich type system. -
Intersection algorithms between two geometries
g1
andg2
now allow a first argument functionintersecttype(f, g1, g2)
that is applied to the return value to force type stability. This is Andrey’s trick to handle heterogeneous return types. Although we’ve implemented this feature in this release, we are still considering alternative designs for type-stable intersections in future releases. This issue is being discussed here.
If you would like to get involved, check the good first issue label in our issue tracker.