Package org.stianloader.stianknn
Class SpatialQueryArrayLegacy<E>
java.lang.Object
org.stianloader.stianknn.SpatialQueryArrayLegacy<E>
- All Implemented Interfaces:
SpatialIndex1NN<E>,SpatialIndexIterable<E>,SpatialIndexKNN<E>,SpatialRingIndex1NN<E>
@Deprecated
public class SpatialQueryArrayLegacy<E>
extends Object
implements SpatialRingIndex1NN<E>, SpatialIndexIterable<E>
Deprecated.
-
Constructor Summary
ConstructorsConstructorDescriptionSpatialQueryArrayLegacy(@NotNull Collection<@NotNull PointObjectPair<E>> points) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptioncreateIterator(float x, float y) Deprecated.Create an iterator that fetches the element close to the point defined by the parametersxandy.query1nn(float x, float y, float minDistSq, float maxDistSq) Deprecated.queryKnn(float x, float y) Deprecated.voidDeprecated.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.stianloader.stianknn.SpatialRingIndex1NN
query1nn
-
Constructor Details
-
SpatialQueryArrayLegacy
Deprecated.
-
-
Method Details
-
createIterator
Deprecated.Description copied from interface:SpatialIndexIterableCreate an iterator that fetches the element close to the point defined by the parametersxandy. The iterator will return the elements closest to the point first, then return the elements further away from the point.Note that the iterator may be inefficient when fetching large amounts of points, though it concretely depends on the implementation.
- Specified by:
createIteratorin interfaceSpatialIndexIterable<E>- Parameters:
x- The x component of the position of the point which will be the origin for the proximity evaluations.y- The y component of the position of the point which will be the origin for the proximity evaluations.- Returns:
- An iterator that iterates over the elements based on the proximity from the given point.
-
query1nn
Deprecated.- Specified by:
query1nnin interfaceSpatialRingIndex1NN<E>
-
queryKnn
Deprecated. -
queryKnn
Deprecated.- Specified by:
queryKnnin interfaceSpatialIndexKNN<E>
-