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.
Click to show internal directories.
Click to hide internal directories.