Interface S2ShapeFactory

  • All Superinterfaces:
    ShapeFactory

    public interface S2ShapeFactory
    extends ShapeFactory
    Shape factory for Spatial contexts that support S2 geometry. It is an extension of Spatial4j ShapeFactory.
    • Method Detail

      • getS2CellShape

        Shape getS2CellShape​(S2CellId cellId)
        Factory method for S2 cell shapes.
        Parameters:
        cellId - The S2 cell id
        Returns:
        the shape representing the cell.