Class QuadTree<T>
A quadtree implementation.
Assembly: Advanced.Algorithms.dll
Syntax
public class QuadTree<T> : IEnumerable<Tuple<Point, T>>, IEnumerable
Type Parameters
Properties
|
Improve this Doc
View Source
Count
Declaration
public int Count { get; }
Property Value
Methods
|
Improve this Doc
View Source
Delete(Point)
Declaration
public void Delete(Point p)
Parameters
Type |
Name |
Description |
Point |
p |
|
|
Improve this Doc
View Source
GetEnumerator()
Declaration
public IEnumerator<Tuple<Point, T>> GetEnumerator()
Returns
|
Improve this Doc
View Source
Insert(Point, T)
Declaration
public void Insert(Point point, T value = null)
Parameters
Type |
Name |
Description |
Point |
point |
The co-ordinate.
|
T |
value |
The value associated with this co-ordinate if any.
|
|
Improve this Doc
View Source
RangeSearch(Rectangle)
Declaration
public List<Tuple<Point, T>> RangeSearch(Rectangle searchWindow)
Parameters
Returns
Explicit Interface Implementations
|
Improve this Doc
View Source
IEnumerable.GetEnumerator()
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
Implements