WorldOctantIterator
Implements:
- Iterator ,
- Iterable
A world octant iterator.
Constructor Summary
| Public Constructor | ||
| public |
constructor(world: WorldOctree, lod: Number) Constructs a new octant iterator. |
|
Method Summary
| Public Methods | ||
| public |
Returns this iterator. |
|
| public |
next(): IteratorResult Iterates over the octants. |
|
| public |
reset(): KeyIterator Resets this iterator. |
|
| public |
Called when this iterator will no longer be run to completion. |
|
Public Constructors
public constructor(world: WorldOctree, lod: Number) source
Constructs a new octant iterator.
Params:
| Name | Type | Attribute | Description |
| world | WorldOctree | An octree. |
|
| lod | Number |
|
The LOD grid to consider. |
Public Methods
public next(): IteratorResult source
Iterates over the octants.
Return:
| IteratorResult | The next key. |
