public void TestOctTree() { MCvPoint3D32f[] pts = new MCvPoint3D32f[] { new MCvPoint3D32f(1, 2, 3), new MCvPoint3D32f(2, 3, 4), new MCvPoint3D32f(4, 5, 6), new MCvPoint3D32f(2, 2, 2) }; using (Octree tree = new Octree(pts, 10, 10)) { MCvPoint3D32f[] p = tree.GetPointsWithinSphere(new MCvPoint3D32f(0, 0, 0), 5); int i = p.Length; } }