Class XShapeCollection<S extends org.locationtech.spatial4j.shape.Shape>

java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<S>
org.locationtech.spatial4j.shape.ShapeCollection<S>
org.elasticsearch.common.geo.XShapeCollection<S>
All Implemented Interfaces:
Iterable<S>, Collection<S>, List<S>, org.locationtech.spatial4j.shape.Shape

public class XShapeCollection<S extends org.locationtech.spatial4j.shape.Shape> extends org.locationtech.spatial4j.shape.ShapeCollection<S>
Extends spatial4j ShapeCollection for points_only shape indexing support
  • Constructor Details

    • XShapeCollection

      public XShapeCollection(List<S> shapes, org.locationtech.spatial4j.context.SpatialContext ctx)
  • Method Details

    • pointsOnly

      public boolean pointsOnly()
    • setPointsOnly

      public void setPointsOnly(boolean pointsOnly)