# Package org.apache.lucene.spatial.util

package org.apache.lucene.spatial.util
Advanced spatial utilities.

- Related Packages
  Package
  Description
  org.apache.lucene.spatial
  Lucene advanced spatial search
- Classes
  Class
  Description
  CachingDoubleValueSource
  Caches the doubleVal of another value source in a HashMap so that it is computed only once.
  DistanceToShapeValueSource
  The distance from a provided Point to a Point retrieved from an ShapeValuesSource.
  ReciprocalDoubleValuesSource
  Transforms a DoubleValuesSource using the formula v = k / (v + k)
  ShapeAreaValueSource
  The area of a Shape retrieved from an ShapeValuesSource
  ShapeFieldCache<T extends org.locationtech.spatial4j.shape.Shape>
  Bounded Cache of Shapes associated with docIds.
  ShapeFieldCacheDistanceValueSource
  A DoubleValuesSource that returns the spatial distance between an input point and a document's points in `ShapeFieldCacheProvider`.
  ShapeFieldCacheProvider<T extends org.locationtech.spatial4j.shape.Shape>
  Provides access to a `ShapeFieldCache` for a given `LeafReader`.
  ShapeValuesPredicate
  Compares a shape from a provided `ShapeValuesSource` with a given Shape and sees if it matches a given `SpatialOperation` (the predicate).