class PolyhedronStereoSorter extends Object implements Comparator<Object[]>
| Modifier and Type | Field and Description |
|---|---|
private javajs.util.V3 |
align1 |
private javajs.util.V3 |
align2 |
private static float |
MIN_ALIGNED |
private javajs.util.V3 |
vRef |
private javajs.util.V3 |
vTemp |
| Constructor and Description |
|---|
PolyhedronStereoSorter() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(Object[] a,
Object[] b)
Comparison is by torsion angle, as set previously and passed in as Float a[1] and b[1].
|
(package private) boolean |
isAligned(javajs.util.T3 pt1,
javajs.util.T3 pt2,
javajs.util.T3 pt3)
check alignment, within 10 degrees is considered aligned.
|
(package private) void |
setRef(javajs.util.V3 vRef) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongprivate javajs.util.V3 vTemp
private javajs.util.V3 vRef
private javajs.util.V3 align1
private javajs.util.V3 align2
private static final float MIN_ALIGNED
void setRef(javajs.util.V3 vRef)
public int compare(Object[] a, Object[] b)
compare in interface Comparator<Object[]>boolean isAligned(javajs.util.T3 pt1,
javajs.util.T3 pt2,
javajs.util.T3 pt3)
pt1 - pt2 - pt3 -