|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jzy3d.plot3d.rendering.ordering.AbstractOrderingStrategy org.jzy3d.plot3d.rendering.ordering.BarycentreOrderingStrategy
public class BarycentreOrderingStrategy
The BarycentreOrderingStrategy
compare two AbstractDrawable
s by computing
their respective distances to the Camera
, which must be referenced prior to any
comparison.
Constructor Summary | |
---|---|
BarycentreOrderingStrategy()
|
Method Summary | |
---|---|
int |
compare(AbstractDrawable d1,
AbstractDrawable d2)
|
Methods inherited from class org.jzy3d.plot3d.rendering.ordering.AbstractOrderingStrategy |
---|
getCamera, getGl, getGlu, getTransform, setAll, setCamera, setGl, setGlu, setTransform, sort |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Comparator |
---|
equals |
Constructor Detail |
---|
public BarycentreOrderingStrategy()
Method Detail |
---|
public int compare(AbstractDrawable d1, AbstractDrawable d2)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |