OctreeBlock<T>

Type parameters

  • T

Hierarchy

  • OctreeBlock

Index

Constructors

constructor

  • new OctreeBlock(minPoint: Vector3, maxPoint: Vector3, capacity: number, depth: number, maxDepth: number, creationFunc: function): OctreeBlock

Properties

blocks

blocks: Array<OctreeBlock<T>>

capacity

capacity: number

entries

entries: T[]

maxPoint

maxPoint: Vector3

minPoint

minPoint: Vector3

Methods

addEntries

  • addEntries(entries: T[]): void
  • Parameters

    • entries: T[]

    Returns void

addEntry

  • addEntry(entry: T): void
  • Parameters

    • entry: T

    Returns void

createInnerBlocks

  • createInnerBlocks(): void
  • Returns void

intersects

intersectsRay

select

Generated using TypeDoc