AtomIndexIterator
Date: 2019-10-22

org.jmol.api

## Interface AtomIndexIterator

- All Known Implementing Classes:
    AtomIteratorWithinModel, AtomIteratorWithinModelSet, UnitCellIterator

      public interface AtomIndexIterator

  note: YOU MUST RELEASE THE ITERATOR

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addAtoms(javajs.util.BS bsResult)`
    `float` | `foundDistance2()`
    `javajs.util.P3` | `getPosition()`
    `boolean` | `hasNext()`
    `int` | `next()`
    `void` | `release()`
    `void` | `setCenter(javajs.util.T3 center, float distance)`
    `void` | `setModel(ModelSet modelSet, int modelIndex, int zeroBase, int atomIndex, javajs.util.T3 center, float distance, RadiusData rd)`

- - ### Method Detail

    - #### setModel

          void setModel(ModelSet modelSet,
                        int modelIndex,
                        int zeroBase,
                        int atomIndex,
                        javajs.util.T3 center,
                        float distance,
                        RadiusData rd)

      Parameters:
        `modelSet` -
        `modelIndex` -
        `zeroBase` - an offset used in the AtomIteratorWithinSet only
        `atomIndex` -
        `center` -
        `distance` -
        `rd` -

    - #### setCenter

          void setCenter(javajs.util.T3 center,
                         float distance)

    - #### addAtoms

          void addAtoms(javajs.util.BS bsResult)

    - #### hasNext

          boolean hasNext()

    - #### next

          int next()

    - #### foundDistance2

          float foundDistance2()

    - #### getPosition

          javajs.util.P3 getPosition()

    - #### release

          void release()