Class: kdNode
physics/fluid/kdTree.kdNode
Constructors
constructor
โข new kdNode(particle
, left
, right
)
Parameters
Name | Type |
---|---|
particle | Particle |
left | kdNode |
right | kdNode |
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
โข 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