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. def index(x: Double, y: Double, lenient: Boolean = false): Long
    Definition Classes
    Z2SFCSpaceFillingCurve
  2. def invert(z: Long): (Double, Double)
    Definition Classes
    Z2SFCSpaceFillingCurve
  3. val lat: NormalizedDimension
  4. val lon: NormalizedDimension
  5. 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
  6. def ranges(x: (Double, Double), y: (Double, Double), precision: Int, maxRanges: Option[Int]): Seq[IndexRange]
    Definition Classes
    SpaceFillingCurve
  7. def ranges(x: (Double, Double), y: (Double, Double), precision: Int): Seq[IndexRange]
    Definition Classes
    SpaceFillingCurve
  8. def ranges(x: (Double, Double), y: (Double, Double)): Seq[IndexRange]
    Definition Classes
    SpaceFillingCurve