src/main/java/de/javagl/geom/Points.java
/**
     * Creates a comparator that compares points by the angle that the line
     * between the given center and the point has to the x-axis.
     * 
     * @param center The center
     * @return The comparator
     */
Creates a comparator that compares points by the angle that the line
between the given center and the point has to the x-axis.

@param center The center
@return The comparator
Creates a comparator that compares points by the angle that the line between the given center and the point has to the x - axis . @param center The center @return The comparator
public static Comparator<Point2D> byAngleComparator(
        Point2D center)
    {
        return byAngleComparator(center.getX(),  center.getY());
    }
public static Comparator < Point2D > byAngleComparator ( Point2D center ) { return byAngleComparator ( center . getX ( ) , center . getY ( ) ) ; }
Creates a comparator that compares points by the angle that the line
 between the given center and the point has to the x-axis.
Creates a comparator that compares points by the angle that the line between the given center and the point has to the x - axis .