Skip to content

Class: QuadTreeCell

Constructors

Properties

Methods

Constructors

constructor

new QuadTreeCell(aabox): QuadTreeCell

Parameters

NameType
aaboxQuadAABB

Returns

QuadTreeCell

Defined in

src/core/tree/quad/QuadTreeCell.ts:17

Properties

NUM_CHILDREN

Static NUM_CHILDREN: number = 4

Defined in

src/core/tree/quad/QuadTreeCell.ts:7


childCellIndices

childCellIndices: number[]

Defined in

src/core/tree/quad/QuadTreeCell.ts:9


nodeIndices

nodeIndices: number[]

Defined in

src/core/tree/quad/QuadTreeCell.ts:11


aabb

aabb: QuadAABB

Defined in

src/core/tree/quad/QuadTreeCell.ts:13


points

points: Vector3[]

Defined in

src/core/tree/quad/QuadTreeCell.ts:15

Methods

isLeaf

isLeaf(): boolean

Returns

boolean

Language

zh_CN Indicates if we contain triangles (if not then we should/might have children)

Defined in

src/core/tree/quad/QuadTreeCell.ts:36


clear

clear(): void

Returns

void

Defined in

src/core/tree/quad/QuadTreeCell.ts:40

Released under the MIT License