Packages

class Z2SFC extends SpaceFillingCurve

z2 space-filling curve

Linear Supertypes
SpaceFillingCurve, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Z2SFC
  2. SpaceFillingCurve
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Z2SFC(precision: Int)

    precision

    number of bits used per dimension - note sum must be less than 64

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[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @IntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  9. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  10. def hexDecode(hex: String): Long

    Decodes a previously encoded z value from hex

    Decodes a previously encoded z value from hex

    hex

    hex string from hexEncode

    returns

    original z value

  11. def hexEncode(z: Long): String

    Encodes a z value into hex, bit-shifting left as necessary (2 unused leading bits) so that prefix matching works

    Encodes a z value into hex, bit-shifting left as necessary (2 unused leading bits) so that prefix matching works

    z

    z value

    returns

    hex-encoded string

  12. def hexEncode(x: Double, y: Double): String

    Encodes a z value into hex, bit-shifting left as necessary (2 unused leading bits) so that prefix matching works

    Encodes a z value into hex, bit-shifting left as necessary (2 unused leading bits) so that prefix matching works

    x

    x value

    y

    y value

    returns

    hex-encoded string

  13. def index(x: Double, y: Double, lenient: Boolean = false): Long
    Definition Classes
    Z2SFCSpaceFillingCurve
  14. def invert(z: Long): (Double, Double)
    Definition Classes
    Z2SFCSpaceFillingCurve
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. val lat: NormalizedDimension
  17. def lenientIndex(x: Double, y: Double): Long
    Attributes
    protected
  18. val lon: NormalizedDimension
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  22. val precision: Int
  23. def ranges(xy: Seq[(Double, Double, Double, Double)], precision: Int, maxRanges: Option[Int]): Seq[IndexRange]

    Gets ranges

    Gets ranges

    xy

    sequence of bounding boxes, in the form of (xmin, ymin, xmax, ymax)

    precision

    precision of the zvalues to consider, up to 64 bits

    maxRanges

    rough upper bound on the number of ranges to return

    Definition Classes
    Z2SFCSpaceFillingCurve
  24. def ranges(x: (Double, Double), y: (Double, Double), precision: Int, maxRanges: Option[Int]): Seq[IndexRange]
    Definition Classes
    SpaceFillingCurve
  25. def ranges(x: (Double, Double), y: (Double, Double), precision: Int): Seq[IndexRange]
    Definition Classes
    SpaceFillingCurve
  26. def ranges(x: (Double, Double), y: (Double, Double)): Seq[IndexRange]
    Definition Classes
    SpaceFillingCurve
  27. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  28. def toString(): String
    Definition Classes
    AnyRef → Any
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

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

Inherited from SpaceFillingCurve

Inherited from AnyRef

Inherited from Any

Ungrouped