public class ZoomingSpaceVisitorAdapter extends Object implements ZoomingNavigator
SpaceVisitor to serve as a ZoomingNavigator.| Constructor and Description |
|---|
ZoomingSpaceVisitorAdapter(IndexCalculator curve,
SpaceVisitor visitor) |
public ZoomingSpaceVisitorAdapter(IndexCalculator curve, SpaceVisitor visitor)
curve - space filling curvevisitor - adapteepublic boolean visit(int level,
BitVector index,
BitVector[] p)
visit in interface ZoomingNavigatorlevel - 0 <= level <= mMax. When level==mMax all
coordinates are zero.index - the index bits calculated from level mMax - 1 down to
to level; the remaining low order bits are guaranteed to be clear.
This parameter is owned by the caller and must not be modified by
ZoomingNavigator implementations.p - only bits from max(i, mMax - m[i]) (inclusive) to mMax (exclusive) are meaningful, and the other bits are guaranteed to be
zero. This parameter is fully owned by the caller and it must not be either
modified, or expected to stay the same over time.true if we want to see the children; false
otherwise. At the deepest level the return value is normally ignored since
there are no more children to show.Copyright © 2014. All Rights Reserved.