Package org.apache.calcite.runtime
Interface SpaceFillingCurve2D
- All Known Implementing Classes:
HilbertCurve2D
public interface SpaceFillingCurve2D
Utilities for space-filling curves.
Includes code from LocationTech SFCurve, Copyright (c) 2015 Azavea.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classBase class for Range implementations.static classRange that is covered.static interfaceRange.static classLexicographic ordering forSpaceFillingCurve2D.IndexRange.static classUtilities forSpaceFillingCurve2D.IndexRange.static classData representing a range.static classRange that is not contained.static classA 2-dimensional point.static class -
Method Summary
Modifier and TypeMethodDescriptionlongtoIndex(double x, double y) toPoint(long i) toRanges(double xMin, double yMin, double xMax, double yMax, SpaceFillingCurve2D.RangeComputeHints hints)
-
Method Details
-
toIndex
long toIndex(double x, double y) -
toPoint
-
toRanges
List<SpaceFillingCurve2D.IndexRange> toRanges(double xMin, double yMin, double xMax, double yMax, SpaceFillingCurve2D.RangeComputeHints hints)
-