Skip to content

v0.1.19

Choose a tag to compare

@github-actions github-actions released this 20 Apr 04:01
· 193 commits to main since this release
014ae20

GeometryOps v0.1.19

Diff since v0.1.18

  • Introduces a new SpatialTreeInterface module that provides an interface for spatial trees, built somewhat on top of AbstractTrees.jl. Currently it is implemented for SortTileRecursiveTree.jl and the FlatNoTree wrapper.
    • Provides functionality to query any tree that satisfies the interface, with an arbitrary predicate, and to perform a dual-tree query ("query" => "depth-first search").
    • Allows any extent-like thing by default via the node_extent interface function, so this could also accept e.g. S2 cell collections or spherical caps.
  • Introduces a new module LoopStateMachine that allows a function called within a loop to cause statements like continue, break, or return x to be executed. See the module page for more information.
    The module includes:
    • Action struct for representing different control flow actions
    • @controlflow macro for processing actions within loops
    • Support for :continue, :break, :return, and :full_return actions
  • Introduces new convenience functions to access edges of polygons, like eachedge, to_edgelist, and edge_extents, as well as lazy, nonallocating variants.

Merged pull requests: