Package org.jmol.bspt

Class PointIterator


  • public class PointIterator
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      PointIterator()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static int withinDistPoints​(float distance, javajs.util.P3 pt, javajs.util.P3[] ap3, javajs.util.P3[] ap31, javajs.util.BS bsSelected, java.lang.Object[] ret)
      carry out various functions of the within() script function
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PointIterator

        public PointIterator()
    • Method Detail

      • withinDistPoints

        public static int withinDistPoints​(float distance,
                                           javajs.util.P3 pt,
                                           javajs.util.P3[] ap3,
                                           javajs.util.P3[] ap31,
                                           javajs.util.BS bsSelected,
                                           java.lang.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