Uses of Class
com.google.common.geometry.S2ClosestPointQuery.Result
-
Uses of S2ClosestPointQuery.Result in com.google.common.geometry
Methods in com.google.common.geometry that return S2ClosestPointQuery.ResultModifier and TypeMethodDescriptionS2ClosestPointQuery.findClosestPoint(S2Point target) Convenience method that returns the closest point to the given target point, or null if no points satisfy theS2ClosestPointQuery.getMaxDistance()andS2ClosestPointQuery.getRegion()criteria.Methods in com.google.common.geometry that return types with arguments of type S2ClosestPointQuery.ResultModifier and TypeMethodDescriptionS2ClosestPointQuery.findClosestPoints(S2Point target) Returns the closest points totargetthat satisfy theS2ClosestPointQuery.getMaxDistance(),S2ClosestPointQuery.getMaxPoints(), andS2ClosestPointQuery.getRegion()criteria, ordered by increasing distance.S2ClosestPointQuery.findClosestPointsToEdge(S2Point a, S2Point b) Returns the closest points to the given edge AB.Method parameters in com.google.common.geometry with type arguments of type S2ClosestPointQuery.ResultModifier and TypeMethodDescriptionvoidS2ClosestPointQuery.findClosestPoints(List<S2ClosestPointQuery.Result<T>> results, S2Point target) AsS2ClosestPointQuery.findClosestPoints(S2Point), but sorts the results and adds them at the end of the given list.voidS2ClosestPointQuery.findClosestPointsToEdge(List<S2ClosestPointQuery.Result<T>> results, S2Point a, S2Point b) AsS2ClosestPointQuery.findClosestPointsToEdge(S2Point, S2Point), but adds results to the given list.