astro
Class StarSextractor.PixelPosition
java.lang.Object
astro.StarSextractor.PixelPosition
- All Implemented Interfaces:
- Comparator<StarSextractor>
- Enclosing class:
- StarSextractor
public static class StarSextractor.PixelPosition
- extends Object
- implements Comparator<StarSextractor>
Returns a comparator that sorts sextractor stars depending on pixel
distance from a certain central pixel, stated at construct.
|
Field Summary |
private Point2D |
center
Pixel position of the central point. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
center
private Point2D center
- Pixel position of the central point.
StarSextractor.PixelPosition
public StarSextractor.PixelPosition(double ccdx,
double ccdy)
StarSextractor.PixelPosition
public StarSextractor.PixelPosition(Point2D cent)
compare
public int compare(StarSextractor s1,
StarSextractor s2)
- Compares the distances of the two star to the specified center.
- Specified by:
compare in interface Comparator<StarSextractor>