rtree

package
v1.6.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 13, 2023 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context = internal.Context

type Item

type Item = internal.Item

type Point

type Point = internal.Point

type RTree

type RTree interface {
	Insert(min, max Point, ctx Context) Item
	Delete(obj Item) (Context, bool)
	DeleteWithID(id uint) (any, bool)
	SearchOverlap(min, max Point, cb func(Item) bool)
	SearchOverlapAndOnEdge(min, max Point, cb func(Item) bool)
	HasOverlap(min, max Point) bool
	HasOverlapAndOnEdge(min, max Point) bool
	Scan(cb func(Item) bool)
}

func NewRTree

func NewRTree() RTree

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL