Package toxi.geom.mesh.subdiv
Class FaceCountComparator
java.lang.Object
toxi.geom.mesh.subdiv.FaceCountComparator
- All Implemented Interfaces:
Comparator<WingedEdge>
Comparator used by
SubdivisionStrategy.getEdgeOrdering()
to define
the order of edges to be subdivided. This one prioritizes edges with the most
faces associated.-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
FaceCountComparator
public FaceCountComparator()
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<WingedEdge>
-