Uses of Class
com.google.common.geometry.S2PointIndex.Entry
-
Uses of S2PointIndex.Entry in com.google.common.geometry
Fields in com.google.common.geometry declared as S2PointIndex.EntryModifier and TypeFieldDescriptionprivate final S2PointIndex.Entry
<T> S2ClosestPointQuery.Result.pointData
private final S2PointIndex.Entry<T>[]
S2ClosestPointQuery.tmpPoints
Temporary storage for index entries that are of interest during query processing.Fields in com.google.common.geometry with type parameters of type S2PointIndex.EntryModifier and TypeFieldDescriptionprivate final List
<S2PointIndex.Entry<Data>> S2PointIndex.entries
private S2Iterator
<S2PointIndex.Entry<T>> S2ClosestPointQuery.iter
The iterator for the last-known state of the index.Methods in com.google.common.geometry that return S2PointIndex.EntryModifier and TypeMethodDescriptionstatic <Data> S2PointIndex.Entry
<Data> S2PointIndex.createEntry
(S2Point point, Data data) Convenience method to create an index entry from the given point and data value.S2ClosestPointQuery.Result.entry()
Methods in com.google.common.geometry that return types with arguments of type S2PointIndex.EntryModifier and TypeMethodDescriptionS2PointIndex.iterator()
Returns a new iterator over the cells of this index, after sorting entries by cell ID if any modifications have been made since the last iterator was created.Methods in com.google.common.geometry with parameters of type S2PointIndex.EntryModifier and TypeMethodDescriptionvoid
S2PointIndex.add
(S2PointIndex.Entry<Data> entry) Adds a new entry to the index.int
S2PointIndex.Entry.compareTo
(S2PointIndex.Entry<Data> other) private void
S2ClosestPointQuery.maybeAddResult
(S2PointIndex.Entry<T> entry, S2ClosestPointQuery.Target target) boolean
S2PointIndex.remove
(S2PointIndex.Entry<Data> entry) Removes the given entry from the index, and returns whether the given entry was present and removed.Method parameters in com.google.common.geometry with type arguments of type S2PointIndex.EntryModifier and TypeMethodDescriptionprivate boolean
S2ClosestPointQuery.addCell
(S2CellId id, S2Iterator<S2PointIndex.Entry<T>> iter, boolean seek, S2ClosestPointQuery.Target target) Processes the cell atid
, adding the contents of the cell immediately, or if there are too many points, adding it to the queue to be subdivided.Constructors in com.google.common.geometry with parameters of type S2PointIndex.EntryModifierConstructorDescriptionprivate
Result
(S1ChordAngle distance, S2PointIndex.Entry<T> pointData)