public static void RemoveNode(OctCell root, IOctNode node) { VisitTree(root, node.Bounds, (cell) => { if (cell.Contents != null) { cell.Contents.Remove(node); } }); }
public static void RemoveNode(OctCell root, IOctNode node) { VisitTree(root, node.Bounds, (cell) => { if (cell.Contents != null) cell.Contents.Remove(node); }); }
public static void InsertNode(OctCell root, IOctNode node, float leafSize) { BuildTree(root, node.Bounds, (cell) => { cell.Contents.Add(node); }, leafSize); }