private void Init(Point topLeft, Point bottomRight, int level, int maxLevel, SpatialTreeNode parent, SpatialTreeIndex spatialTreeIndex) { SpatialIndexMembers = new Dictionary <SpatialObjectKey, List <ISpatialIndexMember> >(); TopLeft = topLeft; BottomRight = bottomRight; Level = level; MaxLevel = maxLevel; _parent = parent; _spatialTreeIndex = spatialTreeIndex; }
public SpatialTreeNode(Point topLeft, Point bottomRight, int level, int maxLevel, SpatialTreeIndex spatialTreeIndex) { Init(topLeft, bottomRight, level, maxLevel, null, spatialTreeIndex); }
private SpatialTreeNode(Point topLeft, Point bottomRight, int level, int maxLevel, SpatialTreeNode parent, SpatialTreeIndex spatialTreeIndex) { Init(topLeft, bottomRight, level, maxLevel, parent, spatialTreeIndex); }