OrisGo/octree/objects does not have a README file
fn[T] BatchQuery::new(query : Result[T, GeometryError], offset~ : Int, capacity~ : Int) -> BatchQuery[T]pub struct QueryStats {
written : Int
total_hits : Int
completeness : Completeness
visited_nodes : Int
tested_objects : Int
} derive(Eq, Debug)pub struct StaticObjectIndex {
// private fields
}fn StaticObjectIndex::build(input : ArrayView[Entry], root~ : Cube, max_objects~ : Int, max_nodes~ : Int, max_depth? : Int, split_threshold? : Int) -> StaticObjectIndex raise BuildErrorfn StaticObjectIndex::node_object_id(self : StaticObjectIndex, id : Int, offset : Int) -> UInt raise QueryErrorfn StaticObjectIndex::query_aabb_batch_into(self : StaticObjectIndex, queries : ArrayView[BatchQuery[Aabb]], output : FixedArray[UInt], workspace : Workspace) -> Array[Result[QueryStats, GeometryError]] raise BatchErrorfn StaticObjectIndex::query_aabb_into(self : StaticObjectIndex, query : Aabb, output : FixedArray[UInt], workspace : Workspace, offset? : Int, capacity? : Int) -> QueryStats raise QueryErrorfn StaticObjectIndex::query_ray_candidates_batch_into(self : StaticObjectIndex, queries : ArrayView[BatchQuery[Ray]], output : FixedArray[UInt], workspace : Workspace) -> Array[Result[QueryStats, GeometryError]] raise BatchErrorfn StaticObjectIndex::query_ray_candidates_into(self : StaticObjectIndex, query : Ray, output : FixedArray[UInt], workspace : Workspace, offset? : Int, capacity? : Int) -> QueryStats raise QueryErrorfn StaticObjectIndex::visit(self : StaticObjectIndex, workspace : Workspace, visitor : (NodeInfo) -> Bool) -> Unit raise QueryErrorpub struct Workspace {
// private fields
}Install
Download zipA WASM-first static AABB octree with bounded construction, read-only queries and reusable query buffers.