Skip to content

Commit 8809343

Browse files
committed
include LoopStateMachine and STI
1 parent 2bd4a45 commit 8809343

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

src/GeometryOps.jl

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,23 +18,30 @@ using GeoInterface
1818
using GeometryBasics
1919
using LinearAlgebra, Statistics
2020

21+
using GeometryBasics.StaticArrays
22+
2123
import Tables, DataAPI
22-
import GeometryBasics.StaticArrays
2324
import DelaunayTriangulation # for convex hull and triangulation
2425
import ExactPredicates
2526
import Base.@kwdef
2627
import GeoInterface.Extents: Extents
28+
import SortTileRecursiveTree
29+
import SortTileRecursiveTree: STRtree
2730

2831
const GI = GeoInterface
2932
const GB = GeometryBasics
3033

3134
const TuplePoint{T} = Tuple{T, T} where T <: AbstractFloat
3235
const Edge{T} = Tuple{TuplePoint{T},TuplePoint{T}} where T
3336

34-
include("types.jl")
35-
include("primitives.jl")
36-
include("utils.jl")
37-
include("not_implemented_yet.jl")
37+
include("types.jl") # backend / algorithm types like GEOS, PROJ, etc.
38+
include("primitives.jl") # moved to GeometryOpsCore
39+
include("not_implemented_yet.jl") # functions that are not implemented yet, but we want stubs for, or the implementations might be in extensions
40+
41+
# Include utility modules first!
42+
include("utils/LoopStateMachine/LoopStateMachine.jl") # Utils for functions that can tell the loop they run in to do something via the return value
43+
include("utils/SpatialTreeInterface/SpatialTreeInterface.jl") # Utils for spatial trees
44+
include("utils/utils.jl") # More general utility functions
3845

3946
include("methods/angles.jl")
4047
include("methods/area.jl")

0 commit comments

Comments
 (0)