Gets a reference to the underly data that this matrix is viewing.
Namespace:
CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 5.1.0.0
Syntax
| C# |
|---|
public FloatDataBlock DataBlock { get; set; } |
| Visual Basic (Declaration) |
|---|
Public Property DataBlock As FloatDataBlock |
| Visual C++ |
|---|
public: property FloatDataBlock^ DataBlock { FloatDataBlock^ get (); void set (FloatDataBlock^ value); } |
Remarks
Other objects may be using this data. Use with caution.
A pointer to the array of floats may by obtained as follows:
CopyC#
A pointer to the array of floats may by obtained as follows:
FloatDataBlock block = matrix.DataBlock.data;
float *pData = &(block.Data[block.Offset]);