Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BboxFence ¶
type BboxFence struct {
// contains filtered or unexported fields
}
func NewBboxFence ¶
func NewBboxFence() *BboxFence
type BruteFence ¶
type BruteFence struct {
// contains filtered or unexported fields
}
func NewBruteFence ¶
func NewBruteFence() *BruteFence
func (*BruteFence) Add ¶
func (b *BruteFence) Add(feature *geo.Feature)
func (*BruteFence) Get ¶
func (b *BruteFence) Get(c geo.Coordinate) (matches []*geo.Feature)
func (*BruteFence) Size ¶
func (b *BruteFence) Size() int
type FlatCoverer ¶
type FlatCoverer struct {
*s2.RegionCoverer
}
func NewFlatCoverer ¶
func NewFlatCoverer(level int) *FlatCoverer
func (*FlatCoverer) InteriorCellUnion ¶
func (c *FlatCoverer) InteriorCellUnion(region s2.Region) s2.CellUnion
func (*FlatCoverer) InteriorCovering ¶
func (c *FlatCoverer) InteriorCovering(region s2.Region) (cover s2.CellUnion)
type LoopRegion ¶
func LoopRegionFromPoints ¶
func LoopRegionFromPoints(points []s2.Point) *LoopRegion
func (*LoopRegion) CapBound ¶
func (l *LoopRegion) CapBound() s2.Cap
func (*LoopRegion) ContainsCell ¶
func (l *LoopRegion) ContainsCell(cell s2.Cell) bool
func (*LoopRegion) IntersectsCell ¶
func (l *LoopRegion) IntersectsCell(cell s2.Cell) bool
Click to show internal directories.
Click to hide internal directories.