|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jzy3d.surfedit.surface.simple.AbstractOrderingStrategy
com.jzy3d.surfedit.surface.simple.BarycentreOrderingStrategy
public class BarycentreOrderingStrategy
Constructor Summary | |
---|---|
BarycentreOrderingStrategy()
|
Method Summary | |
---|---|
int |
compare(org.jzy3d.maths.PolygonArray p1,
org.jzy3d.maths.PolygonArray p2)
Operation must be: symetric: compare(a,b)=-compare(b,a) transitive: ((compare(x, y)>0) && (compare(y, z)>0)) implies compare(x, z)>0 true if all Drawables and the Camera don't change position! |
Methods inherited from class com.jzy3d.surfedit.surface.simple.AbstractOrderingStrategy |
---|
getCamera, getGl, getGlu, getTransform, setAll, setCamera, setGl, setGlu, setTransform, sort, sort, 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(org.jzy3d.maths.PolygonArray p1, org.jzy3d.maths.PolygonArray p2)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |