Class

org.locationtech.geomesa.utils.geotools

GridSnap

Related Doc: package geotools

Permalink

class GridSnap extends AnyRef

Snaps points to cells of a defined grid

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. GridSnap
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new GridSnap(env: Envelope, xSize: Int, ySize: Int)

    Permalink

    env

    bounding envelope

    xSize

    number of x cells in the grid

    ySize

    number of y cells in the grid

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def bresenhamLine(x0: Int, y0: Int, x1: Int, y1: Int): Iterator[(Int, Int)]

    Permalink

    Generate a sequence of snapped points between two given snapped coordinates using Bresenham's Line Algorithm.

    Generate a sequence of snapped points between two given snapped coordinates using Bresenham's Line Algorithm. Will not return any duplicate points, and will always include the start and end points

    x0

    x0

    y0

    y0

    x1

    x1

    y1

    y1

  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. lazy val envelope: Geometry

    Permalink
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  13. def i(x: Double): Int

    Permalink

    Computes the column index of an X ordinate.

    Computes the column index of an X ordinate.

    x

    the X ordinate

    returns

    the column index

  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. def j(y: Double): Int

    Permalink

    Computes the column index of an Y ordinate.

    Computes the column index of an Y ordinate.

    y

    the Y ordinate

    returns

    the column index

  16. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. def snap(x: Double, y: Double): (Double, Double)

    Permalink
  20. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  21. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  22. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. def x(i: Int): Double

    Permalink

    Computes the X ordinate of the i'th grid column.

    Computes the X ordinate of the i'th grid column.

    i

    the index of a grid column

    returns

    the X ordinate of the column

  26. def y(j: Int): Double

    Permalink

    Computes the Y ordinate of the i'th grid row.

    Computes the Y ordinate of the i'th grid row.

    j

    the index of a grid row

    returns

    the Y ordinate of the row

Inherited from AnyRef

Inherited from Any

Ungrouped