toArray

fun toArray(array: MutableList<Double> = mutableListOf(), offset: Int = 0): MutableList<Double>

Returns an array with the SH coefficients, or copies them into the provided array. The coefficients are represented as numbers.

Return

An array with flat SH coefficients.

Parameters

array

The target array.

offset

The array offset where to start copying.