iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
SCIMeshIndexCalculator
@interface SCIMeshIndexCalculator : SCIIndexCalculator
Helper class which helps to map 2D mesh.
-
Creates new instance of
SCIMeshIndexCalculatorclass.Declaration
Objective-C
- (nonnull instancetype)initWithUSize:(NSInteger)uSize andVSize:(NSInteger)vSize uMin:(double)uMin uMax:(double)uMax vMin:(double)vMin vMax:(double)vMax;Swift
init(uSize: Int, andVSize vSize: Int, uMin: Double, uMax: Double, vMin: Double, vMax: Double)Parameters
uSizeThe U size of mesh to use for mapping.
vSizeThe V size of mesh to use for mapping.
uMinThe min U value used by mesh.
uMaxThe max U value used by mesh.
vMinThe min V value used by mesh.
vMaxThe max V value used by mesh.
-
Gets mesh value for specified U index.
Declaration
Objective-C
- (double)getUAt:(NSInteger)index;Swift
func getU(at index: Int) -> DoubleParameters
indexThe U index to use.
Return Value
The mesh value.
-
Gets mesh value for specified V index.
Declaration
Objective-C
- (double)getVAt:(NSInteger)index;Swift
func getV(at index: Int) -> DoubleParameters
indexThe V index to use.
Return Value
The mesh value.
View on GitHub