insert method

void insert(
  1. B bounds,
  2. T item
)

Implementation

void insert(B bounds, T item) {
  Assert.isTrue(!_built, "Cannot insert items into an STR packed R-tree after it has been built.");
  _itemBoundables!.add(ItemBoundable(bounds, item));
}