Packages

object S2Utilities

Enclosing objects for com.github.dmarcous.s2utils.s2.S2Utilities methods for handling S2Cells and related S2 family objects

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. S2Utilities
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. def getAllCellNeighbours(cellToken: String): List[S2CellId]

    Get a list of all cell's immediate neighbours on the same level

    Get a list of all cell's immediate neighbours on the same level

    cellToken

    S2Cell full token

    returns

    list of neighbours represented as S2CellId objects

  10. def getAllCellNeighbours(cell: S2Cell): List[S2CellId]

    Get a list of all cell's immediate neighbours on the same level

    Get a list of all cell's immediate neighbours on the same level

    cell

    S2Cell object

    returns

    list of neighbours represented as S2CellId objects

  11. def getAllCellNeighbours(cellId: S2CellId): List[S2CellId]

    Get a list of all cell's immediate neighbours on the same level

    Get a list of all cell's immediate neighbours on the same level

    cellId

    S2CellId object

    returns

    list of neighbours represented as S2CellId objects

  12. def getAllCellNeighboursTokens(cellToken: String): List[String]

    Get a list of all cell's immediate neighbours on the same level - full token representations

    Get a list of all cell's immediate neighbours on the same level - full token representations

    cellToken

    S2Cell full token

    returns

    list of neighbours represented as S2Cell full tokens

  13. def getAllCellNeighboursTokens(cell: S2Cell): List[String]

    Get a list of all cell's immediate neighbours on the same level - full token representations

    Get a list of all cell's immediate neighbours on the same level - full token representations

    cell

    S2Cell object

    returns

    list of neighbours represented as S2Cell full tokens

  14. def getAllCellNeighboursTokens(cellId: S2CellId): List[String]

    Get a list of all cell's immediate neighbours on the same level - full token representations

    Get a list of all cell's immediate neighbours on the same level - full token representations

    cellId

    S2CellId object

    returns

    list of neighbours represented as S2Cell full tokens

  15. def getCellCenter(cellToken: String): (Double, Double)

    Get center coordinate of cell (longitude, latitude)

    Get center coordinate of cell (longitude, latitude)

    cellToken

    S2Cell full token

    returns

    cell's center coordinate tuple (longitude, latitude)

  16. def getCellCenter(cell: S2Cell): (Double, Double)

    Get center coordinate of cell (longitude, latitude)

    Get center coordinate of cell (longitude, latitude)

    cell

    S2Cell object

    returns

    cell's center coordinate tuple (longitude, latitude)

  17. def getCellCenter(cellId: S2CellId): (Double, Double)

    Get center coordinate of cell (longitude, latitude)

    Get center coordinate of cell (longitude, latitude)

    cellId

    S2CellId object

    returns

    cell's center coordinate tuple (longitude, latitude)

  18. def getCellParent(cellToken: String): String

    Get immediate (current level - 1) containing cell (parent)

    Get immediate (current level - 1) containing cell (parent)

    cellToken

    full token string representation

    returns

    parent S2Cell full token

  19. def getCellParent(cellToken: String, level: Int): String

    Get containing cell (parent) at a given level

    Get containing cell (parent) at a given level

    cellToken

    full token string representation

    level

    containing S2Cell's level

    returns

    parent S2Cell full token

  20. def getCellParent(cell: S2Cell): S2Cell

    Get immediate (current level - 1) containing cell (parent)

    Get immediate (current level - 1) containing cell (parent)

    cell

    S2CellId object

    returns

    parent S2Cell object

  21. def getCellParent(cell: S2Cell, level: Int): S2Cell

    Get containing cell (parent) at a given level

    Get containing cell (parent) at a given level

    cell

    S2Cell object

    level

    containing S2Cell's level

    returns

    parent S2Cell object

  22. def getCellParent(cellId: S2CellId): S2CellId

    Get immediate (current level - 1) containing cell (parent)

    Get immediate (current level - 1) containing cell (parent)

    cellId

    S2CellId object

    returns

    parent S2CellId object

  23. def getCellParent(cellId: S2CellId, level: Int): S2CellId

    Get containing cell (parent) at a given level

    Get containing cell (parent) at a given level

    cellId

    S2CellId object

    level

    containing S2Cell's level

    returns

    parent S2CellId object

  24. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  25. def getLevelForArea(metricArea: Double): Int

    Get minimum cell level enclosing this metric area (level)

    Get minimum cell level enclosing this metric area (level)

    metricArea

    area in squared meters to be contained by returned level

    returns

    minimum cell level enclosing this metric area, such that each cell is approximately this area.

  26. def getS2CellFromFullToken(cellToken: String): S2Cell

    Get cell object from a unique representation (= full token) Full token is as string representation of the cell's ID as a "bigInt" numeric

    Get cell object from a unique representation (= full token) Full token is as string representation of the cell's ID as a "bigInt" numeric

    cellToken

    full token string representation

    returns

    S2Cell object

  27. def getS2CellFullToken(cell: S2Cell): String

    Get cell unique string representation (= full token) Full token is as string representation of the cell's ID as a "bigInt" numeric

    Get cell unique string representation (= full token) Full token is as string representation of the cell's ID as a "bigInt" numeric

    cell

    S2Cell object

    returns

    full token string representation

  28. def getS2CellFullToken(cellId: S2CellId): String

    Get cell unique string representation (= full token) Full token is as string representation of the cell's ID as a "bigInt" numeric

    Get cell unique string representation (= full token) Full token is as string representation of the cell's ID as a "bigInt" numeric

    cellId

    S2CellId object

    returns

    full token string representation

  29. def getS2CellIdFromFullToken(cellToken: String): S2CellId

    Get cell object from a unique representation (= full token) Full token is as string representation of the cell's ID as a "bigInt" numeric

    Get cell object from a unique representation (= full token) Full token is as string representation of the cell's ID as a "bigInt" numeric

    cellToken

    full token string representation

    returns

    S2CellId object

  30. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  31. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  32. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  33. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  34. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  35. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  36. def toString(): String
    Definition Classes
    AnyRef → Any
  37. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped