rtree

package
v1.0.11 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 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

type Zone

type Zone interface {
}

func NewCirc

func NewCirc(p Point, r float64) Zone

func NewRect

func NewRect(min, max Point) Zone

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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