A KdTree3 organizes items with 3D axis-aligned boundaries into a fast spatial search index that
allows us efficiently search it for items whose boundaries intersect given boundaries and volumes.
This module provides the following functions to build KdTree3s:
createPrimsKdTree3: Creates a KdTree3 containing primitives from the given set of geometry arrays, organized by their coordinate 3D boundaries.
createSceneObjectPrimsKdTree3: Creates a KdTree3 containing primitives belonging to the given SceneObjects, organized by their World-space 3D boundaries.
createSceneObjectsKdTree3: Create a KdTree3 containing the given SceneObjects, organized by their World-space 3D boundaries.
This module provides the following functions to search KdTree3s:
searchKdTree3WithAABB: Finds the items that collide with a given 3D axis-aligned boundary (AABB).
xeokit 3D Collision Utilities
Spatial searches and collision testing with 3D k-d trees, rays and boundaries
A KdTree3 organizes items with 3D axis-aligned boundaries into a fast spatial search index that allows us efficiently search it for items whose boundaries intersect given boundaries and volumes.
This module provides the following functions to build KdTree3s:
This module provides the following functions to search KdTree3s:
With these components, applications can implement (at least):
Installation
Dependencies
Usage
Querying for SceneObjects that intersect a 3D World-space boundary: