v0.1.19
GeometryOps v0.1.19
- 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_extentinterface 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, orreturn xto be executed. See the module page for more information.
The module includes:Actionstruct for representing different control flow actions@controlflowmacro for processing actions within loops- Support for
:continue,:break,:return, and:full_returnactions
- Introduces new convenience functions to access edges of polygons, like
eachedge,to_edgelist, andedge_extents, as well as lazy, nonallocating variants.
Merged pull requests:
- Spatial tree interface (#297) (@asinghvi17)
- New version (#299) (@asinghvi17)