Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RTree

type RTree interface {
	// Search will perform an intersection search of the given
	// rectangle and return any rectangles that intersect.
	Search(Rectangle) Rectangles
	// Len returns in the number of items in the RTree.
	Len() uint64
	// Dispose will clean up any objects used by the RTree.
	Dispose()
	// Delete will remove the provided rectangles from the RTree.
	Delete(...Rectangle)
	// Insert will add the provided rectangles to the RTree.
	Insert(...Rectangle)
}

    RTree defines an object that can be returned from any subpackage of this package.

    type Rectangle

    type Rectangle interface {
    	// LowerLeft describes the lower left coordinate of this rectangle.
    	LowerLeft() (int32, int32)
    	// UpperRight describes the upper right coordinate of this rectangle.
    	UpperRight() (int32, int32)
    }

      Rectangle describes a two-dimensional bound.

      type Rectangles

      type Rectangles []Rectangle

        Rectangles is a typed list of Rectangle.

        Source Files

        Directories

        Path Synopsis
        Package hilbert implements a Hilbert R-tree based on PALM principles to improve multithreaded performance.
        Package hilbert implements a Hilbert R-tree based on PALM principles to improve multithreaded performance.