geotrellis.geometry.grid

GridPoint

case class GridPoint(x: Int, y: Int) extends Ordered[GridPoint] with Product with Serializable

this represents an (x,y) point coordinate. arguably we should just use an (Int, Int) tuple for this, but it's kind of nice to be able to do pt2.x instead of pt2._1

Linear Supertypes
Serializable, Serializable, Product, Equals, Ordered[GridPoint], Comparable[GridPoint], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. GridPoint
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Ordered
  7. Comparable
  8. AnyRef
  9. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new GridPoint(x: Int, y: Int)

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. def <(that: GridPoint): Boolean

    Definition Classes
    Ordered
  5. def <=(that: GridPoint): Boolean

    Definition Classes
    Ordered
  6. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  8. def >(that: GridPoint): Boolean

    Definition Classes
    Ordered
  9. def >=(that: GridPoint): Boolean

    Definition Classes
    Ordered
  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. def canEqual(arg0: Any): Boolean

    Definition Classes
    GridPoint → Equals
  12. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  13. def compare(that: GridPoint): Int

    Definition Classes
    GridPoint → Ordered
  14. def compareTo(that: GridPoint): Int

    Definition Classes
    Ordered → Comparable
  15. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  16. def equal(that: GridPoint): Boolean

  17. def equals(arg0: Any): Boolean

    Definition Classes
    GridPoint → Equals → AnyRef → Any
  18. def finalize(): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  19. final def getClass(): java.lang.Class[_]

    Definition Classes
    AnyRef → Any
  20. def hashCode(): Int

    Definition Classes
    GridPoint → AnyRef → Any
  21. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  22. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  23. final def notify(): Unit

    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  25. def productArity: Int

    Definition Classes
    GridPoint → Product
  26. def productElement(arg0: Int): Any

    Definition Classes
    GridPoint → Product
  27. def productIterator: Iterator[Any]

    Definition Classes
    Product
  28. def productPrefix: String

    Definition Classes
    GridPoint → Product
  29. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  30. def toString(): String

    Definition Classes
    GridPoint → AnyRef → Any
  31. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  32. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  33. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  34. val x: Int

  35. val y: Int

Deprecated Value Members

  1. def productElements: Iterator[Any]

    Definition Classes
    Product
    Annotations
    @deprecated
    Deprecated

    (Since version 2.8.0) use productIterator instead

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Ordered[GridPoint]

Inherited from Comparable[GridPoint]

Inherited from AnyRef

Inherited from Any