private static boolean areAllCollinear(List<VoronoiPoint> points) {

        if(points.size() < 2) {
            return true;
        }

        final VoronoiPoint a = points.get(0);
        final VoronoiPoint b = points.get(1);

        for(int i = 2; i < points.size(); i++) {

            VoronoiPoint c = points.get(i);

            if(getTurn(a, b, c) != Turn.COLLINEAR) {
                return false;
            }
        }

        return true;
    }
Returns true iff all points in <code>points</code> are collinear.

@param points the list of points.
@return       true iff all points in <code>points</code> are collinear.
vorolay/src/main/java/quatja/com/vorolay/GrahamScan.java