MMKStylingBilinearFunctionMatrix
@interface MMKStylingBilinearFunctionMatrix : NSObject |
defines function func(zoom, tilt)
as func(zooms[x], tilts[y]) == points[x][y]
for all x in [0, zooms.size()), y in [0, tilts.size()) https://en.wikipedia.org/wiki/Bilinear_interpolation
Summary
Class methods
+ (nonnull MMKStylingBilinearFunctionMatrix *)bilinearFunctionMatrixWithZooms:(nonnull NSArray<NSNumber *> *)zooms |
Properties
@property (nonatomic, readonly, nonnull) NSArray<NSNumber *> *zooms; |
@property (nonatomic, readonly, nonnull) NSArray<NSNumber *> *tilts; |
@property (nonatomic, readonly, nonnull) NSArray<NSArray<NSNumber *> *> *points; |
Class methods
bilinearFunctionMatrixWithZooms:tilts:points:
+ (nonnull MMKStylingBilinearFunctionMatrix *)bilinearFunctionMatrixWithZooms:(nonnull NSArray<NSNumber *> *)zooms |
Properties
zooms
@property (nonatomic, readonly, nonnull) NSArray<NSNumber *> *zooms; |
Undocumented
tilts
@property (nonatomic, readonly, nonnull) NSArray<NSNumber *> *tilts; |
Undocumented
points
@property (nonatomic, readonly, nonnull) NSArray<NSArray<NSNumber *> *> *points; |
requires: points.size() == zooms.size() subpoints.size() == tilts.size() for all subpoints in points