cz.cuni.jagrlib.testing
Class DepthSort.Face
java.lang.Object
cz.cuni.jagrlib.testing.DepthSort.Face
- All Implemented Interfaces:
- Comparable<DepthSort.Face>
- Enclosing class:
- DepthSort
protected class DepthSort.Face
- extends Object
- implements Comparable<DepthSort.Face>
Sorted-set item (Brep
face).
Field Summary |
protected double |
depth
Depth of the center-of-gravity. |
int |
id
Id of the face. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
id
public int id
- Id of the face.
depth
protected double depth
- Depth of the center-of-gravity.
DepthSort.Face
public DepthSort.Face(int face)
compareTo
public int compareTo(DepthSort.Face f)
- Natural ordering (depth).
- Specified by:
compareTo
in interface Comparable<DepthSort.Face>