using System.Collections.Generic; namespace UnityEngine.ProBuilder.KdTree { interface IKdTree : IEnumerable> { bool Add(TKey[] point, TValue value); bool TryFindValueAt(TKey[] point, out TValue value); TValue FindValueAt(TKey[] point); bool TryFindValue(TValue value, out TKey[] point); TKey[] FindValue(TValue value); KdTreeNode[] RadialSearch(TKey[] center, TKey radius, int count); void RemoveAt(TKey[] point); void Clear(); KdTreeNode[] GetNearestNeighbours(TKey[] point, int count = int.MaxValue); int Count { get; } } }