org.jzy3d.plot3d.rendering.ordering
Class DefaultOrderingStrategy
- java.lang.Object
-
- org.jzy3d.plot3d.rendering.ordering.AbstractOrderingStrategy
-
- org.jzy3d.plot3d.rendering.ordering.DefaultOrderingStrategy
-
- All Implemented Interfaces:
- java.util.Comparator<AbstractDrawable>
public class DefaultOrderingStrategy extends AbstractOrderingStrategy
The default ordering strategy let drawables be displayed in their original order and as thus no computation cost.
-
-
Constructor Summary
Constructors Constructor and Description DefaultOrderingStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description intcompare(AbstractDrawable o1, AbstractDrawable o2)doublescore(AbstractDrawable drawable)Returns a score for ranking this drawable among other drawables of the scenegraph.doublescore(Coord3d coord)-
Methods inherited from class org.jzy3d.plot3d.rendering.ordering.AbstractOrderingStrategy
getCamera, getGl, getGlu, getTransform, getView, setAll, setCamera, setGl, setGlu, setTransform, setView, sort
-
-
-
-
Method Detail
-
compare
public int compare(AbstractDrawable o1, AbstractDrawable o2)
-
score
public double score(AbstractDrawable drawable)
Description copied from class:AbstractOrderingStrategyReturns a score for ranking this drawable among other drawables of the scenegraph.- Specified by:
scorein classAbstractOrderingStrategy
-
score
public double score(Coord3d coord)
- Specified by:
scorein classAbstractOrderingStrategy
-
-
DMelt 3.0 © DataMelt by jWork.ORG