Skip to content

Commit c452b2d

Browse files
committed
include LoopStateMachine and STI
1 parent 97574d0 commit c452b2d

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
@@ -21,23 +21,30 @@ using GeoInterface
2121
using GeometryBasics
2222
using LinearAlgebra, Statistics
2323

24+
using GeometryBasics.StaticArrays
25+
2426
import Tables, DataAPI
25-
import GeometryBasics.StaticArrays
2627
import DelaunayTriangulation # for convex hull and triangulation
2728
import ExactPredicates
2829
import Base.@kwdef
2930
import GeoInterface.Extents: Extents
31+
import SortTileRecursiveTree
32+
import SortTileRecursiveTree: STRtree
3033

3134
const GI = GeoInterface
3235
const GB = GeometryBasics
3336

3437
const TuplePoint{T} = Tuple{T, T} where T <: AbstractFloat
3538
const Edge{T} = Tuple{TuplePoint{T},TuplePoint{T}} where T
3639

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

4249
include("methods/angles.jl")
4350
include("methods/area.jl")

0 commit comments

Comments
 (0)