getLocalIndex

fun getLocalIndex(index: Int, managed: Boolean = true): Int