calculateCentroid

fun calculateCentroid(mergeState: MergeState, fieldInfo: FieldInfo, centroid: FloatArray): Int