NChartInterpolationRange Class Reference

Inherits from NSObject
Declared in NChartInterpolationRange.h

Overview

The NChartInterpolationRange class provides properties to store points indices and interpolation parameter for the values of these points.

+ interpolationRangeWithLeft:right:t:

Create new instance of NChartInterpolationRange.

+ (NChartInterpolationRange *)interpolationRangeWithLeft:(NSInteger)left right:(NSInteger)right t:(double)t

Parameters

left
  • index of the first point in range.
right
  • index of the last point in range.
t
  • interpolation parameter.

Return Value

new instance of NChartInterpolationRange.

Declared In

NChartInterpolationRange.h

– initWithLeft:right:t:

Initialize instance of NChartInterpolationRange.

- (instancetype)initWithLeft:(NSInteger)left right:(NSInteger)right t:(double)t

Parameters

left
  • index of the first point in range.
right
  • index of the last point in range.
t
  • interpolation parameter.

Return Value

initialized instance of NChartInterpolationRange.

Declared In

NChartInterpolationRange.h

  left

Index of the first point in range.

@property (nonatomic, assign) NSInteger left

Declared In

NChartInterpolationRange.h

  right

Index of the last point in range.

@property (nonatomic, assign) NSInteger right

Declared In

NChartInterpolationRange.h

  t

Interpolation parameter.

@property (nonatomic, assign) double t

Declared In

NChartInterpolationRange.h