Package com.google.common.geometry
Class S2ClosestPointQuery.Result<T>
- java.lang.Object
-
- com.google.common.geometry.S2ClosestPointQuery.Result<T>
-
- All Implemented Interfaces:
Comparable<com.google.common.geometry.S2ClosestPointQuery.ChordComparable>
- Enclosing class:
- S2ClosestPointQuery<T>
public static class S2ClosestPointQuery.Result<T> extends Object
A query result paired with the distance to the query target. Natural order is by distance in descending order.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(com.google.common.geometry.S2ClosestPointQuery.ChordComparable other)S2PointIndex.Entry<T>entry()booleanequals(Object o)inthashCode()StringtoString()
-
-
-
Method Detail
-
entry
public S2PointIndex.Entry<T> entry()
-
compareTo
public int compareTo(com.google.common.geometry.S2ClosestPointQuery.ChordComparable other)
-
-