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
                                                                        tilts:(nonnull NSArray<NSNumber *> *)tilts
                                                                       points:(nonnull NSArray<NSArray<NSNumber *> *> *)points;

Properties

@property (nonatomic, readonly, nonnull) NSArray<NSNumber *> *zooms;
Undocumented

@property (nonatomic, readonly, nonnull) NSArray<NSNumber *> *tilts;
Undocumented

@property (nonatomic, readonly, nonnull) NSArray<NSArray<NSNumber *> *> *points;
requires: points

Class methods

bilinearFunctionMatrixWithZooms:tilts:points:

+ (nonnull MMKStylingBilinearFunctionMatrix *)bilinearFunctionMatrixWithZooms:(nonnull NSArray<NSNumber *> *)zooms
                                                                        tilts:(nonnull NSArray<NSNumber *> *)tilts
                                                                       points:(nonnull NSArray<NSArray<NSNumber *> *> *)points;


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