public class AtomIteratorWithinModel extends java.lang.Object implements AtomIndexIterator
| Modifier and Type | Field and Description |
|---|---|
private int |
atomIndex |
private Bspf |
bspf |
private CubeIterator |
bsptIter |
private java.util.BitSet |
bsSelected |
private float |
distanceSquared |
private boolean |
hemisphereOnly |
private int |
iNext |
private boolean |
isGreaterOnly |
private boolean |
isZeroBased |
private int |
modelIndex |
private boolean |
threadSafe |
private int |
zeroBase |
| Constructor and Description |
|---|
AtomIteratorWithinModel() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAtoms(java.util.BitSet bsResult)
turns this into a SPHERICAL iterator
for "within Distance" measures
|
float |
foundDistance2() |
boolean |
hasNext() |
(package private) void |
initialize(Bspf bspf,
java.util.BitSet bsSelected,
boolean isGreaterOnly,
boolean isZeroBased,
boolean hemisphereOnly,
boolean threadSafe)
############## ITERATOR SHOULD BE RELEASED #################
|
int |
next() |
void |
release() |
void |
set(int modelIndex,
int firstModelAtom,
int atomIndex,
javax.vecmath.Point3f center,
float distance) |
void |
set(javax.vecmath.Point3f center,
float distance) |
private CubeIterator bsptIter
private Bspf bspf
private boolean threadSafe
private boolean hemisphereOnly
private boolean isZeroBased
private int modelIndex
private int atomIndex
private int zeroBase
private float distanceSquared
private java.util.BitSet bsSelected
private boolean isGreaterOnly
private int iNext
void initialize(Bspf bspf, java.util.BitSet bsSelected, boolean isGreaterOnly, boolean isZeroBased, boolean hemisphereOnly, boolean threadSafe)
bspf - bsSelected - isGreaterOnly - isZeroBased - hemisphereOnly - TODOthreadSafe - public void set(int modelIndex,
int firstModelAtom,
int atomIndex,
javax.vecmath.Point3f center,
float distance)
set in interface AtomIndexIteratorfirstModelAtom - an offset used in the AtomIteratorWithinSet onlypublic void set(javax.vecmath.Point3f center,
float distance)
set in interface AtomIndexIteratorpublic boolean hasNext()
hasNext in interface AtomIndexIteratorpublic int next()
next in interface AtomIndexIteratorpublic float foundDistance2()
foundDistance2 in interface AtomIndexIteratorpublic void addAtoms(java.util.BitSet bsResult)
addAtoms in interface AtomIndexIteratorbsResult - public void release()
release in interface AtomIndexIterator