public static boolean isClockwise(final List<Geopoint> points) {
        if (points.size() < 3) {
            return false;
        }

        long sum = 0;
        Geopoint last = points.get(points.size() - 1);
        for (Geopoint curr : points) {
            sum += (long) (curr.getLongitudeE6() - last.getLongitudeE6()) * (curr.getLatitudeE6() + last.getLatitudeE6());
            last = curr;
        }

        return sum < 0;
    }
This constructor is specifically for creating objects with applied default style
main/src/main/java/cgeo/geocaching/models/geoitem/GeoPrimitive.java