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
Modifier and TypeInterfaceDescriptionstatic class
Base class for Range implementations.static class
Range that is covered.static interface
Range.static class
Lexicographic ordering forSpaceFillingCurve2D.IndexRange
.static class
Utilities forSpaceFillingCurve2D.IndexRange
.static class
Data representing a range.static class
Range that is not contained.static class
A 2-dimensional point.static class
-
Method Summary
Modifier and TypeMethodDescriptionlong
toIndex
(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)
-