Packages

case class HereTile(tileId: Long) extends Name with Product with Serializable

Name of heretile partition.

Linear Supertypes
Product, Equals, Name, KeyOrName, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HereTile
  2. Product
  3. Equals
  4. Name
  5. KeyOrName
  6. Serializable
  7. Serializable
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new HereTile(latitude: Double, longitude: Double, level: Int)

    Create a new tile that contains a given geographic point

    Create a new tile that contains a given geographic point

    latitude

    Latitude of a point, range [-90, +90]

    longitude

    Longitude of the point, range [-180, +180]

    level

    The level of the tile, 0 is the root tile, 1 the two hemispheres

  2. new HereTile(x: Int, y: Int, level: Int)

    Create a new tile

    Create a new tile

    x

    X-coordinate within the level

    y

    Y-coordinate within the level

    level

    The level of the tile, 0 is the root tile, 1 the two hemispheres

  3. new HereTile(quad: HereQuad)

    Create a new tile given a HereQuad

  4. new HereTile(tileId: Long)

Type Members

  1. type ParentType = HereTile

    The type of the parent partition name

    The type of the parent partition name

    Definition Classes
    HereTileName

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. def ancestor(level: Int): HereTile

    Returns the ancestor of the HereTile at a given level.

    Returns the ancestor of the HereTile at a given level.

    level

    The level of the ancestor. Must be a valid ancestor level, that is, a non-negative value that is less or equal to the current tiles level.

    returns

    The ancestor at that level.

  5. def ancestors: Seq[HereTile]

    The ancestors tiles, that is the chain of the parents until the root tile is reached

    The ancestors tiles, that is the chain of the parents until the root tile is reached

    Definition Classes
    HereTileName
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  8. def descendants(level: Int): Set[HereTile]

    Returns the descendants of the HereTile at a given level.

    Returns the descendants of the HereTile at a given level.

    level

    The level of the descendants. Must a valid descendant level, that is, a non-negative value that is greater or equal to the current tiles level.

    returns

    The descendants at that level.

  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def hashCode(): Int
    Definition Classes
    HereTile → AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. def level: Int

    The level of the tile in the tree, 0 is the root tile, 1 the two hemispheres and so on

    The level of the tile in the tree, 0 is the root tile, 1 the two hemispheres and so on

    Definition Classes
    HereTileName
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def neighbors(radius: Int): Set[HereTile]

    Returns the neighborhood of the HereTile at a certain radius.

    Returns the neighborhood of the HereTile at a certain radius. For example:

    - radius 0 returns the tile itself - radius 1 typically returns 9 tiles, unless we are around the north or south pole - radius 2 typically returns 25 tiles.

    radius

    The radius of the neighborhood, must be a non-negative value.

    returns

    The set of tiles in the neighborhood, at most (1+2*radius)² tiles.

    Note

    If a tile borders 180°/-180° longitude, all tiles to the east, west, north, and south are considered neighbors. If a tile borders 90° latitude, only tiles to the east, west, and south are considered neighbors. If a tile borders -90° latitude, only tiles to the east, west, and north are considered neighbors.

  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. def parent: Option[HereTile]

    The parent tile, when not already the root tile

    The parent tile, when not already the root tile

    Definition Classes
    HereTileName
  20. def quad: HereQuad

    Utility method to convert HereTile to HereQuad.

    Utility method to convert HereTile to HereQuad.

    returns

    A newly-allocalted HereQuad object with the same tileId

  21. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  22. val tileId: Long
  23. def toString(): String
    Definition Classes
    HereTile → AnyRef → Any
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  27. def x: Int

    X-coordinate of the tile within its level

  28. def y: Int

    Y-coordinate of the tile within its level

Inherited from Product

Inherited from Equals

Inherited from Name

Inherited from KeyOrName

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped