toIndex

fun toIndex(): Int

returns a calculated index from a coordinate.

Return

Int calculated index