Skip to content

Commit

Permalink
update SpatialIndex interface to pass orb.Point as pointer
Browse files Browse the repository at this point in the history
  • Loading branch information
thisisaaronland committed Oct 7, 2021
1 parent 77cde4d commit ef93d4a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions spatial.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ import (
type SpatialIndex interface {
IndexFeature(context.Context, []byte) error
RemoveFeature(context.Context, string) error
PointInPolygon(context.Context, orb.Point, ...Filter) (spr.StandardPlacesResults, error)
PointInPolygonCandidates(context.Context, orb.Point, ...Filter) ([]*PointInPolygonCandidate, error)
PointInPolygonWithChannels(context.Context, chan spr.StandardPlacesResult, chan error, chan bool, orb.Point, ...Filter)
PointInPolygonCandidatesWithChannels(context.Context, chan *PointInPolygonCandidate, chan error, chan bool, orb.Point, ...Filter)
PointInPolygon(context.Context, *orb.Point, ...Filter) (spr.StandardPlacesResults, error)
PointInPolygonCandidates(context.Context, *orb.Point, ...Filter) ([]*PointInPolygonCandidate, error)
PointInPolygonWithChannels(context.Context, chan spr.StandardPlacesResult, chan error, chan bool, *orb.Point, ...Filter)
PointInPolygonCandidatesWithChannels(context.Context, chan *PointInPolygonCandidate, chan error, chan bool, *orb.Point, ...Filter)
Disconnect(context.Context) error
}

Expand Down

0 comments on commit ef93d4a

Please sign in to comment.