getX method
Returns the x component of the item at the given index.
Implementation
@override
double getX(int index) {
num x = this.data!.array[ index * this.data!.stride + this.offset ];
if ( this.normalized ) x = MathUtils.denormalize( x, this.array );
return x.toDouble();
}