Class ADT.CritBit.FloatTree()->_get_iterator
- Description
Iterator class for FloatTree trees. Supports iterating over ranges with arbitrary stepping and direction.
This is used by default when calling
foreach
on an object of FloatTree. Inforeach
the iterator runs over all elements from the first to the last.- See also
Iterator for a description of the interface.
- Method
create
ADT.CritBit.FloatTree._get_iterator ADT.CritBit.FloatTree._get_iterator(
void
|int
step
,void
|mixed
start
,void
|mixed
stop
)- Description
Returns an iterator object that runs from
start
tostop
using a stepsize ofstep
. The arguments default to1
,tree->first()
andtree->last()
, respectively.