quadtree

package module
v0.0.0-...-8fa15da Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2023 License: BSD-2-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type QuadTree

type QuadTree struct {
	MaxPointsPerNode int

	BoundingBox    image.Rectangle
	BLeft, TLeft   *QuadTree
	BRight, TRight *QuadTree
	// contains filtered or unexported fields
}

func (*QuadTree) Draw

func (q *QuadTree) Draw(fpath string) error

func (*QuadTree) InsertPoint

func (q *QuadTree) InsertPoint(p image.Point)

func (*QuadTree) LowerLeft

func (q *QuadTree) LowerLeft() image.Rectangle

func (*QuadTree) LowerRight

func (q *QuadTree) LowerRight() image.Rectangle

func (*QuadTree) UpperLeft

func (q *QuadTree) UpperLeft() image.Rectangle

func (*QuadTree) UpperRight

func (q *QuadTree) UpperRight() image.Rectangle

func (QuadTree) Walk

func (q QuadTree) Walk() []QuadTree

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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