GPKGCoverageDataSourcePixel

Objective-C

@interface GPKGCoverageDataSourcePixel : NSObject

Swift

class GPKGCoverageDataSourcePixel : NSObject

Contains values relevant to a source pixel location when finding a coverage data value

  • Pixel value of where the pixel fits into the source

    Declaration

    Objective-C

    @property (nonatomic) float pixel;

    Swift

    var pixel: Float { get set }
  • min

    Min pixel value

    Declaration

    Objective-C

    @property (nonatomic) int min;

    Swift

    var min: Int32 { get set }
  • max

    Max pixel value

    Declaration

    Objective-C

    @property (nonatomic) int max;

    Swift

    var max: Int32 { get set }
  • Offset between the two pixels

    Declaration

    Objective-C

    @property (nonatomic) float offset;

    Swift

    var offset: Float { get set }
  • Initialize

    Declaration

    Objective-C

    - (instancetype)initWithPixel:(float)pixel
                           andMin:(int)min
                           andMax:(int)max
                        andOffset:(float)offset;

    Swift

    init!(pixel: Float, andMin min: Int32, andMax max: Int32, andOffset offset: Float)

    Parameters

    pixel

    pixel value

    min

    min value

    max

    max value

    offset

    pixel offset

    Return Value

    new value source pixel