
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
SCIMeshIndexCalculator
class.Declaration
Objective-C
- (nonnull instancetype)initWithUSize:(NSInteger)uSize andVSize:(NSInteger)vSize uMin:(double)uMin uMax:(double)uMax vMin:(double)vMin vMax:(double)vMax;
Parameters
uSize
The U size of mesh to use for mapping.
vSize
The V size of mesh to use for mapping.
uMin
The min U value used by mesh.
uMax
The max U value used by mesh.
vMin
The min V value used by mesh.
vMax
The max V value used by mesh.
-
Gets mesh value for specified U index.
Declaration
Objective-C
- (double)getUAt:(NSInteger)index;
Parameters
index
The U index to use.
Return Value
The mesh value.
-
Gets mesh value for specified V index.
Declaration
Objective-C
- (double)getVAt:(NSInteger)index;
Parameters
index
The V index to use.
Return Value
The mesh value.