Package org.jmol.bspt

Class PointIterator

java.lang.Object
org.jmol.bspt.PointIterator

public class PointIterator extends Object
  • Constructor Details

    • PointIterator

      public PointIterator()
  • Method Details

    • withinDistPoints

      public static int withinDistPoints(float distance, P3 pt, P3[] ap3, P3[] ap31, BS bsSelected, Object[] ret)
      carry out various functions of the within() script function
      Parameters:
      distance - 0 for closest only
      pt - if not null and pt.x == Float.NaN, this is an internal comparison, to return a "cleaned" list of points
      ap3 - the list of points, required
      ap31 - a second list of points, optional
      bsSelected - TODO
      ret - null, "", int[], Lst, or P3
      Returns:
      T.nada, T.string, T.array, T.list, T.point