Skip to content
forked from splitice/QuadTrees

High Performance Quad Tree Implementations for C# (Point, Rect and PointInv)

License

Notifications You must be signed in to change notification settings

VRage/QuadTrees

 
 

Repository files navigation

QuadTrees

Build Status

High Performance Quad Tree Implementations for C# (Point, Rect and PointInv)

Example

QuadTreeRect<QTreeObject> qtree = new QuadTreeRect<QTreeObject>();
qtree.AddRange(new List<QTreeObject>
{
	new QTreeObject(new RectangleF(10,10,10,10)), // Expected result
	new QTreeObject(new RectangleF(-1000,1000,10,10))
});

var list = new List<QTreeObject>();
qtree.GetObjects(new RectangleF(9, 9, 20, 20), list);

About

High Performance Quad Tree Implementations for C# (Point, Rect and PointInv)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 99.0%
  • Shell 1.0%