|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectigeo.IDistanceComparator
public class IDistanceComparator
A class to define order of IVec in a specified direction to be used in sorting with ISort.
ISort
Field Summary | |
---|---|
IVec |
center
|
Constructor Summary | |
---|---|
IDistanceComparator()
|
|
IDistanceComparator(IVec center)
|
Method Summary | |
---|---|
int |
compare(IVec v1,
IVec v2)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public IVec center
Constructor Detail |
---|
public IDistanceComparator()
public IDistanceComparator(IVec center)
Method Detail |
---|
public int compare(IVec v1, IVec v2)
compare
in interface IComparator<IVec>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |