Skip to main content

Class: kdNode

physics/fluid/kdTree.kdNode

Constructors

constructor

โ€ข new kdNode(particle, left, right)

Parameters

NameType
particleParticle
leftkdNode
rightkdNode

Defined in

src/physics/fluid/kdTree.ts:10

Properties

left

โ€ข left: kdNode

Defined in

src/physics/fluid/kdTree.ts:7


particle

โ€ข particle: Particle

Defined in

src/physics/fluid/kdTree.ts:5


โ€ข right: kdNode

Defined in

src/physics/fluid/kdTree.ts:8

Methods

isLeaf

โ–ธ isLeaf(): boolean

Determines wether the node is a leaf node or not.

Returns

boolean

Wether the node is a leaf node or not

Defined in

src/physics/fluid/kdTree.ts:21