internal

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: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewNode

func NewNode(h int) *node

NewNode 新节点

func NewRTree

func NewRTree() *rtree

func NewRect

func NewRect(min, max Point) rect

Types

type Context

type Context = any

type Item

type Item interface {
	ID() uint
	Context() Context
	Rect() (Point, Point)
}

type Point

type Point struct {
	X int
	Y int
}

Jump to

Keyboard shortcuts

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