case class GridLocation(northLatitude: Double, southLatitude: Double, eastLongitude: Double, westLongitude: Double, rows: Int, columns: Int) extends ReferencingLocation with Product with Serializable

A grid of rectangles.

A grid is defined in terms of a base rectangle and a number of rows and columns. The number of rows and columns describe how the base rectangle is replicated to define the grid. It is multiplied to the north by the the number of rows and to the east by the number of columns.

For example (X denotes the base rectangle):

North (rows)
    ^
    |   +-----+-----+
    | 3 |     |     |
    |   +-----+-----+
    | 2 |     |     |
    |   +-----+-----+
    | 1 |XXXXX|     |
    |   +-----+-----+
    |      1     2
    +-------------------> East (columns)

rows

The number of rows in the grid.

columns

The number of columns in the grid.

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

Instance Constructors

  1. new GridLocation(box: BoundingBoxHolder, rows: Int, columns: Int)
  2. new GridLocation(northLatitude: Double, southLatitude: Double, eastLongitude: Double, westLongitude: Double, rows: Int, columns: Int)

    rows

    The number of rows in the grid.

    columns

    The number of columns in the grid.

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 baseRectangle: RectangleLocation
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @IntrinsicCandidate()
  7. val columns: Int
  8. val eastLongitude: Double
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def getBaseRectangle: RectangleLocation
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  12. def getColumns: Int
  13. def getEastLongitude: Double
  14. def getNorthLatitude: Double
  15. def getRectangles(projection: GeoProjection): List[List[RectangleLocation]]

    Returns all rectangles that are part of this grid.

    Returns all rectangles that are part of this grid.

    The coordinates of the remaining rectangles are calculated using the base rectangles as the reference. The north-south and east-west distances of the base are calculated using the given projection. These distances and the projection are then used to extrapolate the base rectangles.

    Following the example in the class description, a list like [ [(1,1), (1,2)], [(2,1), (2,2)], [(3,1), (3,2)] ] would be returned.

    returns

    A sequence containing one sequence for each row in this grid. The first sequence is the southernmost one. Each row sequence contains one rectangles per column, where the first is the westernmost.

  16. def getRows: Int
  17. def getSouthLatitude: Double
  18. def getWestLongitude: Double
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. val northLatitude: Double
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  24. def rectangles(projection: GeoProjection): IndexedSeq[IndexedSeq[RectangleLocation]]

    Returns all rectangles that are part of this grid.

    Returns all rectangles that are part of this grid.

    The coordinates of the remaining rectangles are calculated using the base rectangles as the reference. The north-south and east-west distances of the base are calculated using the given projection. These distances and the projection are then used to extrapolate the base rectangles.

    Following the example in the class description, a list like [ [(1,1), (1,2)], [(2,1), (2,2)], [(3,1), (3,2)] ] would be returned.

    returns

    A sequence containing one sequence for each row in this grid. The first sequence is the southernmost one. Each row sequence contains one rectangles per column, where the first is the westernmost.

  25. val rows: Int
  26. val southLatitude: Double
  27. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. val westLongitude: Double

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from ReferencingLocation

Inherited from AnyRef

Inherited from Any

Ungrouped