public CachedFeatureCollection(Guid guid, IQueryFilter filter) { _guid = guid; _filter = filter; _myThread = Thread.CurrentThread; if (_filter is ISpatialFilter && ((ISpatialFilter)_filter).Geometry != null) { _tree = new BinarySearchTree2(((ISpatialFilter)_filter).Geometry.Envelope, 20, 200, 0.55, null); } _features = new Dictionary <long, List <IFeature> >(); _features.Add((long)0, new List <IFeature>()); }
public BinaryTree2Builder2(IEnvelope envelope, int maxLevels, int maxPerNode, double split_ratio) : base(envelope, maxLevels, maxPerNode, split_ratio) { _searchTree = new BinarySearchTree2(envelope, maxLevels, maxPerNode, split_ratio, null); }
public BinaryTree2Builder2(IEnvelope envelope, int maxLevels, int maxPerNode) : base(envelope, maxLevels, maxPerNode) { _searchTree = new BinarySearchTree2(envelope, maxLevels, maxPerNode, base.SPLIT_RATIO, null); }