cz.cuni.jagrlib.testing
Class DepthSort.Face

java.lang.Object
  extended by cz.cuni.jagrlib.testing.DepthSort.Face
All Implemented Interfaces:
java.lang.Comparable<DepthSort.Face>
Enclosing class:
DepthSort

protected class DepthSort.Face
extends java.lang.Object
implements java.lang.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.
 
Constructor Summary
DepthSort.Face(int face)
           
 
Method Summary
 int compareTo(DepthSort.Face f)
          Natural ordering (depth).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

public int id
Id of the face.


depth

protected double depth
Depth of the center-of-gravity.

Constructor Detail

DepthSort.Face

public DepthSort.Face(int face)
Method Detail

compareTo

public int compareTo(DepthSort.Face f)
Natural ordering (depth).

Specified by:
compareTo in interface java.lang.Comparable<DepthSort.Face>