Skip to content

Commit 2077adf

Browse files
asinghvi17Rafael Schouten
andcommitted
Move imports to main file
Co-authored-by: Rafael Schouten <[email protected]>
1 parent e10351e commit 2077adf

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/GeometryOps.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ include("utils/NaturalIndexing.jl")
5151
using .NaturalIndexing
5252

5353

54+
# Load utility modules in
55+
using .NaturalIndexing, .SpatialTreeInterface, .LoopStateMachine
56+
5457
include("methods/angles.jl")
5558
include("methods/area.jl")
5659
include("methods/barycentric.jl")

src/utils/NaturalIndexing.jl

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import GeoInterface as GI
44
import Extents
55

66
using ..SpatialTreeInterface
7+
export NaturalTree, NaturallyIndexedRing, prepare_naturally
78

89
"""
910
NaturalLevel{E <: Extents.Extent}
@@ -228,8 +229,4 @@ function prepare_naturally(geom)
228229
end
229230
end
230231

231-
export NaturalTree, NaturallyIndexedRing, prepare_naturally
232-
233-
end # module NaturalIndexing
234-
235-
using .NaturalIndexing
232+
end # module NaturalIndexing

src/utils/SpatialTreeInterface/SpatialTreeInterface.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import GeoInterface as GI
77
import AbstractTrees
88

99
# public isspatialtree, isleaf, getchild, nchild, child_indices_extents, node_extent
10-
export query, do_query
10+
export query
1111
export FlatNoTree
1212

1313
# The spatial tree interface and its implementations are defined here.

0 commit comments

Comments
 (0)