toArray
fun toArray(array: MutableList<Double> = mutableListOf(), offset: Int = 0): MutableList<Double>(source)
Writes the 27 coefficient values into array, starting at offset, and returns it.
Return
An array with flat SH coefficients.
Parameters
array
The target array.
offset
The array offset where to start copying.