Package org.jmol.bspt
Class PointIterator
java.lang.Object
org.jmol.bspt.PointIterator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic int
withinDistPoints
(float distance, javajs.util.P3 pt, javajs.util.P3[] ap3, javajs.util.P3[] ap31, javajs.util.BS bsSelected, Object[] ret) carry out various functions of the within() script function
-
Constructor Details
-
PointIterator
public PointIterator()
-
-
Method Details
-
withinDistPoints
public static int withinDistPoints(float distance, javajs.util.P3 pt, javajs.util.P3[] ap3, javajs.util.P3[] ap31, javajs.util.BS bsSelected, Object[] ret) carry out various functions of the within() script function- Parameters:
distance
- 0 for closest onlypt
- if not null and pt.x == Float.NaN, this is an internal comparison, to return a "cleaned" list of pointsap3
- the list of points, requiredap31
- a second list of points, optionalbsSelected
- TODOret
- null, "", int[], Lst, or P3 - Returns:
- T.nada, T.string, T.array, T.list, T.point
-