Package com.google.common.geometry
Class S2ConvexHullQuery.OrderedCcwAround
java.lang.Object
com.google.common.geometry.S2ConvexHullQuery.OrderedCcwAround
- All Implemented Interfaces:
Comparator<S2Point>
- Enclosing class:
S2ConvexHullQuery
private static final class S2ConvexHullQuery.OrderedCcwAround
extends Object
implements Comparator<S2Point>
A comparator for sorting points in CCW around a central point "center".
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Field Details
-
center
-
-
Constructor Details
-
OrderedCcwAround
OrderedCcwAround(S2Point center)
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<S2Point>
-
lessThan
-