public class DefaultOrderingStrategy extends AbstractOrderingStrategy
Constructor and Description |
---|
DefaultOrderingStrategy() |
Modifier and Type | Method and Description |
---|---|
int |
compare(AbstractDrawable o1,
AbstractDrawable o2) |
double |
score(AbstractDrawable drawable)
Returns a score for ranking this drawable among other drawables of the scenegraph.
|
double |
score(Coord3d coord) |
comparison, getCamera, getGl, getGlu, getTransform, getView, setAll, setCamera, setGl, setGlu, setTransform, setView, sort
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public int compare(AbstractDrawable o1, AbstractDrawable o2)
public double score(AbstractDrawable drawable)
AbstractOrderingStrategy
score
in class AbstractOrderingStrategy
public double score(Coord3d coord)
score
in class AbstractOrderingStrategy
Copyright © 2016. All rights reserved.