T
- public class OctreePointIterator<T> extends OctreeIterator<T>
OctreeIterator
that iterates towards a single point
stored in the tree. All other values are ignored.OctreeIterator.Intersection
Constructor and Description |
---|
OctreePointIterator(Octree<T> tree,
int x,
int y,
int z) |
OctreePointIterator(Octree<T> tree,
IntVector3 point) |
Modifier and Type | Method and Description |
---|---|
protected OctreeIterator.Intersection |
intersect()
Override to handle the intersection with the search space.
|
void |
reset(int x,
int y,
int z)
Resets the iterator and points it to a different point
|
get, getNode, getParentNode, getScale, getX, getY, getZ, hasNext, isDataNode, isInitialState, next, put, remove, reset, search
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
public OctreePointIterator(Octree<T> tree, IntVector3 point)
public void reset(int x, int y, int z)
x
- y
- z
- protected OctreeIterator.Intersection intersect()
OctreeIterator
OctreeIterator.getX()
and OctreeIterator.getNode()
provide information
about what is being tested right now.intersect
in class OctreeIterator<T>
Copyright © 2019. All rights reserved.