Skip to content

EdgeIndexBase

Unofficial

Base interface for the spatial edge index, extending the R-tree with custom insert/remove behavior.

Import:

import type { EdgeIndexBase } from '@obsidian-typings/obsidian-catalyst-latest';

Signature:

export interface EdgeIndexBase extends EdgeIndexBaseBase

Extends: EdgeIndexBaseBase

Methods

Method Returns Description
_adjustParentBBoxes(arg1, arg2, arg3) unknown Adjust parent bounding boxes after an insertion or modification.
(Inherited from EdgeIndexBaseBase)
_all(arg1, arg2) unknown Traverse all items in the tree, calling the callback for each.
(Inherited from EdgeIndexBaseBase)
_allDistMargin(arg1, arg2, arg3, arg4) unknown Calculate the distribution margin for all possible splits along an axis.
(Inherited from EdgeIndexBaseBase)
_build(arg1, arg2, arg3, arg4) unknown Build the R-tree from a set of items.
(Inherited from EdgeIndexBaseBase)
_chooseSplitAxis(arg1, arg2, arg3) unknown Choose the best axis for splitting an overflowing node.
(Inherited from EdgeIndexBaseBase)
_chooseSplitIndex(arg1, arg2, arg3) unknown Choose the best split index along the chosen axis.
(Inherited from EdgeIndexBaseBase)
_chooseSubtree(arg1, arg2, arg3, arg4) unknown Choose the best subtree for inserting a new item.
(Inherited from EdgeIndexBaseBase)
_condense(arg1) unknown Condense the tree by removing empty branches after a deletion.
(Inherited from EdgeIndexBaseBase)
_insert(arg1, arg2, arg3) unknown Internal insert method that places an item at the specified tree level.
(Inherited from EdgeIndexBaseBase)
_split(arg1, arg2) unknown Split an overflowing tree node into two nodes.
(Inherited from EdgeIndexBaseBase)
_splitRoot(arg1, arg2) unknown Split the root node when it overflows.
(Inherited from EdgeIndexBaseBase)
all() unknown Return all items stored in the index.
(Inherited from EdgeIndexBaseBase)
clear() unknown Remove all items from the index.
(Inherited from EdgeIndexBaseBase)
collides(arg1) unknown Check whether any items in the index collide with the given bounding box.
(Inherited from EdgeIndexBaseBase)
compareMinX(arg1, arg2) unknown Compare two items by their minimum X coordinate for sorting.
(Inherited from EdgeIndexBaseBase)
compareMinY(arg1, arg2) unknown Compare two items by their minimum Y coordinate for sorting.
(Inherited from EdgeIndexBaseBase)
fromJSON(arg1) unknown Load the index state from a JSON representation.
(Inherited from EdgeIndexBaseBase)
insert(arg1) unknown Insert an item into the spatial index.
load(arg1) unknown Bulk-load a set of items into the index.
(Inherited from EdgeIndexBaseBase)
remove(arg1) unknown Remove an item from the spatial index.
remove(arg1, arg2) unknown Remove an item from the index, optionally using a custom equality function.
(Inherited from EdgeIndexBaseBase)
search(arg1) unknown Search for all items that intersect the given bounding box.
(Inherited from EdgeIndexBaseBase)
toBBox(arg1) unknown Convert an item to its bounding box representation.
toJSON() unknown Serialize the index state to a JSON representation.
(Inherited from EdgeIndexBaseBase)

Links to this page: